Skip to content

Get queued commands to be executed by the physical device.

Request

API to get queued commands for a device

Security
apiKey
Query
device_idstringrequired

Filter status result by device IDs.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v2/command-inbox/?device_id=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

List of Queued Command Status

Bodyapplication/json
codeinteger
messagestring
contentobject(CommandInbox)
Response
{ "code": 0, "message": "string", "content": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "command": "string", "command_args": {}, "device_meta": {}, "state": "Command Queued", "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" } }