Konvo API: getting started
The Konvo API runs the same tools as Konvo's MCP server, over plain HTTP: list and read conversations, create them, reply, tag them, set their properties, leave internal notes, change status, assign, snooze, pin, list members and channels, read Analytics and CSAT, and work with AI agents. Anything an MCP client can do, your server can do with an API key.
Before you start
- An admin turns on Allow MCP server and API use in the organization's settings.
- The organization's plan includes API access.
- You are a member of the organization (partners can't create keys).
Create a key
Go to Settings → Advanced → API keys, give the key a name, choose:
- Read only: only the tools that read. A good default for plugins.
- Read and write: every tool, replies included.
and when it expires (30 days, 90 days, 1 year or never). Copy the key: it is
shown once. A key looks like konvo_sk_….
A key acts as you, in this organization: your role and your channel access apply to every call, and it stops working if you leave the organization, if an admin turns API access off, or when you revoke it. You can hold up to 10 keys per organization.
Call a tool
Every tool is POST https://api.k2.konvoai.com/v1/<tool>, with the tool's
arguments as a JSON object:
curl https://api.k2.konvoai.com/v1/list_conversations \
-H "Authorization: Bearer konvo_sk_…" \
-H "Content-Type: application/json" \
-d '{"status": "open", "limit": 20}'
The answer is the tool's result as JSON. A tool without arguments takes an empty body.
The full list of tools and their arguments is in the
API reference and, machine-readable, at
https://api.k2.konvoai.com/v1/openapi.json.
Create conversations from your own system
An order system or other integration can open a conversation as an email from a customer, with its own id for it:
curl https://api.k2.konvoai.com/v1/create_conversation \
-H "Authorization: Bearer konvo_sk_…" \
-H "Content-Type: application/json" \
-d '{"externalId": "order-1042",
"customer": {"email": "jane@example.com", "name": "Jane Doe"},
"subject": "Order 1042", "body": "…"}'
It arrives in your default mailbox (or the email channel in
channelId) like any email, so your rules run on it, and it never
merges into another conversation the customer has open. The answer carries
its streamId; when that is null the email is still on
its way in, and find_conversation with the externalId
returns it a moment later. Then tag_conversation (a tag name that
doesn't exist yet becomes a new tag), set_conversation_property and
add_internal_note work on it like on any conversation. See
MCP tools for the whole flow.
Errors
Errors answer { "error": { "code": "…", "message": "…" } }:
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_input |
The body isn't a JSON object, or the tool refused its arguments. |
| 401 | unauthorized |
Missing, unknown, revoked or expired key. |
| 403 | not_member |
The key's owner is no longer a member of the organization. |
| 403 | api_disabled |
The organization turned MCP and API use off. |
| 403 | plan_required |
The organization's plan doesn't include the API. |
| 403 | read_only_key |
A read-only key called a tool that writes. |
| 404 | not_found |
No tool by that name. |
| 422 | tool_error |
The tool couldn't do it; the message says why (e.g. "Conversation not found."). |
| 429 | rate_limited |
Too many requests: wait Retry-After seconds. |
Limits
- 60 requests per user and 240 per organization every 10 seconds, shared with the MCP server.
- Writes also count toward the organization's write budget.
- A request body may be up to about 67 MB (a reply with five 10 MB files).
Retries
Write tools take an optional idempotencyKey. Send one with every write and
reuse it when you retry: Konvo then performs the write once.
create_conversation uses its externalId the same way: a
second call with the same one returns the first conversation instead of
creating another.
Audit
Every write through the API appears in the organization's audit log as made by the key's owner, "(via API)". Creating and revoking keys are logged too.
Know when something changed
Instead of polling, set up a webhook: Konvo pings your URL when something changes, and you read the details through the API.