Mitto API
Authentication, scopes, response format, and limits for the Mitto public API and MCP server.
Authentication, scopes, response format, and limits for the Mitto public API and MCP server.
The Mitto public API allows you to work from your own system (CRM, ERP, scripts, n8n, Zapier…) with the same capabilities you have in mitto.recordari.ai: defining segments, discovering and importing prospects, maintaining lists and the do-not-contact list, setting up, previewing, and launching campaigns, replying from the inbox, configuring brand voices and sending domains, and editing and testing your voice agents.
In addition to the REST API, there is an MCP server so that AI assistants like Claude or Cursor can work with Mitto directly.
The API follows the same rules as the application: a prospect created via API is scored against your segments, and a campaign activated via API performs the same channel checks.
https://api.recordari.ai/api/v1/mitto/
All routes in this guide are appended to this, for example GET https://api.recordari.ai/api/v1/mitto/prospects.
Every request must include an API key in the x-api-key header:
curl https://api.recordari.ai/api/v1/mitto/campaigns \
-H "x-api-key: YOUR_API_KEY"
An OAuth token (Authorization: Bearer …) is also accepted, which is what MCP clients that connect via OAuth use.
API keys are organization-wide and are created in Mitto Settings → API keys (/settings/api-keys):
The keys are the same as those for the Audeo API: in the table, a key that also has Audeo permissions will indicate it ("+N from Audeo").
The key acts on behalf of the person who created it: any action taken via the API is recorded as being performed by that person. Only organization administrators can create API keys, and the section is only available if your organization's plan includes the public API. If you delete a key, integrations using it will stop working immediately.
Mitto is only available for organizations with credit-based billing. If the organization pays per seat, any request to /api/v1/mitto/… will return 403 with the code TENANT_APP_REQUIRES_CREDITS_BILLING. Contact support to switch to credits.
| Scope | Allows |
|---|---|
prospects:read | Read prospects (and their history), lists, segments, discovery searches, and the do-not-contact list |
prospects:write | Create, import, edit, and delete prospects and lists; create and edit segments; manage the do-not-contact list; take control of a prospect; discard a search |
prospects:discover | Spend credits: launch and approve discovery searches, find email or phone numbers for prospects |
campaigns:read | Read campaigns, their activity, pulse, and inbox; preview plans; read brand voices and sending domains |
campaigns:write | Create, edit, duplicate, delete, activate, and pause campaigns; reply from the inbox; manage brand voices and sending domains |
voice-agents:read | Read voice agents, their calls, and phone numbers |
voice-agents:write | Edit an agent (prompt, first message, number, schedule) and launch test calls |
Give each key only the permissions it needs. For example, to sync contacts from a CRM, prospects:write is sufficient; for a results dashboard, campaigns:read.
All responses follow the same structure:
{
"data": { "...": "..." },
"error": null,
"statusCode": 200,
"count": 1
}
data: the resource or list. In case of an error, it is null.error: the error message, or null.count: number of items returned (in GET /prospects, the total that matches the filter, for pagination).When creating or importing prospects, you can save any extra data in customFields, by key in snake_case (up to 20 keys and 500 characters per value):
{ "name": "Laura Martín", "phone": "+34 612 300 101", "customFields": { "policy": "12345" } }
A voice agent receives each one in the call as {{custom_<key>}} (or {{custom.<key>}}, they are the same): with "policy": "12345", the prompt can use {{custom_policy}}. Fixed data arrives as {{contact_name}} (first name), {{contact_full_name}}, {{company_name}}, etc. (also with a dot: {{contact.name}}). When re-importing someone who already exists (same LinkedIn or email), their customFields are updated with those from the row.
| Code | When |
|---|---|
400 | Invalid data (the message specifies which field) |
401 | Missing or invalid API key or token |
402 | Not enough credits, or monthly spending limit reached (see below) |
403 | Missing scope, or the organization is not on credit-based billing |
404 | The resource does not exist in your organization |
409 | The state does not allow this (e.g., editing an agent managed from ElevenLabs) |
429 | You have exceeded the request limit |
Actions that consume credits are checked before starting, and if there are insufficient funds, it returns 402 without performing any action:
The code indicates what happened and what to do:
{
"statusCode": 402,
"data": null,
"error": "Not enough credits: this action needs 120 credits and the organization has 40. Top up credits to continue.",
"code": "TENANT_CREDITS_EXHAUSTED",
"actionCode": "mitto.discovery.run",
"requiredCredits": 120,
"availableCredits": 40,
"debtCredits": 0
}
TENANT_CREDITS_EXHAUSTED: insufficient balance for this action (or the organization owes credits, debtCredits). Fix this by topping up credits.TENANT_CREDIT_LIMIT_REACHED: there is a balance, but the monthly spending limit for Mitto (for the person or the organization) would be exceeded; it returns monthlyLimit, usedCredits, and requiredCredits. This can be increased by an organization owner.In the MCP server, the same message arrives as a tool error, with the code in parentheses, so the assistant can explain it to you.
A campaign that was already active and runs out of credits will not stop: each call that cannot be paid for will be marked as failed with the reason (no credits). Top up to allow subsequent calls to proceed.
The same as the rest of the API: 35 requests per second, 200 every 10 seconds, and 1,000 per minute. If you exceed these, you will receive 429; wait and retry with exponential backoff.
Imports support up to 5,000 rows per request: it is better to make a few large requests than many small ones.
/settings/webhooks). Payload contract and exclusionListStatus: Outgoing Webhooks.