Discussions
Obtener mensajes de forma dinamica
Quiero integrar un servicio de agentes de IA en la plataforma. Cual seria la forma optima de capturar los mensajes entrantes de los clientes, para luego pasárselos al agente para que genere una respuesta y responda a los clientes?
How do I pass value to the custom field of all leads? Whats is the parameter to define a value custom field?
curl --request PATCH
--url https://subdomain.kommo.com/api/v4/entity/custom_fields/id
--header 'accept: application/json'
--header 'authorization: Bearer fdgdfgfd'
--header 'content-type: application/json'
--data '
{
"id": 1278898087,
"name": "New custom field name",
"sort": 560,
"is_visible": false,
"is_required": true
}
'
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?