ClonifyDevelopersOpen panel

Getting started

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

API reference

  • Student learning activity6
  • External API deliveries6
  • Chat with the clone1
  • Contacts & tags5
  • Academy access4
  • Conversations4
  • Product catalogue11
  • External sales2
  • Knowledge12
  • Multimedia4
  • Clones (versions in the API)3
  • Meetings & bookings3
  • Webinars6
  • Account & usage1
Clonify

Chat with the clone

POST/api/v1/chat

Talk to the clone

Send a message and get the clone's full reply as JSON (no streaming), with its structured actions: recommended product, link, video, offer to talk to a human. Same engine as the web and WhatsApp (knowledge, FAQs, catalogue). Each reply counts as 1 against your plan's monthly responses, and conversations show up in the panel under the "API" channel. It also respects the monthly limit configured for that clone (403 cap_reached) and stops automated repetition before generating a reply (429 automated_repetition).

Chat (or write)

Body (JSON)

messagestring 1..4000required

The user's message (max 4000 characters).

conversation_idinteger

Continues that thread (returned by a previous call). If sent, visitor fields are ignored.

visitor_external_idstring

YOUR stable id for the end user (recommended for systems). Each user keeps a rolling thread.

visitor_emailstring

Identify the user by email (joins the widget's email-verified visitor, if any).

visitor_namestring
version_idinteger

Which clone replies. Omit = your active clone.

new_conversationboolean

true opens a fresh thread instead of continuing the latest one (e.g. a different ticket).

bash
curl -X POST "https://www.clonify.com/api/v1/chat" \
  -H "Authorization: Bearer clk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"message":"…"}'
json
{
  "object": "chat.reply",
  "conversation_id": 412,
  "visitor_id": 88,
  "reply": {
    "content": "¡Claro! Para empezar con la sentadilla te recomiendo…",
    "actions": [
      { "type": "product", "product_id": 172 },
      { "type": "link", "url": "https://example.com/guia", "label": "Ver la guía" }
    ]
  },
  "usage": { "input_tokens": 5210, "output_tokens": 240 }
}