Endpoint
read:tasks — disponível nos planos Growth e Scale
Parâmetros de query
| Parâmetro | Tipo | Descrição |
|---|---|---|
limit | integer | Itens por página. Padrão: 25. Máximo: 100 |
cursor | string | Token de paginação |
status | string | pending, overdue, completed |
type | string | call, meeting, task, deadline, email, lunch, visit, message |
priority | string | low, medium, high, urgent |
assigned_to | string | ID do responsável |
deal_id | string | ID do negócio vinculado |
contact_id | string | ID do contato vinculado |
due_before | string | ISO 8601 |
due_after | string | ISO 8601 |
Exemplo de requisição
Exemplo de resposta
Objeto tarefa
| Campo | Tipo | Descrição |
|---|---|---|
id | string | ID da tarefa |
title | string | Título |
description | string|null | Descrição |
type | string | call, meeting, task, deadline, email, lunch, visit, message |
priority | string | low, medium, high, urgent |
status | string | pending, overdue, completed |
assigned_to | object|null | Responsável {id, name} |
deal | object|null | Negócio vinculado {id, title} |
contact | object|null | Contato vinculado {id, name} |
company | object|null | Empresa vinculada {id, name} |
due_date | string|null | Data limite |
completed_at | string|null | Data de conclusão |
created_at | string | Timestamp de criação |
updated_at | string | Timestamp de atualização |
Regras de status
| Status | Condição |
|---|---|
completed | isCompleted = true |
overdue | isCompleted = false e dueDate < agora |
pending | isCompleted = false e dueDate >= agora |

