Retrieves all tasks based on query parameters. Filters can include responsible user IDs and date range (fromDate/toDate).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
responsibleIds | string[] | Yes | - | Array of user IDs to filter tasks by responsible team members. Can be empty array for all users. |
fromDate | string | Yes | - | Start date for filtering tasks (ISO 8601 format: YYYY-MM-DD) |
toDate | string | Yes | - | End date for filtering tasks (ISO 8601 format: YYYY-MM-DD) |
includeTasksWithoutDates | boolean | No | true | Whether to include tasks that donβt have a due date in the results |
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Unique identifier for the task |
title | string | Task title |
description | string | Detailed description of the task |
due_timezone | string | null | Timezone for the due date (e.g., βAmerica/Santiagoβ) |
due_at | string | null | Due date and time (ISO 8601 format) |
is_all_day | boolean | Whether the task is an all-day task |
created_at | string | Task creation date (ISO 8601 format) |
ai_contact_id | string | null | Associated contact ID if applicable |
ai_customer_id | string | null | Associated customer ID if applicable |
task_status_config_id | string (UUID) | ID of the status configuration |
priority | string | Task priority: βlowβ, βmediumβ, or βhighβ |
creator_id | string (UUID) | ID of the user who created the task |
task_responsibles | array | Array of responsible user objects |
status_config | object | null | Custom status configuration object |
| Field | Type | Description |
|---|---|---|
responsible_id | string (UUID) | ID of the responsible user |
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Status configuration ID |
name | string | Display name for the status |
color | string | Hex color code for the status (e.g., β#60a5faβ) |
type | string | Status type: βinitialβ, βin_progressβ, βdoneβ, or βmaster_doneβ |
order | number | Display order for status (lower numbers appear first) |
includeTasksWithoutDates=true (default)| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid query parameters or date format |
| 401 | Unauthorized - Invalid or missing API key |
| 500 | Internal Server Error - Something went wrong |
responsibleIds, fromDate, and toDate are required query parametersincludeTasksWithoutDates is optional and defaults to trueresponsibleIds is an array and should be passed as responsibleIds[]=uuid1&responsibleIds[]=uuid2. An empty array will return tasks for all team membersfromDate starts at 00:00:00 and toDate ends at 23:59:59 in the server timezonestatus_config) instead of simple βopen/doneβ status. Check the status_config.type field for status informationincludeTasksWithoutDates=true, tasks without due dates are included regardless of the date range filter