IRIS360 PUBLIC API
  1. Devices
IRIS360 PUBLIC API
  • iris360
    • Timeseries
      • Get Timeseries
    • Entities
      • Paginate Entitites
      • Get entity latest data
    • Auth
      • Get user token
      • Refresh user token
    • Connectors
      • Out
        • Paginate Connectors
        • Update Connector Models
        • Get Connector
    • Devices
      • Paginate Devices
        POST
      • Import file
        POST
      • Send Commands in Bulk
        POST
  1. Devices

Send Commands in Bulk

Developing
POST
/api/public/v1/devices/sendCommandsBulk

Devices pagination request#

This request retrieves all devices that the user has permissions to interact with.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
device_serials
array[string]
required
The serials to which the commands should be sent
{{commands}}
object 
required
The command name as the key, and the value as the value
Example
{
    "device_serials": ["ONE001"],
    "w_ota": true
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/public/v1/devices/sendCommandsBulk' \
--header 'Content-Type: application/json' \
--data-raw '{
    "device_serials": ["ONE001"],
    "w_ota": true
}'

Responses

🟢207OK
application/json
Body
object {0}
Example
[
    {
        "headers": {},
        "original": {
            "data": "Command sent!!"
        },
        "exception": null
    }
]
🟠400Bad Request
Modified at 2025-06-03 09:00:34
Previous
Import file
Built with