Get Device MetaField Value

get
Get Device Metafield Value

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
Request
Response
Request
Path Parameters
metaFieldId
required
string
MetaField id.
token
required
string
Device auth token
Response
200: OK
Value successfully retrieved.
{"type":"Text","value":"device value"}
400: Bad Request
Could not find a device token or Wrong metaField format or Could not find metaField id
{"error":{"message":"Invalid token."}}
or
{"error":{"message":"Wrong metaField format."}}
or
{"error":{"message":"MetaField doesn't exist."}}