Execute Action from Cloud

post
Execute a Device Action

https://api.iotflows.com/v1/actions/:action_uuid
Execute a device action. Body of the HTTP request will be sent in string format to the device. Once the device sends back the confirmation message, this http request will return a success (200) message back.
Request
Response
Request
Headers
Authorization
required
string
Basic base64-encoded string of client_id:password
Response
200: OK
successful operation

get
Read Last Status of a Device Action

https://api.iotflows.com/v1/actions/:action_uuid
Request
Response
Request
Path Parameters
required
string
Basic base64-encoded string of client_id:password
Response
200: OK
{
"action_last_confirmed_status": "string",
"action_last_confirmed_status_timestamp": "string"
}

‚Äč