Accept an invitation
Makes the caller a member with the invitation’s Role. The caller’s verified email must be the invited address (403 otherwise); an unknown, expired, canceled or already accepted invitation answers 410.
POST
/invitations/acceptAuthorization
AuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
Request body
requiredapplication/jsontokenstringrequiredThe secret from the invitation link, {ui_url}/invitations/{token}.
Responses
200
The organization joined.
idstring<uuid>requirednamestringrequiredslugstringrequiredURL-safe handle, unique across organizations.
created_atstring<date-time>requiredupdated_atstring<date-time>requireddefault
The request failed.
errorstringrequiredStable machine-readable code.
Allowed:
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.