assets.dev docs

/agent/token

/api/v1/agent/token - POST

POST/api/v1/agent/token

Request Body

application/json

Device token polling request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/agent/token" \  -H "Content-Type: application/json" \  -d '{    "deviceCode": "stringstringstri"  }'
{  "apiKey": "string",  "tokenType": "bearer",  "docsUrl": "http://example.com",  "skillsUrl": "http://example.com"}
{  "error": "authorization_pending"}