Skip to main content
POST

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

application/json
email
string<email>
required
Example:

"jane@acme.com"

roles
string[]

Workspace role keys or uuids (see GET /api/v1/workspace/roles).

Example:
scopes
string[]

Extra scope keys on top of the roles (see GET /api/v1/workspace/scopes).

Example:
subject
string

Invitation e-mail subject. Defaults to the workspace's standard subject.

Example:

"You are invited to Acme"

message
string

Invitation e-mail body. Defaults to the workspace's standard message.

Example:

"Join our support team on mihu."

invited_by
string<email>

Which member the invitation is sent on behalf of. Defaults to the workspace owner.

Example:

"owner@acme.com"

Response

Invitation sent

success
boolean
Example:

true

message
string
Example:

"Invitation sent"

data
object