Skip to main content
POST
/
api
/
auth
/
invitations
/
{invite_id}
/
accept
Accept Invitation
curl --request POST \
  --url https://api.example.com/api/auth/invitations/{invite_id}/accept
{
  "success": true,
  "message": "Invitation accepted",
  "organization_id": "org_abc123"
}
Accept a pending invitation to join an organization.

Request

invite_id
string
required
The unique identifier of the invitation to accept.

Response

success
boolean
Indicates whether the operation was successful.
message
string
A descriptive message about the operation result.
organization_id
string
The unique identifier of the organization joined.
{
  "success": true,
  "message": "Invitation accepted",
  "organization_id": "org_abc123"
}