Discussions
traffic light's tags
I want to put "traffic light" labels on my leads with conversations that I did not respond to in 5, 10 and 30 minutes, but I really don't understand very well how to use the salesbot triggers, they are very confusing and some do not work as their names say, could you give me some ideas please?
Getting files from Files API
I need to download these files from my chats, for example, for the one in the image I need to get all the attachments, could this be achieved using the Files API?
How can I send messages from my own server?
I use the webhook to transfer message to my own server, so is there any api can send message to an instagram user back
What API should I use to get the contents of a chat
I would need to know how I can get the data of the chats, for example in the image the UI is calling this address to get data https://vvallejo.kommo.com/chats/150/leads/detail/3869886?t=1720535619.097 is this one an API endpoint I can call to get this chat content?
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: