List tasks

Tasks with due date, type, assignee and the record they belong to.

GET https://cotlet.dev/api/v1/copper-crm/tasks

read

Lists tasks, soonest due first. Filter by the record they belong to or by a due-date cutoff. Tasks are visible to every user in the account unless their owner made them private, so you see what your account role lets you see. Follow next_cursor for more.

Parameters

Parameters: list_tasks
NameTypeDescription
related_to_id string string Only tasks on this lead, person, company or opportunity id.
due_before date date Only tasks due on or before this date, YYYY-MM-DD.
limit integer integer How many tasks to return per page.
cursor string string Next page cursor from the previous call.

Request

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

Example response

JSON

{
  "tasks": [
    {
      "task_id": "9061233",
      "name": "Send revised pricing",
      "activity_type": "To-do",
      "due_date": "2026-10-21",
      "assignee": "Sam Ortiz",
      "related_to": {
        "type": "opportunity",
        "id": "31844120",
        "name": "Harbor Dental proposal"
      },
      "status": "open"
    }
  ],
  "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.