The EdgeIQ Developer Hub

Welcome to the EdgeIQ developer hub. You'll find comprehensive guides and documentation to help you start working with EdgeIQ as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    API Reference

Bulk Device Creation

In order to provision a set of devices in bulk, EdgeIQ has a few methods for creating a number of devices in the system at once.

Bulk Create API

The most flexible and programmatic way to create multiple devices is through the API, using the POST /devices/bulk request. You provide what is essentially a device template along with a list of unique device identifiers. See the Devices API documentation for more information.

CSV Upload

It's also possible to define a set of devices to be created using a CSV file. This file can be uploaded via the /devices/csv_bulk_upload endpoint. The endpoint will process 1000 rows at a time, so to upload more, break the devices into multiple files.

1NameDevice name
2Unique IDUnique identifier of device. Please note that unique id is case sensitive, and unique ids for gateway type devices should be all lowercase if using the default auto discovered unique id (MAC address).
3Location[Optional] A string describing the location of the device
4Company IDID of the company account for this device
5DeviceType IDThe ID of the device type for this device
6Heartbeat PeriodHeartbeat period in seconds
7Cellular Number[Optional] Cellular number associated with device
8SMS Command Password[Optional] Password for issuing commands via SMS
9DeviceConfig ID[Optional] ID of configuration to apply to these devices
10Active[Optional] true or false to mark the device active or inactive
11Heartbeat Values[Optional] A comma separated list of values to send along with heartbeat messages. Must be surrounded in quotes, e.g. "disk_size,disk_free"
12Device Integration ID[Optional] ID of a device integration to assign to the device
13Cloud Native Integration ID[Optional] ID of a cloud-native integration to assign to the device
14Parent Device ID[Optional] If the device is a sensor type device, or endpoint, the ID (not unique ID) of the parent device
15Tags[Optional] Semicolon delimited list of tags to apply to this device, e.g. tag 1;tag 2
16Metadata[Optional] Metadata to apply to this device. Semicolon delimited, colon separated key value pairs, e.g. Current Firmware:v1.5;Color:blue
17Delete?[Optional] In order to bulk delete, you may put true in this column. The device will be deleted

For a template, here is an example file to get you started.

See the Device API documentation for more information about the upload endpoint.

Updated 7 months ago

Bulk Device Creation

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.