Bind a new device

Binds a new device to the company account.

Returns the deviceid identification token for the new binded device. This deviceid token must be stored in the device in order to later authenticate and communicate with the cloud.

Binds a new device to the company account and returns the deviceid.

POST https://api.runonrufus.com/v0/devices

Headers

NameTypeDescription

api_key*

String

Account api key with WRITE or READ_WRITE access type.

Request Body

NameTypeDescription

type*

String

Device type.

model*

String

Device model.

serial_number*

String

Device serial number.

alias

String

Device name or alias.

firmware

String

Device firmware version.

{
    "description":"Device binded succesfully"
    "deviceid":"65A1B7E0C6BC3D32C268C1506E3F6F39E225DC6ED79573E177E7243E8E38115B"
}
curl -X POST \
-H "Content-Type: application/json" \
-H "api_key: ror-ae4fc6c19681a20fad30" \
-d '{"type": "My custom device", "model": "Model X1", "serial_number":"DEVICE-123"}' \
https://api.runonrufus.com/v0/devices

Last updated