Register Child Device

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

This API requires the device to authenticate, see Device Authentication.

For a full overview of how and why you should use child devices, please first go over the Child Devices page in the Quickstart guide.

This is API reference page only.

Request Data

NameTypeRequiredDescription
snstringThe Child device's serial number.
macstringMAC address.
model_idstringYesChild's Device Model ID (from the Partner Portal — Model → Info → Model ID).
firmware_versionstringYesThe current version of the child Device's firmware.
namestring(Optional.) Default friendly name for the Device. Can be changed later in the Customer Portal.
detailsobjectOptional: Object containing internal device details. Can be used to add custom info about the 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.

Notes

  1. Unlike the Register Device API, the uniqueness of the Serial Number is not validated. This exception is added to support Parent Devices which are unable to retrieve a Serial Number from its child devices due to communication protocol/API/etc limitations.
Path Params
string
required

The ID of the parent device

Body Params
string
required
string
required
string
string
string
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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