v2

latestOpenAPI 3.1.02026-08-05298342605.2 KB
Invitations

Create organization invitation

Creates or refreshes a pending organization invitation for an email address and sends the invite email. Returns 502 when the invitation row is persisted but the configured email provider failed to send; the client should surface the error and give the user a retry affordance.

post/v1/invitations

Request body

emailstring email required
rolestring required

Response

Existing invitation refreshed successfully.

invitationIdstring typeid required

Den TypeID with 'inv_' prefix and a 26-character base32 suffix.

emailstring email required
rolestring required
expiresAtstring date-time required
inviteTokenstring required