Authorization

Exchange an approved device code for an organization API key (once)

POST/auth/device/token

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

organization?string

Organization slug (OAuth actors with several orgs); API keys imply theirs.

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/device/token" \  -H "Content-Type: application/json" \  -d '{    "device_code": "string"  }'
{  "api_key": "string",  "organization": "string"}