Register Device

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

For an overview of this process, please first go over the Registration page in the Quickstart guide, and the Authentication Overview section.

Request Data

NameTypeRequiredDescription
macstringSee descriptionMAC address (optional unless authentication method is MAC&SN). Required for mac&sn authentication method
snstringYesSerial number - Has to be unique for devices from the same model
cloud_idStringSee descriptionGUID for the device prepended with a short code assigned to each manufacturer. More details here. Required for cloud_id authentication method
firmware_versionstringYesThe current version of the firmware on the device. served as the base version for the device.
hardware_keystringYesUnique key for each batch of manufactured devices.for each model.
namestringDefault friendly name for the device (can be changed later in the UI of the organization)
detailsobjectObject containing any custom internal device details.
sub_modelstringSub-model name for differentiating similar devices. More details here.
parent_iduuidUUID of a registered parent device for Application Devices.
host_addressstringIP/Hostname of the device.

Request Sample

{
    "hardware_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
    "cloud_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx",
    "mac": "11:22:33:44:55:66",
    "sn": "112",
    "firmware_version": "1.0.1",
    "name": "test device"
}

Return Data

NameTypeDescription
idstringUnique ID for this device. Must be saved and used for all future API access
access_keystringUnique access key for this device. Must be saved and used for all future API access
hub_urlstringURL of the hub server assigned to this device.
hub_url_static_certstringURL of the hub server assigned to this device that supports custom SSL certificates
mqtt_hub_urlstringFor MQTT based devices.
Body Params
string

MAC address of the device

string
required

Unique device serial number

string

Unique device identifier (must specify this or mac)

string
required
Defaults to 1.0.0

Semver based firmware version

string
required

Key defined in the model's hardware key section

string

Display name for the end-user

string

Additional model details text

string

UUID of the parent device

Responses

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