Get Actions Log

Use this endpoint to retrieve actions performed by users through the Blynk Dashboard, mobile application, Google Home, or Alexa. These actions can include controlling hardware or altering DataStream property values

Get Actions Log

GET https://{server_address}/api/v1/organization/device/logs

Query Parameters

NameTypeDescription

page

0

Page number starting from 0. First page by default.

size

20

Page size. Should be from 1 to 100. 20 by default.

deviceId*

1

Device identifier. Should be a valid integer.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

{
  "content": [
    {
      "triggerUserEmail": "email@example.com",
      "value": 5.0,
      "pin": 1,
      "pinType": "VIRTUAL",
      "isOnline": false,
      "createdAt": 1702483099000
    }
  ],
  "totalElements": 1
}

Request examples:

# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/logs?deviceId=1
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/logs?deviceId=1

Last updated