Platrium Docs

Create App Token

POST
/auth/clients

Manually creates a named app token for scripts and CI. The token is only returned here. Browser session only.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/clients" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "token": "string",  "id": "string",  "device_id": "string",  "expires_at": "2019-08-24T14:15:22Z"}