User APIs/Device Commands
Send Bulk Commands
POST
/user/commands/send-bulkBearer token required
ADMIN | USERContent-Type:
application/jsonRequest Example
JSON
{
"imeis": [
"123456789012345",
"987654321098765"
],
"commandTypeId": 1,
"payload": {
"interval": 30
}
}Code Examples
curl -X POST 'https://<your-domain>:3001/user/commands/send-bulk' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"imeis": [
"123456789012345",
"987654321098765"
],
"commandTypeId": 1,
"payload": {
"interval": 30
}
}'