accounts

Accept an invitation link.

GET — validate the token without consuming it. Returns org info so the frontend can render a "Set Password" page. POST — set the user's password, activate the account, accept the invite, and return JWT tokens for auto-login.

post/accounts/accept-invitation/{uidb64}/{token}/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/accounts/accept-invitation/{uidb64}/{token}/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

new_passwordstring required
repeat_passwordstring required

Response

OK

accessstring
refreshstring
requires_two_factorboolean
challenge_tokenstring uuid
methodsstring[]
requires_org_setupboolean
messagestring
new_orgboolean
org_namestring
is_first_loginboolean
recovery_codes_warningstring

Changes

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