Note: The combined length of the event code and description must not exceed 1024 symbols
{
"error": {
"message": "Device with identifier 1 is not found or belong to another organization."
}
}
{
"error": {
"message": "Event with provided code is not found."
}
}
# curl command example:
$ curl -X POST -H "Content-Type: application/json" \
-H "Authorization: Bearer {accessToken}" \
-d '{"deviceId":1,"eventCode":"high_temp"}' \
https://fra1.blynk.cloud/api/v1/organization/device/trigger-event
$ curl -X POST -H "Content-Type: application/json" \
-H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" \
-d '{"deviceId":1,"eventCode":"high_temp"}' \
https://fra1.blynk.cloud/api/v1/organization/device/trigger-event