Skip to content

Accept Invitation

POST /invitations/accept
FieldTypeNotes
tokenstringrequiredmin length 16 max length 200
full_namestring | nulloptionalmax length 200
passwordstring | nulloptionalmin length 12 max length 256
StatusDescriptionBody
200Successful ResponseTokenPair
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/invitations/accept \
-H "Content-Type: application/json" \
-d '{
"token": "string"
}'
FieldTypeNotes
access_tokenstringrequired—
refresh_tokenstringrequired—
token_typestringoptionalDefault "bearer".
expires_inintegerrequired—
principalPrincipalViewrequired—