invites

Accept

The authenticated caller redeems an invite token and gains the membership it grants. 410 invite_invalid if the token is expired, already used, or cancelled; 403 email_mismatch if the invite was addressed to a different email than the caller's verified identity; 403 wallet_mismatch if the invite was addressed to a different wallet; 422 person_required if the caller is a service account (it has no person to attach the membership to).

post/auth/invites/accept

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/invites/accept
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Request body

tokenstring

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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