Claim Device

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

The Claim Device API allows claiming an existing device to a tenant in Xyte. The claiming flow depends on the "Authentication Method" of the claimed device, that can be either "Serial Number & MAC Address" or "CloudID" based. As such only SN & MAC or CloudID should be specified.

The space_id field is required, as it is used to determine under which "Customer" the device should be claimed (devices cannot be moved between Customers within a tenant).


Authorization

This endpoint requires Authorization.

Request data

KeyTypeDescriptionRequired
namestringName of the deviceNo
space_idstringID of the space that will claim the deviceYes
macstringMAC address of the device. The serial number and MAC address or the Device Cloud ID is requiredNo
snstringSerial number of the device. The serial number and MAC address or the Device Cloud ID is requiredNo
cloud_idstringCloud ID of the device. The serial number and MAC address or the Device Cloud ID is requiredYes

Request

KeyTypeDescriptionRequired
namestringName of the device.No
space_idstringID of the space that will claim the device.Yes
macstringMAC address of the device. The serial number and MAC address or the Device Cloud ID is required.No
snstringSerial number of the device. The serial number and MAC address or the Device Cloud ID is required.No
cloud_idstringCloud ID of the device. The serial number and MAC address or the Device Cloud ID is required.Yes

Request sample

{
  "space_id": "xxxxx",
  "name": "DSP-X200",
  "mac": "....",
  "sn": "...",
  "cloud_id": "LelJ5pO..."
}

Response

status vs effective_status
status is the device's own reported operational state (online / offline / error).
effective_status is the aggregated health view shown in the Xyte UI. It combines the
raw status with active incidents, connectivity to the integration/proxy, and the
parent device's state. Use effective_status when you want the same health signal
users see in the dashboard; use status when you only care about the device's
self-reported state.

KeySubkeyTypeDescription
idstringUnique identifier of the device. It is a universally unique identifier (UUID).
namestringName of the device.
snstringSerial number of the device.
macstringCloud ID of the device.
cloud_idstringUnique identifier of the device in the cloud.
statusstringDevice's self-reported operational state: online, offline, error.
effective_statusstringAggregated health status shown in the Xyte UI, derived from status, active incidents, and connectivity. One of: ok, warning, error, offline, disconnected, never_seen. null until first computed.
last_seen_atstringTimestamp of the last time the device was seen online in ISO 8601 format (e.g., "2024-07-29T10:18:39.267Z").
detailsobjectAdditional details about the device. This field might be null if no details are available.
modelobjectInformation about the device model.
idstringUnique identifier of the device model. It is a universally unique identifier (UUID).
namestringName of the device model.
sub_modelstringSub-model of the device. This field might be null if no sub-model exists.
betabooleanWhether the device model is in beta.
firmwareobjectFirmware information.
versionstringCurrent firmware version of the device.
spaceobjectInformation about the space that claimed the device.
idintegerUnique identifier of the space where the device is located.
full_pathstringFull path of the space where the device is located. This path represents the hierarchical structure of the space.

Example JSON Response

{
  "id": "1ad4e4e4-99b4-48ed-be81-c4....",
  "name": "DSP-X200",
  "sn": "5pOLfS-YyeE4QlKnA...",
  "mac": null,
  "cloud_id": "LelJ5pOLfS-YyeE4Q...",
  "status": "online",
  "effective_status": "ok",
  "last_seen_at": "2024-07-29T10:18:39.267Z",
  "details": null,
  "model": {
    "id": "799d6127-71b1-45af-8bca-3ad2d...",
    "name": "DSP-X200",
    "sub_model": null,
    "beta": false
  },
  "firmware": {
    "version": "1.0.0"
  },
  "space": {
    "id": "xxxxx",
    "full_path": "Green Energy Corp/United Kingdom/London/Executive Suite"
  }
}
Body Params
string
string
required
string
string
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json