Skip to main content
POST
Exchange Code or Refresh Token for Tokens

Body

application/x-www-form-urlencoded
grant_type
enum<string>
Available options:
authorization_code
client_id
string
code
string
redirect_uri
string<uri>
code_verifier
string

Response

Successfully exchanged for a new set of tokens.

access_token
string

The JWT used to call protected APIs. See AccessTokenPayload.

refresh_token
string

A long-lived token for obtaining a new access_token.

id_token
string

A JWT containing user profile information (claims).

token_type
string
Example:

"Bearer"

expires_in
integer
Example:

86400