Team
Accept an invitation, create the account and sign in
Accept an invitation, create the account and sign in.
Header Parameters
X-Requested-With*string
CSRF guard: must be quartermaster on every mutation.
Request Body
application/json
Accept an invitation: the invitee's name and new password, with the link token.
Accept an invitation: the invitee's name and new password, with the link token.
token*string
One-time link token from an invitation or reset email.
Match
^[\w-]+$Length
20 <= length <= 200name*string
Display name.
Length
1 <= length <= 120password*string
Password (never returned by the API).
Length
12 <= length <= 200Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/invitations/accept" \ -H "X-Requested-With: quartermaster" \ -H "Content-Type: application/json" \ -d '{ "token": "Zm9yLWRvY3MtZXhhbXBsZS1vbmx5LW5vdC1hLXRva2Vu", "name": "Sam Manager", "password": "a-new-strong-passphrase" }'{ "user": { "id": "string", "email": "string", "name": "string", "role": "OWNER", "organization": { "id": "string", "name": "string", "timezone": "string", "currency": "string" }, "operator": true }}