API ReferenceOAuth
Exchange authorization code or refresh token for tokens
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/oauth/token" \ -H "Content-Type: application/json" \ -d '{ "grant_type": "authorization_code", "client_id": "string", "client_secret": "string" }'Empty