Skip to content

Generate Token

POST
/v1/auth/token

Authorizations

Request Body

object
client_id

The client ID

string
grant_type

The grant type

string
code

The code

string
redirect_uri

The redirect URI

string
audience

The audience

string

Responses

200

Successful Response

object
access_token
required

The Access Token JWT

string
token_type

The type of token

string
default: Bearer
expires_in
required

The number of seconds the token is valid for

integer
id_token

The User Token JWT

string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string