Skip to main content
POST
Create User Token

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

user_id
string<uuid>
required

Body

application/json

Request schema for exchanging app credentials for user token.

Both fields are optional - if not provided, admin authentication is required.

app_id
string | null
app_secret
string | null

Response

Successful Response

Token response with optional refresh token.

access_token
string
required
token_type
string
default:bearer
refresh_token
string | null
expires_in
integer | null