v2

latestOpenAPI 3.0.02026-08-0688139156.5 KB
Agents

Create an agent for an auto-pair installation

post/v1/agent

Request body

device_idstring required

ID of a device

display_namestring required

Customizable display name

Example request

{
  "device_id": "d_0123456789ab",
  "display_name": "My First Device"
}

Response

Created

agent_idstring required

ID of an agent

display_namestring required

Customizable display name

pair_codestring required

Short code used to identify an unpaired agent

Example response

{
  "agent_id": "a_0123456789ab",
  "display_name": "My First Device",
  "pair_code": "ABC123"
}