Skip to content
OpenPostDocs
OpenPostDocs
Auth

Start CLI device authorization

POST/cli/auth/start

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/cli/auth/start" \  -H "Content-Type: application/json" \  -d '{    "client_name": "string",    "client_os": "string",    "client_version": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/StartCLIAuthOutputBody.json",  "device_code": "string",  "expires_in": 0,  "interval": 0,  "user_code": "string",  "verification_url": "string"}