API v.1
POST
https://auth.ampersand-it.com/oauth/token
OAuth 2.0
Token
Security

Description

Authentication type : application/x-www-form-urlencoded

Exchanges an authorization code for an access token. This endpoint is used by the client application to obtain access tokens after receiving an authorization code from the authorization endpoint.

Request Body!
Response200 OK
Example Request

Request Body
Required

Parameter Type Required Description
grant_type string
Required
Must be 'authorization_code' for Authorization Code Flow
code string
Required
The authorization code received from the authorization endpoint
redirect_uri string
Required
Must match the redirect_uri used in the authorization request
client_id string
Required
The client identifier
client_secret string
Required
The client secret for authentication
An error has occurred. This application may no longer respond until reloaded. Reload 🗙