Creates a new task for the authenticated user. The task can be associated with a contact or customer, and assigned to one or more responsible users. Due dates can be specified with optional time and timezone information.
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Task title (minimum 1 character) |
description | string | null | No | Detailed description of the task |
dueDate | ISO 8601 string | null | No | Due date in ISO 8601 format (e.g., β2025-11-26β or β2025-11-26T00:00:00.000Zβ) |
dueTime | HH:mm string | null | No | Due time in 24-hour format (e.g., β14:30β, β09:00β). If omitted, task is marked as all-day |
timezone | IANA timezone | null | No | IANA Time Zone identifier (e.g., βAmerica/Santiagoβ, βEurope/Londonβ, βUTCβ). Required when dueTime is specified |
responsibleIds | string[] (UUID) | Yes | Array of user UUIDs to assign as responsible |
aiContactId | string (UUID) | null | No | Associated contact UUID |
aiCustomerId | string (UUID) | null | No | Associated customer UUID |
priority | β0β | β1β | β2β | Yes | Task priority: β0β (low), β1β (medium), or β2β (high) |
"0" - Low priority task"1" - Medium priority task"2" - High priority task| 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 | number | Task priority: 0 (low), 1 (medium), or 2 (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 |
"228d7a0d-9072-4ca8-939b-959b75cc606a")"0" | "1" | "2")"0" - Low priority"1" - Medium priority"2" - High priorityYYYY-MM-DD or full ISO 8601 datetime (e.g., 2025-11-26T00:00:00.000Z)"2025-10-25", "2025-10-25T14:00:00.000Z"HH:mm"14:30", "09:00", "23:59"is_all_day: true)dueTime is specified)"America/Santiago", "Europe/London", "Asia/Tokyo", "UTC""UTC" if not provided| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid request body or validation failed |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Invalid statusId or responsibleIds |
| 500 | Internal Server Error - Something went wrong |
10, 1, 2 Task created successfully
The response is of type object.