Auth

Authorize

Use **client_id** as username and **client_secret** as password in Basic Auth header.

POST
/tokens

Authorization

basicAuth
AuthorizationBasic <token>

Enter client_id in the Username field and client_secret in the Password field.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/tokens" \  -H "Content-Type: application/json" \  -d '{}'
{  "token_type": "Bearer",  "expires_in": 0,  "access_token": "string",  "refresh_token": "string"}
{  "message": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  }}