Get access token
Authorization
usernamePassword Authorization requests (oauth)
In: header
Request Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/auth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d ''{ "access_token": "string", "token_type": "string", "expires_in": 0, "refresh_token": "string"}{ "code": "string", "message": "string", "details": {}}{ "code": "string", "message": "string", "details": {}}