List contacts by filters
const url = 'https://api-agent.manoflow.com/v2/clients/4e2a8c3d-1b9f-4e6a-8c7d-9f0a1b2c3d4e/contacts?lead_score%5Bgt%5D=2&reachout_step%5Blt%5D=4&last_conversation_at%5Bgte%5D=2026-09-01&limit=100&cursor=';const options = {method: 'GET', headers: {'x-kyto-key': '<x-kyto-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-agent.manoflow.com/v2/clients/4e2a8c3d-1b9f-4e6a-8c7d-9f0a1b2c3d4e/contacts?lead_score%5Bgt%5D=2&reachout_step%5Blt%5D=4&last_conversation_at%5Bgte%5D=2026-09-01&limit=100&cursor=' \ --header 'x-kyto-key: <x-kyto-key>'Every filter is ANDed; the contacts come ordered by id, limit (1-1000, default 100) at a time, and next_cursor (opaque, null at the end) goes back as cursor for the next page. A filter is a field, optionally with an operator: lead_score[gt]=2, reachout_step[lt]=4, language=es (no operator is eq). Numbers: lead_score, reachout_step, conversation_count, lead_stage_order (gt, gte, lt, lte, eq). Instants: last_conversation_at, last_reachout_at, as an instant (>= for gte, exactly that moment) or as a date YYYY-MM-DD, which is the client’s local day: gte is from its midnight, lte and lt are before the next midnight, eq is the whole day (half-open, correct on a 23- or 25-hour day). Text, eq only: lead_stage, language. A phone, name or email is not a filter. An unknown parameter, a limit out of range or a bad cursor is 400 invalid_query (never silently clamped).
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»The client the key belongs to (any other client is 403)
Example
4e2a8c3d-1b9f-4e6a-8c7d-9f0a1b2c3d4eQuery Parameters
Sección titulada «Query Parameters»A number filter; any of gt, gte, lt, lte, eq
Example
2Another filter, ANDed with the first
Example
4An instant, or a date in the client’s zone
Example
2026-09-011-1000 (default 100)
Example
100next_cursor of the previous page
Example
Responses
Sección titulada «Responses»A page
Example
{ "data": [ { "id": "0c6f7a52-3d64-4b58-a1cd-5f0d1e2b9a10", "user_id": "+10000000042", "name": "Cliente Prueba", "first_name": "Cliente", "whatsapp_name": null, "phone": "+10000000042", "email": null, "language": "es", "lead_score": 10, "lead_stage": "Lead Nuevo", "lead_stage_order": 1, "reachout_step": 1, "last_reachout_at": null, "last_conversation_at": "2026-09-01T10:00:00.000Z", "last_conversation_summary": "Pregunta por apartamentos de 2 habitaciones.", "conversation_count": 3, "attributes": { "orders_count": 2 }, "created_at": "2026-08-20T15:00:00.000Z", "updated_at": "2026-09-01T10:05:00.000Z" } ], "next_cursor": null}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.
An unknown parameter or operator, a value that is not a number or a date, a limit out of range, or a bad cursor
Example
{ "type": "https://api-agent.manoflow.com/problems/invalid-query", "title": "The query cannot be read", "status": 400, "code": "invalid_query", "detail": "limit must be a whole number between 1 and 1000", "request_id": "01J9ZK8Q4T7X2M5N6P3R1S0V9W"}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.
Missing, malformed, unknown or revoked key (one answer for all)
Example
{ "type": "https://api-agent.manoflow.com/problems/unauthorized", "title": "Missing, malformed, unknown or revoked key", "status": 401, "code": "unauthorized", "request_id": "01J9ZK8Q4T7X2M5N6P3R1S0V9W"}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.
The key belongs to another client, or the client does not exist
Example
{ "type": "https://api-agent.manoflow.com/problems/forbidden", "title": "The key does not belong to this client", "status": 403, "code": "forbidden", "request_id": "01J9ZK8Q4T7X2M5N6P3R1S0V9W"}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.
The key made too many requests this minute (only when a limit is set); wait the Retry-After seconds
Example
{ "type": "https://api-agent.manoflow.com/problems/rate-limited", "title": "Too many requests", "status": 429, "code": "rate_limited", "request_id": "01J9ZK8Q4T7X2M5N6P3R1S0V9W"}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.
Unexpected error: quote the request_id
Example
{ "type": "https://api-agent.manoflow.com/problems/internal-error", "title": "Internal error", "status": 500, "code": "internal_error", "request_id": "01J9ZK8Q4T7X2M5N6P3R1S0V9W"}Headers
Sección titulada «Headers»The request’s id: the one sent, or a generated one. On every log line of the request; quote it when reporting a problem.