Auth

Client-credentials token for an app backend

Machine-to-machine token bound to the app owner's pid, carrying the app's clientId. Use `Authorization: Bearer <token>`. `clientSecret` is required when the app has one set.

POST
/auth/token

Machine-to-machine token bound to the app owner's pid, carrying the app's clientId. Use Authorization: Bearer <token>. clientSecret is required when the app has one set.

Request Body

application/json

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/json" \  -d '{    "clientId": "string"  }'
{  "accessToken": "string",  "expiresIn": "string"}