Get Datastream Value

get
Get Datastream value

https://{server_address}/external/api/get?token={token}&{pin}
This endpoint allows you to get the stored value of the Datastream by pin type and pin. Example: https://blynk.cloud/external/api/get?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&v1
Request
Response
Request
Path Parameters
pin
required
string
Virtual pin number (should start with "v")
token
required
string
Device auth token
Response
200: OK
Value successfully retrieved.
100.00000
400: Bad Request
Could not find a device token or Wrong pin format
{"error":{"message":"Invalid token."}}
or
{"error":{"message":"Wrong pin format."}}

get
Get Datastream value by Datastream ID

https://{server_address}/external/api/get?token={token}&dataStreamId={id}
This endpoint allows you to get the stored value of the Datastream by id. Example: https://blynk.cloud/external/api/get?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&dataStreamId=1
Request
Response
Request
Path Parameters
dataStreamId
required
integer
Datastream Id
token
required
string
Device auth token
Response
200: OK
Value successfully retrieved.
100.00000
400: Bad Request
Could not find a device token or Typo in dataStreamID or Requested dataStream doesn't exist in the product ESP32 QA
{"error":{"message":"Invalid token."}}
or
{"error":{"message":"Wrong pin format."}}
or
{"error":{"message":"Requested dataStream doesn't exist in the product ESP32 QA"}}