Add Checklist Item to Task

POST/api/tasks/{id}/checklist

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Task unique ID.
description String Mandatory Checklist item description.
assigned Number optional Optional Staff ID to assign this item to.
list_order Number optional Optional Sort order (defaults to highest + 1).
curl -X POST "https://yoursite.com/api/tasks/123/checklist" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "description": "..." }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Checklist item added successfully",
  "checklist_item_id": 15
}

Error-Response:

HTTP/1.1 400 Bad Request
{
  "status": false,
  "message": "Description is required"
}
MethodPOST
Path/api/tasks/{id}/checklist
GroupTasks
Sincev0.0.0
Defined inmodules/api/controllers/Tasks.php