A contact's timeline: conversations, orders and bookings
const url = 'https://api-agent.manoflow.com/v2/clients/4e2a8c3d-1b9f-4e6a-8c7d-9f0a1b2c3d4e/contacts/0c6f7a52-3d64-4b58-a1cd-5f0d1e2b9a10/timeline?limit=100';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/0c6f7a52-3d64-4b58-a1cd-5f0d1e2b9a10/timeline?limit=100' \ --header 'x-kyto-key: <x-kyto-key>'Newest first. limit (1-1000, default 100) applies to each kind. The contact is named by our id (the contact.id of a search), so no URL carries a phone; an unknown id, or another client’s, is 404 with code: "contact_not_found". A contact with no history has an empty events list.
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-9f0a1b2c3d4eThe contact’s id from POST .../contacts/search
Example
0c6f7a52-3d64-4b58-a1cd-5f0d1e2b9a10Query Parameters
Sección titulada «Query Parameters»Events per kind, 1-1000 (default 100)
Example
100Responses
Sección titulada «Responses»The timeline
Example
{ "contact_id": "0c6f7a52-3d64-4b58-a1cd-5f0d1e2b9a10", "counts": { "conversations": 1, "orders": 1, "bookings": 1 }, "events": [ { "type": "booking", "occurred_at": "2026-09-20T12:00:00.000Z", "booking_id": "bk-0001", "kind": "stay", "status": "confirmed", "check_in_date": "2026-10-10", "nights": 3, "guests": 2 }, { "type": "order", "occurred_at": "2026-09-10T09:30:00.000Z", "order_id": "ord-0001", "status": "confirmed", "payment_status": "paid", "total": 150000, "currency": "COP" }, { "type": "conversation", "occurred_at": "2026-09-01T10:00:00.000Z", "conversation_id": "conv_01_test", "summary": "Pregunta por apartamentos.", "qualification": "hot", "message_count": 12 } ]}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.
A limit out of range
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.
No such contact
Example
{ "type": "https://api-agent.manoflow.com/problems/contact-not-found", "title": "Contact not found", "status": 404, "code": "contact_not_found", "detail": "No contact has this id.", "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.