Accept Invitation
Invitations
Accept Invitation
Accept an organization invitation
POST
Accept Invitation
Accepts an invitation using the token from the invite link. The authenticated user must be logged in with the same email address as the invitation. On success, a new membership is created with the role specified in the invitation.Documentation Index
Fetch the complete documentation index at: https://docs.bunship.com/llms.txt
Use this file to discover all available pages before exploring further.
Auth
Requires a valid Bearer token. The authenticated user’s email must match the invitation email.
Path Parameters
Invitation token from the invite URL.
Response
Confirmation message.
The joined organization’s basic details.
Errors
| Status | Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invitation is expired, email mismatch, or organization no longer exists |
401 | AUTHENTICATION_ERROR | Not authenticated — must sign up or log in first |
404 | NOT_FOUND | Invalid or already-used invitation token |
409 | CONFLICT | User is already a member of this organization |

