Exchange for Access Token
Exchanges an authorization code or client credentials for a bearer access token. Parameters must be passed as query parameters in the URL.
Use grant_type=authorization_code along with the code and redirect_uri from the Authorization Code flow.
Use grant_type=client_credentials for server-to-server integrations (no user redirect required).
Request
- Base URL: https://api.pre.transactiondesk.com
- URL: https://api.pre.transactiondesk.com/oauth/token
- Auth: none required
Query parameters
The OAuth 2.0 grant type
Client ID provided by Lonewolf
Client Secret provided by Lonewolf
Authorization code received in the redirect (authorization_code flow only). One-time use, expires in 10 minutes.
Redirect URI registered with Lonewolf (authorization_code flow only). Must match the URI used in the authorization request.
Response
Access token issued successfully
Example response
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"token_type": "bearer"
}Changes
No recorded changes to this operation across all 1 revision of this API.