Acknowledge Commands
Mobile App Integration Guide
Acknowledge Commands
Deletes processed commands from the server queue. Prefer using the ack_ids field in poll for fewer round trips.
When using
poll, pass command IDs in the ack_ids field instead of making a separate ack_commands request �this saves a round trip.
Request Body
| Field | Type | Description | |
|---|---|---|---|
| ids | integer[] | required | Array of command IDs that have been processed. |
Example Request
cURL
curl -X POST "https://api.rcszilla.com/?endpoint=ack_commands" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR-DEVICE-TOKEN" \
-d '{"ids": [88, 89, 90]}'
Response
JSON200 OK
{"success": true, "message": "Commands acknowledged"}