Get Device Metadata Value

You can get the value of any single-value (text, number, email, hostspot, device name, list, int, imei, image, iccid, device owner email) device meta field using it exact name (case sensitive).

loc.latlon is special hardcoded internal meta field to get device location "lat lon".

Get Device Metafield Value

GET https://{server_address}/external/api/device/meta?token={token}&metaFieldId={metaFieldId}

This endpoint allows you to get the device metaField value by its id. Example: https://blynk.cloud/external/api/device/meta?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&metaFieldId=1

Path Parameters

Name
Type
Description

metaFieldId

string

MetaField id.

token

string

Device auth token

{"type":"Text","value":"device value"}

You can get the Device auth token in Device info.

Last updated

Revision created

GITBOOK-1318: change request with no subject merged in GitBook