Skip to main content

Devices API

Manage device pairing for your agent. Devices start in a pending state and can be approved, denied, or revoked.

List devices

Returns all pending and approved devices grouped by status.

Response

Device object

Manage a device

Approve, deny, or revoke a device. The action must be valid for the device’s current status:
  • approve — only valid when the device is pending
  • deny — only valid when the device is pending
  • revoke — only valid when the device is approved

Request body

Response

Errors

Example: approve a device

Example: revoke a device