List tasks

Lists tasks from the Tasks area.

GET https://cotlet.dev/api/v1/peoplehr/tasks

read

Returns title, assignee, the employee the task is about, completion date and status of each task, grouped like the Tasks area: overdue, new, due today, upcoming, completed. Tasks without a completion date are never overdue.

Parameters

Parameters: list_tasks
NameTypeDescription
view string string mine or all. Default mine. all shows every task in the company to an admin, and the tasks you assigned to your team to a manager.
status string string One of overdue, new, due_today, upcoming, completed. Default all of them.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/peoplehr/tasks \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("peoplehr", "list_tasks")
Node.js
const result = await cotlet.call('peoplehr', 'list_tasks');
CLI
cotlet call peoplehr list_tasks

Example response

JSON

{
  "tasks": [
    {
      "task_id": "tsk-3301",
      "title": "Confirm equipment",
      "assignee": "Dana Reyes",
      "about": "Ana Lopez",
      "completion_date": "2026-11-23",
      "status": "New"
    },
    {
      "task_id": "tsk-3188",
      "title": "Collect signed contract",
      "assignee": "Sam Okafor",
      "about": "Jake Ortiz",
      "completion_date": "2026-11-10",
      "status": "Overdue"
    }
  ],
  "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.