Use this API to search for devices placed in the same organization in which the specified user is placed.
{
"content": [
{
"id": 165,
"templateId": 353,
"orgId": 577,
"name": "My awesome device",
"token": "etAxiiiYlDv4j7WCeb1pKW2Ck7UGWpgl",
"activatedAt": 1702480139859,
"ownerUserId": 879,
"hardwareInfo": {
"version": "1.0.0",
"fwType": "TMPL0NqfCLjWX",
"blynkVersion": "1.0.0",
"boardType": "ESP8266",
"build": "1",
"templateId": "TMPL0NqfCLjWX"
}
}
],
"totalElements": 1
}
# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/device/by-owner?ownerEmail=email%40example.com
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/device/by-owner?ownerEmail=email%40example.com