---
title: "Get all tasks"
method: GET
path: "/crm/tasks"
tags: ["Tasks"]
---

# Get all tasks

`GET /crm/tasks`

## Query parameters

- `filter[type]` string
- `filter[status]` 'done' | 'undone'
- `filter[date]` 'overdue' | 'today' | 'tomorrow' | 'week' | 'range'
- `filter[assignTo]` string
- `filter[contacts]` string
- `filter[deals]` string
- `filter[companies]` string
- `dateFrom` integer
- `dateTo` integer
- `offset` integer
- `limit` integer
- `sort` 'asc' | 'desc'
- `sortBy` string

## Response `200`

Returns task list with filters

- TaskList — List of tasks
  - `items` Task[] — List of tasks
    - `id` string — Unique task id
    - `taskTypeId` string, required — Id for type of task e.g Call / Email / Meeting etc.
    - `name` string, required — Name of task
    - `contactsIds` integer[] — Contact ids for contacts linked to this task
    - `dealsIds` string[] — Deal ids for deals a task is linked to
    - `companiesIds` string[] — Companies ids for companies a task is linked to

## Other responses

- `400` — Returned when query params are invalid

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/revisions/2aec3cf66501/schema)
