Accept Invitation
POST /invitations/acceptRequest body — InvitationAccept
Section titled “Request body — InvitationAccept”| Field | Type | Notes | |
|---|---|---|---|
token | string | required | min length 16 max length 200 |
full_name | string | null | optional | max length 200 |
password | string | null | optional | min length 12 max length 256 |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | TokenPair |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”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.
curl -X POST https://your-deployment.example.com/invitations/accept \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'Response — TokenPair
Section titled “Response — TokenPair”| Field | Type | Notes | |
|---|---|---|---|
access_token | string | required | — |
refresh_token | string | required | — |
token_type | string | optional | Default "bearer". |
expires_in | integer | required | — |
principal | PrincipalView | required | — |