Add Checklist Item to a Task
POST/api/checklists/items
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| task_id | Number | Mandatory Task ID, must exist |
| title | String | Mandatory Checklist item title |
| is_checked | Number | optional Optional 0 or 1, defaults to 0 |
| sort | Number | optional Optional sort value, defaults to the next free slot on the task |
curl -X POST "https://yoursite.com/api/checklists/items" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "task_id": "...", "title": "..." }' Success-Response:
HTTP/1.1 201 Created
{ "status": 200, "messages": {"success": "The record has been saved."}, "id": 7 }