Skip to main content
POST
/
auth
/
onboarding
/
finalize
Finalize Onboarding
curl --request POST \
  --url http://localhost:8000/auth/onboarding/finalize \
  --header 'Content-Type: application/json' \
  --data '
{
  "onboarding_ticket": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_in": 123,
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "<string>",
  "token_type": "bearer",
  "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json
onboarding_ticket
string
required

Short-lived onboarding ticket

Response

Successful Response

access_token
string
required

JWT access token

expires_in
integer
required

Token expiration time in seconds

user_id
string<uuid>
required

User's unique identifier

role
string
required

User's role in the tenant

token_type
string
default:bearer

Token type

tenant_id
string<uuid> | null

Active tenant ID