Discussions
How do I get "coversation_id"?
I'm trying to create a new chat via API but I am not aware where to get "conversation_id" and "user_id" from. Does anyone know?
Getting chats using API endpoint
I need to get through an API call all the contents of a chat identified by a lead uid, now I am able to get all the leads in my pipeline using GET /api/v4/leads/unsorted
endpoint, now I need to get the chat contents for each of those leads, is that possible?
Why can't I update custom fields values in a lead?
I'm making PATCH request https://{subdomain}.kommo.com/api/v4/leads/{id} to update custom fileds values. I get code 200 OK but nothing changes. Here is JSON:
Is it possible to add a new Widget to left hand menu for a private integration?
How Detach chat with chatbot or API?
Is there any way to disconnect a contact channel via the bot or API?
Create conversations
The API allows you to view conversations and close them. But how to create them?
Сan I force the API to return all custom fields in lead, even if they are empty?
No.
But you can get a list of custom_fields of the leads entity.