Add Checklist Item to a Task

POST/api/checklists/items

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
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 }
MethodPOST
Path/api/checklists/items
GroupChecklists
Sincev1.0.0
Defined inRestApi/Controllers/ChecklistsController.php