ClonifyDevelopersOpen panel

Getting started

  • Authentication
  • Errors
  • Pagination
  • Rate limits
  • Webhooks
  • For AI agents
  • MCP server

API reference

  • Outgoing webhooks3
  • Student learning activity8
  • External API deliveries6
  • Chat with the clone1
  • Contacts & tags5
  • Academy access4
  • Conversations4
  • Product catalogue13
  • External sales3
  • Content12
  • Multimedia4
  • Clones (versions in the API)3
  • Meetings & bookings3
  • Sales pipeline6
  • Webinars6
  • Account & usage1
Clonify

Sales pipeline

GET/api/v1/sales-leads

List pipeline leads

The sales pipeline: the contacts the team is working to sell to, each with its stage, who has it, the next step, the contact attempts and its call. A lead is a contact with a commercial mark, not a copy: contact_id is the same as in /contacts. The response also carries how many stand at each stage (stage_counts), the team members a lead can be assigned to (team) and the account's reasons for losing a lead (lost_reasons). Stages are fixed and the same in every account, and they mostly move by themselves: a booking leaves the person at call_booked and the call's result decides the rest.

Query parameters

viewstring

all (default): the whole pipeline, with filters. today: only who needs something today, most pressing first; todo says why (needs_result, call_today, first_contact, follow_up, payment).Values: all · today

stagestring

One stage, or open: every stage still alive (all but won and lost). Only with view=all.Values: new · contacted · call_booked · followup · awaiting_payment · won · lost · open

owner_user_idinteger

Only the leads this person has (a user_id from team).

unassignedboolean

true: only the leads nobody has.

searchstring

Part of the name, the email or the phone. Only with view=all.

timezonestring

IANA zone that decides what day "today" is (UTC by default).

limitinteger 1..200
offsetinteger

How many to skip. The list is ordered by next step, not by id.

bash
curl "https://www.clonify.com/api/v1/sales-leads" \
  -H "Authorization: Bearer clk_live_…"
json
{
  "object": "list",
  "data": [{
    "object": "sales_lead",
    "contact_id": 456,
    "name": "Marta Ruiz",
    "email": "marta@example.com",
    "phone": "+34 600 000 000",
    "stage": "contacted",
    "todo": "follow_up",
    "owner": { "user_id": 12, "name": "Álvaro" },
    "setter_user_id": null,
    "next_step_on": "2026-11-30",
    "lost_reason": null,
    "entered_via": "api",
    "entered_at": "2026-11-24T10:00:00.000Z",
    "stage_changed_at": "2026-11-24T16:30:00.000Z",
    "attempts": 2,
    "times_reached": 1,
    "last_attempt_at": "2026-11-24T16:30:00.000Z",
    "next_call": null,
    "call_needing_result": null
  }],
  "total": 37,
  "has_more": false,
  "today": "2026-11-30",
  "timezone": "Europe/Madrid",
  "stage_counts": { "new": 12, "contacted": 9, "call_booked": 6, "followup": 4, "awaiting_payment": 2, "won": 3, "lost": 1 },
  "team": [{ "user_id": 12, "name": "Álvaro" }],
  "lost_reasons": [{ "key": "money", "label": null }]
}
POST/api/v1/sales-leads

Add contacts to the pipeline

Puts contacts of the account in the pipeline as new leads (stage new). Who is already in stays as they are, with their stage and owner. Not needed for someone who books a call: they enter by themselves. It writes to and calls nobody.

Write permission

Body (JSON)

contact_idsinteger[]required

From 1 to 1000 contact ids.

owner_user_idinteger

Who has them (a user_id from team). Without it they have no owner.

bash
curl -X POST "https://www.clonify.com/api/v1/sales-leads" \
  -H "Authorization: Bearer clk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"contact_ids":1}'
json
{ "added": 18, "already_in": 2, "not_found": 0 }
GET/api/v1/sales-leads/{contact_id}

Read a lead

One lead with history: each logged contact attempt, newest first. 404 when the contact is not in the pipeline.

Path parameters

contact_idintegerrequired

Query parameters

timezonestring

IANA zone that decides what day "today" is for todo (UTC by default).

bash
curl "https://www.clonify.com/api/v1/sales-leads/1" \
  -H "Authorization: Bearer clk_live_…"
json
{
  "object": "sales_lead",
  "contact_id": 456,
  "name": "Marta Ruiz",
  "email": "marta@example.com",
  "phone": "+34 600 000 000",
  "stage": "contacted",
  "todo": "follow_up",
  "owner": { "user_id": 12, "name": "Álvaro" },
  "setter_user_id": null,
  "next_step_on": "2026-11-30",
  "lost_reason": null,
  "entered_via": "api",
  "entered_at": "2026-11-24T10:00:00.000Z",
  "stage_changed_at": "2026-11-24T16:30:00.000Z",
  "attempts": 2,
  "times_reached": 1,
  "last_attempt_at": "2026-11-24T16:30:00.000Z",
  "next_call": null,
  "call_needing_result": null,
  "history": [
    { "id": 91, "at": "2026-11-24T16:30:00.000Z", "channel": "whatsapp", "reached": true, "note": "Quiere una llamada el lunes.", "author": "person", "user_name": "Álvaro" }
  ]
}
PATCH/api/v1/sales-leads/{contact_id}

Change a lead

Changes the stage, who has it or the day of the next step. Send only what changes. What happened in a call is not written here: the closer writes it on the call and the stage moves by itself.

Write permission

Path parameters

contact_idintegerrequired

Body (JSON)

stagestring

lost needs lost_reason. call_booked is never set by hand: a booking sets it. Moving to won or lost clears the next step.Values: new · contacted · call_booked · followup · awaiting_payment · won · lost

owner_user_idinteger

A user_id from team; null leaves it with no owner.

next_step_onYYYY-MM-DD

The day to get back to that person; null removes it. A live lead with no date shows every day in view=today.

lost_reasonstring

With stage=lost: the key of a reason from lost_reasons.

bash
curl -X PATCH "https://www.clonify.com/api/v1/sales-leads/1" \
  -H "Authorization: Bearer clk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"stage":"new","owner_user_id":1}'
POST/api/v1/sales-leads/{contact_id}/attempts

Log a contact attempt

Logs that someone on the team tried to contact a lead. It sends nothing: not the WhatsApp, the email or the call. If the person answered and the lead was new, it becomes contacted; if nobody had it, whoever made the attempt takes it. Returns the lead.

Write permission

Path parameters

contact_idintegerrequired

Body (JSON)

user_idintegerrequired

Who made the attempt: a user_id from team.

channelstringrequired

Values: whatsapp · call · email · instagram · other

reachedboolean

true if the person answered or was spoken to. false by default.

notestring

What happened, in a sentence or two (up to 2000 characters).

bystring

clone only if the account's clone made the attempt. person by default.Values: person · clone

bash
curl -X POST "https://www.clonify.com/api/v1/sales-leads/1/attempts" \
  -H "Authorization: Bearer clk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"user_id":1,"channel":"whatsapp"}'
DELETE/api/v1/sales-leads/{contact_id}

Take someone out of the pipeline

Takes the person out of the pipeline. They stay as a contact, with their calls and their attempt history; they lose their stage, owner and next step. A lead who doesn't buy is not removed: mark it with stage=lost and its reason.

Delete permission

Path parameters

contact_idintegerrequired
bash
curl -X DELETE "https://www.clonify.com/api/v1/sales-leads/1" \
  -H "Authorization: Bearer clk_live_…" \
  -H "Content-Type: application/json" \
  -d '{}'
json
{ "contact_id": 456, "removed": true }