GET
/
v1
/
io-worker
/
devices
/
{device_id}
/
notifications
Device Notifications
curl --request GET \
  --url https://api.io.solutions/v1/io-worker/devices/{device_id}/notifications \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2023-08-29 19:06:40",
      "device_id": "c4ba4d4b-8762-4437-b82c-6f78a20a8cb5",
      "id": 1,
      "text": "down for 3 mins"
    }
  ],
  "status": "succeeded"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

device_id
string
required

The unique identifier for your device.

Query Parameters

type
string

Define notification type. The possible values are: all, error, warning, info, success.

Response

200

data
object[]
status
string
Example:

"succeeded"