Create invite
Sends an email invitation to the specified address and creates a pending invite record.UUID of the tenant to invite the user to.
Email address of the person to invite.
Role to assign when the invite is accepted. One of
USER, ADMIN, OWNER. Defaults to USER.Invitations expire after a set period. If a user hasn’t accepted by the expiry date, you’ll need to create a new invite.
InviteResponse
UUID of the invite.
UUID of the tenant.
Email address the invite was sent to.
Role the user will receive on acceptance. One of
USER, ADMIN, OWNER.The URL included in the invitation email. You can share this directly if needed.
ISO 8601 timestamp when the invite expires.
ISO 8601 timestamp when the invite was accepted.
null if still pending.ISO 8601 timestamp when the invite was created.
ISO 8601 timestamp of the last status change.
List invites
Returns all invites for the current tenant.Page number (1-indexed).
Number of results per page.
PaginatedResponse[InviteResponse]
InviteStatus values
| Value | Description |
|---|---|
pending | The invite has been sent but not yet accepted. |
accepted | The user accepted the invite and joined the tenant. |
expired | The invite passed its expiry date without being accepted. |
Accept invite
Accepts a pending invite, adding the authenticated user to the tenant with the role specified in the invite.UUID of the invite to accept.
The authenticated user must be the same person the invite was sent to. You cannot accept an invite on behalf of another user.
AcceptInviteResponse
UUID of the tenant the user has now joined.
The role assigned to the user. One of
USER, ADMIN, OWNER.Delete invite
Revokes a pending invite. The invite link in the email immediately becomes invalid.UUID of the invite to revoke.