List tasks
Tasks from Calendar, filtered by lead, responsible user or status.
GET https://cotlet.dev/api/v1/kommo/tasks
read
Returns tasks ordered by deadline, with type, comment, deadline, responsible user and the lead or contact each one is linked to. Follow next_cursor until it is null. Kommo tasks are linked to a lead or a contact, so a task with neither is not returned.
Parameters
| Name | Type | Description |
|---|---|---|
| lead_id integer | integer | Only tasks of this lead. |
| responsible_user_id integer | integer | Only tasks of this user. |
| status string | string | upcoming, overdue or completed. Default upcoming. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/kommo/tasks \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("kommo", "list_tasks") const result = await cotlet.call('kommo', 'list_tasks'); cotlet call kommo list_tasks Example response
{
"tasks": [
{
"task_id": 5530101,
"lead_id": 24518377,
"type": "Follow-up",
"comment": "Ask about the loyalty app scope",
"deadline": "2026-10-19T12:00:00+02:00",
"responsible": {
"user_id": 9102334,
"name": "Anna Berg"
},
"status": "overdue"
}
],
"next_cursor": null
}