OAuth Token
OAuth Token Exchange
Exchange an authorization code for an access token using the OAuth 2.0 Authorization Code flow.
Endpoint
POST {{baseUrl}}/oauth/token
Request Headers
Request Body
Example Request Body
Responses
✅ 200 OK — Access token generated successfully
Returns an access token and related metadata.
❌ 400 Bad Request — Invalid authorization code
Returned when the provided authorization code is invalid, expired, or already used.
Request
This endpoint expects an object.
code
clientId
redirectUri
clientSecret
grantType
refreshToken
