Skip to content
dimmiDocs

Workspace and team

Invite people

POST/api/v1/invitations

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the members:write ability

Body

application/json
invitationsobject[] | nullrequired

A list of {email, role, custom_role_id, team_ids}. role is admin or member; owners are never invited. team_ids (team_..., 50 at most) are joined on accepting.

Minimum items: 1 · Maximum items: 50

Show child attributes
custom_role_idstring

Id of the custom role the person starts with, starting with rol_, such as rol_01jx2m8k4t. Find it with GET /roles. Its base role then takes the place of role.

emailstringrequired

The email address the invitation is sent to, such as lee@example.com.

rolestringrequired

The role the person joins with: admin or member, such as "member". Owners are never invited.

Available options:adminmember

team_idsstring[] | null

Ids of the teams the person joins on accepting, as a list of up to 50, such as ["team_01jx2m8k4t"]. Find them with GET /teams.

Maximum items: 50

Response 200

OK
dataobject[] | nullrequired

The items, as a list; empty when there are none.

Show child attributes
emailstringrequired

The email address as it was given in the batch.

errorobject
Show child attributes
codestringrequired

Short error code saying why this address or row was refused.

messagestringrequired

Why this address or row was refused, in words.

invitationobjectrequired
Show child attributes
accept_urlstring | nullrequired

The link the invited person opens to join, to pass on by hand. Set only in the answer that issued or resent the invitation; null otherwise.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

emailstringrequired

The email address invited.

expires_atstringrequired

When the invitation stops working.

Format: date-time

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

invited_byobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

Name of the teammate who sent the invitation.

last_sent_atstringrequired

When the invitation email last went out.

Format: date-time

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

rolestringrequired

The role the person gets on joining: admin or member.

send_countintegerrequired

How many times the invitation has been sent.

Format: int32 · Minimum: -32768 · Maximum: 32767

statusstringrequired

Where the invitation stands: pending, accepted, revoked or expired.

team_idsstring[] | nullrequired

Ids of the teams the person joins on accepting, each starting with team_; empty when none.

resultstringrequired

What became of this address: created, resent, already_member, reactivation or invalid.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.