Update Virtual Datastream Value

get
Update Datastream value by Virtual Pin

https://blynk.cloud/external/api/update?token={token}&pin={pin}&value={value}
This endpoint allows you to update the value or the Virtual Pin Example: https://blynk.cloud/external/api/update?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&pin=v23&value=3.14
Request
Response
Request
Path Parameters
value
required
string
the value will be parsed as the Datastream data type (int, double, string)
pin
required
string
virtual pin number (should start with "v")
token
required
string
device auth token
Response
200: OK
Success
400: Bad Request
Could not find a device token
{"error":{"message":"Invalid token."}}

get
Update value by Datastream ID

https://blynk.cloud/external/api/update?token={token}&dataStreamId={id}&value={value}
This endpoint allows you to update the value or the Datastream Example: https://blynk.cloud/external/api/update?token=Rps15JICmtRVbFyS_95houlLbm6xIQ2L&dataStreamId=1&value=3.14
Request
Response
Request
Path Parameters
value
required
string
the value will be parsed as the Datastream data type (int, double, string)
dataStreamId
required
integer
Datastream Id
token
required
string
device auth token
Response
200: OK
Success
400: Bad Request
Could not find a device token
{"error":{"message":"Invalid token."}}