Alternative Available (recommended): For broader multi-OS support and enhanced command visibility, use the stable command request API: https://api.esper.io/openapi/command-request/listcommandrequests
Returns a paginated list of command requests within the enterprise. Each record includes the command type, targeted devices or groups, schedule details, arguments, and current status.
This endpoint provides visibility into commands that have been issued, whether they are queued, in progress, successful, or failed.
Security
esper_cloud_api_apiKey
- Mock serverhttps://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/command/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/command/
curl -i -X GET \
'https://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/command/?command_type=string&devices=string&device_type=string&command=string&issued_by=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "count": 0, "next": "string", "previous": "string", "results": [ { … } ] }