Get Recently Activated Devices

Get Recently Activated Devices

GET https://{server_address}/api/v1/organization/device/last-activated

Fetch devices activated within the last N minutes, excluding devices from sub-organizations.

Query Parameters

NameTypeDescription

orgId

1

Identifier organization, that hold devices.

minutes

5

5 minutes is used by default. Should be a valid integer from 1 to 60.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

{
   "id": 1,
   "templateId": 353,
   "orgId": 578,
   "ownerUserId": 879,
   "activationTime": 1702480430139
}

Request examples:

# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/last-activated
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/last-activated

Last updated