Invite a person by e-mail
Sends an invitation e-mail with a link valid for 48 hours. The person sets their own name and password when accepting, and lands in the workspace with exactly the roles and scopes named here — so at least one role or scope is required. The response carries invitation_url for clients that want to hand the link over themselves — treat it as a credential. Inviting an e-mail that already has a pending invitation replaces it with a fresh one.
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Body
"jane@acme.com"
Workspace role keys or uuids (see GET /api/v1/workspace/roles).
Extra scope keys on top of the roles (see GET /api/v1/workspace/scopes).
Invitation e-mail subject. Defaults to the workspace's standard subject.
"You are invited to Acme"
Invitation e-mail body. Defaults to the workspace's standard message.
"Join our support team on mihu."
Which member the invitation is sent on behalf of. Defaults to the workspace owner.
"owner@acme.com"