This page will help you get started with Chats API.
What you will be able to do in this section
- Understand how to register a chat channel
- Connect the chat channel to the account
- Create a new chat before sending the first message. It can be helpful if a lead with the contact exists, and creating an incoming lead isn't needed.
- Link an chat to a contact
- Send/receive/import messages from/to Kommo
Please be aware that you won't be able to execute all the steps described above directly in the API Reference section due to tool limitations: it is not possible to calculate required headers and send a request simultaneously.
Example of data from Steps 1 - 5
This scheme illustrates where different IDs originate from.