Cleo API
The API lets other tools read your business's contacts, leads and conversations, and add contacts.
Authentication
- In Cleo, open Settings and go to MCP.
- Under API keys, type a name and choose Create key.
- 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
| Field | Type | Description |
|---|
organization.id | string | Business ID. |
organization.name | string | Business name. |
organization.slug | string | Short name used in links. |
agent.name | string | Name of the assistant. |
agent.enabled | boolean | Whether the assistant is answering. |
agent.configured | boolean | Whether the business finished setup. |
plan.id | string | Plan of the business. |
plan.limits | object | What 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
| Parameter | Type | Description |
|---|
status | string | Only one stage: NEW, QUALIFIED, CONTACTED, WON or LOST. Most recently changed first. |
| Field | Type | Description |
|---|
id | string | Lead ID. |
status | string | Stage of the lead, for example NEW. |
score | number | 0 to 100. |
intent | string | What the person wants. |
summary | string | Short summary. |
contact | object | id, name, email and phone of the contact. |
createdAt | string | ISO 8601 date. |
updatedAt | string | Last 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"
}
]
}The 100 newest contacts, newest first.
GET https://cleodesk.com/api/v1/contacts
| Parameter | Type | Description |
|---|
email | string | Only the contact with this email. |
phone | string | Only the contact with this phone. |
| Field | Type | Description |
|---|
id | string | Contact ID. |
name | string | Name. |
email | string or null | Email. |
phone | string or null | Phone in international format. |
leadCount | number | Leads of this contact. |
conversationCount | number | Conversations of this contact. |
createdAt | string | ISO 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"
}
]
}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
| Parameter | Type | Description |
|---|
name | string | Name. Required for a new contact. |
email | string | Email. Send email, phone or both. |
phone | string | Phone in international format. |
| Field | Type | Description |
|---|
created | boolean | true when the contact is new, false when it was updated. |
data | object | id, 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
| Parameter | Type | Description |
|---|
limit | number | 1 to 100. Default 25. |
channel | string | Only one channel: VOICE, SMS, EMAIL, WHATSAPP, MESSENGER, INSTAGRAM or WEB. |
| Field | Type | Description |
|---|
id | string | Conversation ID. |
channel | string | Where it happened. |
status | string | For example ACTIVE, CLOSED or HANDED_OFF. |
contact | object or null | id and name of the contact. |
messageCount | number | Messages in the conversation. |
score | number or null | Quality score, when there is one. |
handoffReason | string or null | Why it went to a person. |
createdAt | string | ISO 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"
}
]
}