Create Invitation
POST/workspaces/:workspace_id/invitations
Invite an external user to a workspace by email.
Only a workspace_admin of the target workspace (or a platform admin, for bootstrapping
the first customer admin) may invite. Generates a one-time raw token for the invite link —
only its hash is persisted, so the token field in the response is the sole opportunity to
retrieve it; deliver it to the invitee immediately. Rejected if an active (pending, not yet
expired) invitation already exists for the same email in this workspace.
Request
Responses
- 201
- 403
- 404
- 409
- 422
Successful Response
Forbidden
Not Found
Conflict
Unprocessable Entity