Skip to main content
POST
This same endpoint supports refreshing an access token using the client_id, client_secret, and refresh_token, with grant_type set to refresh_token.

Parameters

string
required
authorization_code is the required value
string
required
OAuth Client ID
string
required
OAuth Client Secret
string
required
The authorization code received from Thanx via redirect or API
string
required
The same redirect_uri should be used as in the request for the authorization code

Response

string
The type of token, usually “Bearer”
string
This will be ‘passwordless’
integer
The number of seconds since the epoch
string
The user’s access token, for use in accessing other API endpoints
string
If needed, a refresh token to get another access token