Skip to main content
POST
Invite people to a workspace

Authorizations

Authorization
string
header
required

Use a public API key with the endpoint's required scope.

Headers

Idempotency-Key
string

Any unique value, up to 255 characters. A retry with the same key within 24 hours returns the first answer, with Idempotent-Replayed: true, instead of doing the work again.

Maximum string length: 255

Path Parameters

workspaceId
string<uuid>
required

Workspace ID.

Body

application/json
invites
object[]
required

The people to invite. An email listed twice is invited once.

Required array length: 1 - 100 elements
additional_workspace_ids
string<uuid>[]

Other workspaces to add the people to. Each must be one the API key can access, otherwise 404. A person who already belongs to the company joins them at once with the requested role. A new person joins them as a member when they accept, as in the app; role applies to the workspace in the path.

Maximum array length: 50

Response

The invitations were sent and existing members were added.

data
object
required