Tasks
Retrieve task status, priority, due dates, relationships, and assigned-user summaries.
Permission: משימות (tasks:read)
| Operation | Path |
|---|---|
| List | GET /tasks |
| Retrieve | GET /tasks/{id} |
The list supports common cursor and time filters, search over task title, and status=open|completed|canceled. Results sort by updated_at descending and then ID descending.
const apiKey = process.env.DAILY_API_KEY;
if (!apiKey) throw new Error('DAILY_API_KEY is required');
const response = await fetch('https://api.godaily.co.il/v1/tasks?status=open&limit=100', {
headers: { Authorization: `Bearer ${apiKey}`, Accept: 'application/json' },
});
const body = await response.json();
if (!response.ok) throw new Error(`Daily API ${response.status} (${body.request_id})`);
console.log(body.data);{
"id": "9139e779-dd20-4418-b67a-20975607ce40",
"object": "task",
"title": "Confirm workshop schedule",
"description": null,
"status": "open",
"priority": "high",
"due_date": "2026-07-25",
"due_at": "2026-07-25T07:00:00.000Z",
"customer_id": "44f34dad-a427-4c65-ae26-b0a43f8f65f7",
"document_id": "813d0b3f-ab6c-43d4-9173-8f224566ba2f",
"lead_id": "20c85f5f-d823-411f-bbf7-f5b76ea77235",
"assigned_user": { "id": "913f5ab6-9525-483c-9aa1-73d561b8bfa8", "display_name": "Maya Cohen" },
"created_at": "2026-07-20T10:10:00.000Z",
"updated_at": "2026-07-21T08:30:00.000Z"
}Priority derives from the task's starred state. Relationship IDs, due values, and assigned user can be null. status=unknown may appear in a response when legacy stored text does not map to one of the three filterable statuses; it is not accepted as a filter.
API playground
Your key stays only in this React page’s memory and is sent directly to Daily API. It is not persisted, placed in a URL, logged, or sent to analytics. Refreshing or closing this page clears it.
https://api.godaily.co.il/v1/tasksFull lifecycle
tasks:write allows POST /tasks, PATCH /tasks/{id}, and DELETE /tasks/{id}. GET /tasks/{id}/details includes all task details and relationships.
CreateTaskDto and UpdateTaskDto include description, notes, due dates, lead action type, display creator, tag, status, star flag, customer, lead, linked documents, and assigned agent. Write status is פתוח, בוצע, or מבוטל. The system checks that all relationships belong to the key's business; changing a task linked to a lead also updates its follow-up. Deletion is soft.

