List tasks
GET /tasks
/tasksLists CRM tasks with their status, due date, person responsible and the contacts, companies and opportunities they are linked to. With no filters it returns the open tasks assigned to the user who owns the token, the most urgent first (overdue ones on top).
When to use: To answer what is pending: the user's own tasks, overdue tasks, tasks due today or this week, the tasks of a teammate, unassigned tasks, or everything open on one contact, company or opportunity.
When not to use: To read one task whose UUID you know, use get_task. To read the notes of a record, use list_notes. To find a valid person to assign a task to, use list_task_assignees. There is no text search on tasks: narrow by person, record, date, priority or type and read title.
Filters: All filters are optional and combine with AND.
assignee:me(the user who owns the token),unassigned,all, or the email of an active user of the account. Default:me, orallwhen you filter bycontact,companyoropportunity.include_completed:false(default) returns only open tasks;truereturns open and completed tasks. There is no filter for completed tasks only: readstatus.priority,type: exact value.due_from(inclusive) anddue_to(exclusive): bounds ofdue_at, ISO 8601 with a time zone. Tasks without a due date are left out when either one is sent.contact,company,opportunity: only tasks linked to that record, by its UUID. Send one at most. A UUID that does not exist, or that the user cannot see, gives404. Overdue tasks: senddue_toset to the current instant and leaveinclude_completedout. Tasks due on a given day:due_fromat the start of the day anddue_toat the start of the next, in the user time zone. Sorting:sort=due(default) puts overdue tasks first, then open tasks by due date, then open tasks without due date, then completed ones (most recently completed first);priorityorders fromhightononeand then by due date;titleis alphabetical, ignoring case. There is no sort direction. Pagination: tasks are paged withitemsPerPage(default 30, maximum 50) and an opaquecursor[gt]: to read the next page, call again with the same filters and thecursor[gt]of thehydra:nextlink of the previous response. The total number of tasks is not returned. Keep followinghydra:nextuntil a page comes back empty.hydra:previoustakes you back: it carries thecursor[lt]of the first task of the page and returns the page just before it; use it the same way, with the same filters.
Permissions: Requires a CRM seat and the crm.tasks_notes.read capability. A task linked to contacts or companies is only visible to users who also have crm.contacts_companies.read, and a task linked to an opportunity only to users who can see its pipeline; a task the user cannot fully see is treated as if it did not exist.
Value for the X-Auth-Token header parameter.
In: header
Query Parameters
Tasks per page. Default 30, maximum 50.
1 <= value <= 5030Opaque cursor of the next page, taken from the hydra:next link of the previous response. Use it only with the same filters.
Opaque cursor of the previous page, taken from the hydra:previous link of the response. Use it only with the same filters. Do not send it together with cursor[gt].
Whose tasks: me, unassigned, all or the email of an active user of the account.
true to include completed tasks. Default false: only open tasks.
Only tasks with this priority.
Value in
- "none"
- "low"
- "normal"
- "high"
Only tasks of this type.
Value in
- "general"
- "call"
- "email"
Inclusive lower bound of the due date, ISO 8601 with time zone. Tasks without due date are left out.
date-timeExclusive upper bound of the due date, ISO 8601 with time zone. Set to the current instant to get the overdue tasks.
date-timeUUID of a contact: only the tasks linked to it. Cannot be combined with company or opportunity.
uuidUUID of a company: only the tasks linked to it. Cannot be combined with contact or opportunity.
uuidUUID of an opportunity: only the tasks linked to it. Cannot be combined with contact or company.
uuidOrder of the list.
"due"Value in
- "due"
- "priority"
- "title"
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/tasks?itemsPerPage=30&cursor%5Bgt%5D=eyJ2IjoxLCJzIjoiZHVlIn0&cursor%5Blt%5D=eyJ2IjoxLCJzIjoiZHVlIn0&assignee=me&include_completed=false&priority=high&type=call&due_from=2026-11-01T00%3A00%3A00%2B01%3A00&due_to=2026-11-08T00%3A00%3A00%2B01%3A00&contact=3a9e1f52-6c47-4d08-b1a3-9e2d7c5f8a40&company=7f3c2a10-5b8e-4d1a-9c2e-3a6f0b9d4e21&opportunity=5d8a3c16-9e2b-4f70-a1c4-6b0e7d3f2a95&sort=due" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "title": "string", "description_html": "string", "status": "open", "priority": "none", "type": "general", "assignee": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "name": "string", "email": "user@example.com" }, "due_at": "2019-08-24T14:15:22Z", "overdue": true, "reminder_offset_minutes": 0, "reminder_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "completed_by": { "kind": "user", "name": "string" }, "created_by": { "kind": "user", "name": "string" }, "initiated_via": "ui", "contacts": [ { "iri": "/entity/1", "label": "string", "secondary": "string" } ], "companies": [ { "iri": "/entity/1", "label": "string", "secondary": "string" } ], "opportunities": [ { "iri": "/entity/1", "label": "string", "secondary": "string" } ], "version": 0, "can_edit": true, "can_delete": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]