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

Parameters: list_tasks
NameTypeDescription
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
curl https://cotlet.dev/api/v1/aroflo/tasks \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("aroflo", "list_tasks")
Node.js
const result = await cotlet.call('aroflo', 'list_tasks');
CLI
cotlet call aroflo list_tasks

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.