cURL
curl --request POST \ --url https://app.dosfinds.co.uk/oauth/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data grant_type=authorization_code \ --data 'code=<string>' \ --data 'redirect_uri=<string>' \ --data 'client_id=<string>' \ --data 'client_secret=<string>' \ --data 'refresh_token=<string>' \ --data 'scope=<string>'
{ "access_token": "abc123", "token_type": "Bearer", "expires_in": 7200, "created_at": 1618884471, "refresh_token": "def456" }
authorization_code
refresh_token
client_credentials
Authorization code (for authorization_code flow)
Must match the one used in authorize
Refresh token (for refresh_token flow)
Requested scopes (optional)
Access token response
"abc123"
"Bearer"
7200
1618884471
"def456"