authed

Accept Invitation

Redeem an invite token for an active membership with the invited role. The caller may have signed up moments ago via OTP — handle_new_user minted only their profile; this endpoint is the explicit app-layer activation. The email binding comes before any lifecycle detail: a forwarded link must not tell the wrong account whether the invitation is live, and must never bind it.

post/api/v1/invitations/accept

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/invitations/accept
  • Auth
    none declared

Request body

tokenstring required

Response

Successful Response

organization_idstring uuid required
organization_namestring required
role'owner' | 'member' required

Changes

No recorded changes to this operation across all 1 revision of this API.