List Leads
GET
/public/v1/leads
const url = 'https://api.nuntius.chat/public/v1/leads?limit=50';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.nuntius.chat/public/v1/leads?limit=50' \ --header 'X-API-Key: <X-API-Key>'List the tenant’s leads (SPEC_API_PUBLICA.md §2.1).
Same filter/pagination semantics as the internal GET /leads for the shared filters;
dateFrom/dateTo is public-API-only (backs a third-party CRM’s incremental sync, case 1
of the spec’s “casos de uso reales”).
Permiso necesario: tenant:leads.read
