Kommo API
15 endpoints for Kommo, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/kommo
- Connects with
- Your own Kommo user login on your account subdomain (any role; what your agent can do follows your permissions). You sign in in your own browser and keep your own password.
- Integration page
- Kommo
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Pipelines of the account with their stages, in the order Kommo shows them. |
| GET | Leads from Pipelines → All leads, filtered by pipeline, stage, responsible user or overdue tasks. |
| GET | The lead card: fields, linked contact and company, tasks and notes. |
| GET | Chats waiting in the Incoming leads stage to be accepted, declined or linked. |
| GET | Tasks from Calendar, filtered by lead, responsible user or status. |
| GET | Conversations from Communication → Chat inbox, with the last message and whether it is unanswered. |
| GET | The message history of one chat. |
Write (8)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Add a lead to a pipeline stage, optionally with a contact. |
| PATCH | Change the name, sale amount, responsible user or tags of a lead. |
| POST | Move a lead to another stage, in any pipeline, or close it as Won or Lost. |
| POST | Add a task to a lead with a deadline, a responsible user and a comment. |
| POST | Add a text note to the lead card. |
| POST | Reply in a chat of the Chat inbox. |
| POST | Turn an incoming chat into a lead, the Accept button in the chat. |
| POST | Reject an incoming chat as spam, the Decline button in the chat. |