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
  • Knowledge12
  • Multimedia4
  • Clones (versions in the API)3
  • Meetings & bookings3
  • Webinars6
  • Account & usage1
Clonify

Clonify for developers

Clonify API

Connect your own system (your CRM, your app, Make…) to your Clonify account: read your conversations, contacts and transcripts, and build from the outside. Add content to your Knowledge and create products, FAQs and clones. The API speaks JSON over HTTPS and follows the same rules as the panel: your plan quotas and feature locks are enforced automatically.

Base URLhttps://www.clonify.com/api/v1
01

Authentication

To connect a chat, choose Chat only. Create your key in the panel: Settings → API and webhooks. You can have several (one per connected system), each read-only, read & write, or full (with delete). The key is shown ONCE: store it like a password. Send it on every request in the Authorization header.

bash
curl "https://www.clonify.com/api/v1/conversations?limit=5" \
  -H "Authorization: Bearer clk_live_…"

For a chat integration, choose Chat only (chat). It only authorizes POST /api/v1/chat and uses your plan’s responses. Management permissions are separate: read allows data exports, including knowledge content; write includes read and also allows chat; delete includes the preceding management permissions. Missing permissions return 403 insufficient_scope.

02

Errors

Every error shares the same JSON shape, with a stable code in 'type' (for your code) and a readable message in 'message' (for humans). Status codes: 400 invalid request, 401 missing or revoked key, 403 no permission / feature outside your plan / quota exhausted, 404 not found in your account, 409 conflict (e.g. transcript not ready yet), 429 rate limited, 500 our fault.

json
{
  "error": {
    "type": "invalid_updated_since",
    "message": "'updated_since' no es una fecha válida (usa ISO 8601)."
  }
}
03

Pagination

Large lists are traversed by cursor: request with ?limit= and chain ?starting_after=<last id> while has_more is true. The cursor is stable by id: you can walk the whole history without missing or duplicating items. Bounded catalogues (tags, clones, products) come whole in one response.

json
{
  "object": "list",
  "data": [ … ],
  "has_more": true,
  "next_starting_after": 95
}
04

Rate limits

Each account has a per-minute request budget by plan: 60 (Starter), 120 (Pro) or 300 (Scale), shared across all its keys. Every response includes the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers. When exceeded you get 429 with Retry-After (wait and retry with backoff). The limit stops runaway scripts, not real use: at 120/min you can export 12,000 conversations per minute.

Note: this is different from your plan quotas (clone responses, knowledge words). Check those via GET /api/v1/usage — they are enforced exactly like in the panel.

05

Webhooks

Set a URL in Settings → API and webhooks and choose events: lead.created (contact captured by the clone), conversation.ended (real conversation after 10 minutes without messages; excludes panel tests) and purchase.created (recorded purchase). Stripe financial notifications are optional and start off: payment.succeeded (confirmed payment), payment.failed (failed attempt for an already recorded subscription or installment plan), refund.updated (refund status), subscription.cancellation_scheduled, subscription.cancellation_reversed and subscription.cancelled. Completing an installment plan is not a cancellation. Enabling events does not send historical activity. Pausing the destination retains pending financial notifications; switching an event type off and on discards its previous pending notifications. Each financial notification contains id, type, created_at and data with payment references, Stripe account, products, contact_id, visitor_id, email, the five utm_* fields and ref (null when unknown). Link people by identifiers, not email. Amounts use the minor units of the currency field. purchase.created and payment.succeeded may refer to the same sale: do not add both. For refund.updated count the amount only when status=succeeded, once per refund_id; status changes are not additional refunds. Verify X-Clonify-Signature: sha256= followed by the hexadecimal HMAC-SHA256 of the unmodified request body, using the whsec_… secret. X-Clonify-Event identifies the type. Return 2xx after storing the event; failures are retried with the same id and body. Deduplicate by id and do not assume delivery order. These do not notify students or change access. External payments must still be reported by their provider; access/sync does not record payments. Configuration is shared by the panel, GET/PUT /api/v1/webhook and get_outgoing_webhook/configure_outgoing_webhook. New API/MCP destinations start paused with all categories off; omitted fields remain unchanged. Retrieving the signing secret requires an explicit operation with write permission. You can also enable contact.email_changed for email changes made by the team, an agent or the student after verifying both inboxes. data contains change_id (a decimal integer encoded as text), contact_id, visitor_ids, previous_email, email and changed_via (panel, agent or student). Deduplicate by id and retain the greatest change_id per contact_id to ignore late events; never use email as identity. Shares signing, retries and pause semantics with financial notifications. Students can change their email in My account by verifying both inboxes, even when this notification is off. The notification does not change email at Stripe or other providers, or rewrite historical sales. purchase.created also carries a billing key: with send_purchase_billing on (off by default), that sale's invoice details for any payment method, with the same fields as GET /api/v1/sales; otherwise null. It's what an accounting integration needs without reading Stripe.

06

For AI agents

If an AI writes your integration (ChatGPT, Claude…), it has two shortcuts built for machines, not for human eyes. And if you'd rather not code at all: Clonify also exposes an MCP server with 100+ tools. Connect it from Settings → Connections → Connect your AI.

openapi.jsonThe full API specification in OpenAPI format: the contract an AI or an SDK generator consumes directly. For humans, the readable reference is this very site.llms.txtThis documentation's index in plain text (llms.txt pattern): hand it to your AI agent as the entry point.

Connect an AI without writing code: the MCP server

07

API reference

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