Computers
Register a computer
Called by the desktop daemon: exchanges a one-time registration token for an API key bound to one new Computer in the token’s organization, and names the Computer channel URL to dial with it. The key authenticates only the Computer channel. An unknown, spent or expired token is refused with 401.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/computers/register" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "name": "string", "os": "macos", "osVersion": "string", "session": "aqua", "desktopDaemonVersion": "string", "driverVersion": "string" }'{ "computerId": "string", "orgId": "string", "apiKeyId": "string", "apiKey": "string", "displayTail": "string", "channelUrl": "string"}