assets.dev docs

/agent/register

/api/v1/agent/register - POST

POST/api/v1/agent/register

Request Body

application/json

Client registration request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/agent/register" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{  "deviceCode": "string",  "userCode": "string",  "verificationUri": "http://example.com",  "interval": 1,  "expiresIn": 1}