Cleo API

The API lets other tools read your business's contacts, leads and conversations, and add contacts.

Authentication

  1. In Cleo, open Settings and go to MCP.
  2. Under API keys, type a name and choose Create key.
  3. Copy the key. It is shown only once.

Send the key with every request, in the Authorization header:

curl https://cleodesk.com/api/v1/me \
  -H "Authorization: Bearer rcp_your_key"

A key reaches only the business that created it. You can revoke it at any time on the same screen, and it stops working right away.

Limits and errors

  • 60 requests a minute per key. Past that, the response is 429.
  • With no key, or a revoked key, the response is 401.
  • With missing data or an invalid email, the response is 400. A contact blocked in Cleo answers 409 and is not changed.
  • The API does not return test chats, automated emails or blocked contacts.
  • Every response is JSON. Dates are ISO 8601, in UTC.

GET /me

The business the key belongs to. Use it to check a key.

GET https://cleodesk.com/api/v1/me
FieldTypeDescription
organization.idstringBusiness ID.
organization.namestringBusiness name.
organization.slugstringShort name used in links.
agent.namestringName of the assistant.
agent.enabledbooleanWhether the assistant is answering.
agent.configuredbooleanWhether the business finished setup.
plan.idstringPlan of the business.
plan.limitsobjectWhat the plan includes.
{
  "organization": { "id": "org_123", "name": "Bright Smile Dental", "slug": "bright-smile-dental" },
  "agent": { "name": "Cleo", "enabled": true, "configured": true },
  "plan": { "id": "starter", "limits": { "agents": 1, "members": 2, "numbers": 1 } }
}

GET /leads

The 100 newest leads, newest first.

GET https://cleodesk.com/api/v1/leads
ParameterTypeDescription
statusstringOnly one stage: NEW, QUALIFIED, CONTACTED, WON or LOST. Most recently changed first.
FieldTypeDescription
idstringLead ID.
statusstringStage of the lead, for example NEW.
scorenumber0 to 100.
intentstringWhat the person wants.
summarystringShort summary.
contactobjectid, name, email and phone of the contact.
createdAtstringISO 8601 date.
updatedAtstringLast change, ISO 8601.
{
  "data": [
    {
      "id": "lead_123",
      "status": "NEW",
      "score": 82,
      "intent": "Book a cleaning",
      "summary": "Asked for a cleaning on Saturday morning.",
      "contact": { "id": "con_123", "name": "Maria Alvarez", "email": "maria@example.com", "phone": "+13055550100" },
      "createdAt": "2026-11-22T15:04:05.000Z"
    }
  ]
}

GET /contacts

The 100 newest contacts, newest first.

GET https://cleodesk.com/api/v1/contacts
ParameterTypeDescription
emailstringOnly the contact with this email.
phonestringOnly the contact with this phone.
FieldTypeDescription
idstringContact ID.
namestringName.
emailstring or nullEmail.
phonestring or nullPhone in international format.
leadCountnumberLeads of this contact.
conversationCountnumberConversations of this contact.
createdAtstringISO 8601 date.
{
  "data": [
    {
      "id": "con_123",
      "name": "Maria Alvarez",
      "email": "maria@example.com",
      "phone": "+13055550100",
      "leadCount": 1,
      "conversationCount": 3,
      "createdAt": "2026-11-22T15:04:05.000Z"
    }
  ]
}

POST /contacts

Adds a contact. If one already has this email or phone, it is updated instead, so the same person is never added twice. Send JSON.

POST https://cleodesk.com/api/v1/contacts
ParameterTypeDescription
namestringName. Required for a new contact.
emailstringEmail. Send email, phone or both.
phonestringPhone in international format.
FieldTypeDescription
createdbooleantrue when the contact is new, false when it was updated.
dataobjectid, name, email, phone and createdAt of the contact.
{
  "created": true,
  "data": {
    "id": "con_123",
    "name": "Maria Alvarez",
    "email": "maria@example.com",
    "phone": "+13055550100",
    "createdAt": "2026-11-22T15:04:05.000Z"
  }
}

GET /conversations

The newest conversations, newest first.

GET https://cleodesk.com/api/v1/conversations
ParameterTypeDescription
limitnumber1 to 100. Default 25.
channelstringOnly one channel: VOICE, SMS, EMAIL, WHATSAPP, MESSENGER, INSTAGRAM or WEB.
FieldTypeDescription
idstringConversation ID.
channelstringWhere it happened.
statusstringFor example ACTIVE, CLOSED or HANDED_OFF.
contactobject or nullid and name of the contact.
messageCountnumberMessages in the conversation.
scorenumber or nullQuality score, when there is one.
handoffReasonstring or nullWhy it went to a person.
createdAtstringISO 8601 date.
{
  "data": [
    {
      "id": "conv_123",
      "channel": "WHATSAPP",
      "status": "CLOSED",
      "contact": { "id": "con_123", "name": "Maria Alvarez" },
      "messageCount": 6,
      "score": 9,
      "handoffReason": null,
      "createdAt": "2026-11-22T15:04:05.000Z"
    }
  ]
}