Send Invitation
Invitations
Send Invitation
Invite a user to join the organization
POST
Send Invitation
Sends an email invitation to join the organization with a specified role. The invitation expires after 7 days. Cannot send an invitation if the user is already a member or has a pending invitation. Requires theDocumentation Index
Fetch the complete documentation index at: https://docs.bunship.com/llms.txt
Use this file to discover all available pages before exploring further.
invitations:create permission.
Auth
Requires a valid Bearer token with
invitations:create permission.Path Parameters
Organization identifier.
Request Body
Email address to invite. Must be a valid email format.
Role to assign when the invitation is accepted. One of
"admin", "member", or "viewer".Response
The created invitation object with
id, organizationId, email, role, invitedBy,
expiresAt, createdAt, and status.URL for the invitee to accept the invitation.
Errors
| Status | Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invalid email address |
401 | AUTHENTICATION_ERROR | Missing or invalid Bearer token |
403 | AUTHORIZATION_ERROR | Insufficient permissions (invitations:create required) |
404 | NOT_FOUND | Organization not found |
409 | CONFLICT | User is already a member, or a pending invitation already exists for this email |

