Resources
Leads
Retrieve sales leads, public statuses, source, owner summary, and conversion relationship.
Permission: לידים (leads:read)
| Operation | Path |
|---|---|
| List | GET /leads |
| Retrieve | GET /leads/{id} |
The list supports common cursor and time filters, search over name, contact name, email, and phone, and these statuses: new, contacted, in_progress, proposal, negotiation, won, lost. Sort order is updated_at descending, then ID descending.
const apiKey = process.env.DAILY_API_KEY;
if (!apiKey) throw new Error('DAILY_API_KEY is required');
const url = new URL('https://api.godaily.co.il/v1/leads');
url.searchParams.set('status', 'proposal');
url.searchParams.set('updated_after', '2026-07-01T00:00:00.000Z');
const response = await fetch(url, { 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": "20c85f5f-d823-411f-bbf7-f5b76ea77235",
"object": "lead",
"name": "Nova Hospitality",
"contact_name": "Eitan Bar",
"email": "eitan@nova-hospitality.test",
"phone": "+972-54-555-0174",
"address": "Herzliya",
"source": "website",
"status": "proposal",
"owner": { "id": "913f5ab6-9525-483c-9aa1-73d561b8bfa8", "display_name": "Maya Cohen" },
"converted_customer_id": null,
"created_at": "2026-07-08T07:45:00.000Z",
"updated_at": "2026-07-20T10:05:00.000Z"
}Contact fields, source, owner, and converted customer can be null. The owner is returned only when the assigned sales agent belongs to the authenticated business.
Direct browser request
Memory onlyAPI 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.
GET
https://api.godaily.co.il/v1/leads
