List tasks
List tasks from the Open or Closed task list, with filters.
GET https://cotlet.dev/api/v1/aroflo/tasks
read
Returns one page of tasks with task_id, job number, name, client, location, status, substatus, priority, due date and the person it is assigned to. The order is the one the AroFlo list shows. Substatuses are specific to each business, so the value is whatever your site administrator set up. Follow next_cursor until it is null.
Parameters
| Name | Type | Description |
|---|---|---|
| view string | string | Open or Closed, as under Workflow > Tasks. Defaults to Open. |
| status string | string | Not Started, In Progress, Pending or Completed. |
| client string | string | Client name to filter by. |
| search string | string | Text to search for in the task list. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/aroflo/tasks \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("aroflo", "list_tasks") const result = await cotlet.call('aroflo', 'list_tasks'); cotlet call aroflo list_tasks Example response
{
"tasks": [
{
"task_id": "task_8790",
"job_number": "J1170",
"name": "Replace compressor contactor",
"client": "Harbour Café",
"location": "12 Wharf Road",
"status": "Completed",
"substatus": null,
"priority": "Normal",
"due_date": "2026-10-20",
"assigned_to": "Dana Pike"
},
{
"task_id": "task_8793",
"job_number": "J1174",
"name": "Annual fire panel service",
"client": "Northside Strata",
"location": "4 Elm Court",
"status": "Completed",
"substatus": null,
"priority": "Normal",
"due_date": "2026-10-21",
"assigned_to": "Dana Pike"
}
],
"next_cursor": null
}