Integrate BOTON with your CRM, server, or any automation. Send WhatsApp messages, read conversations, and configure your bot — all via REST API.
Each business has its own token. Generate it in Dashboard → API Access.
Include in every request: Authorization: Bearer <token>
# Example curl -H "Authorization: Bearer YOUR_TOKEN" \ https://boton.kilazi.com/api/v1/status
// Response { "business": "Mi Negocio", "connected": true, "phone": "5491138620812", "botPurpose": "attend", "botNewChats": false, "activeBotChats": 12, "untouchableChats": 2 }
curl -H "Authorization: Bearer YOUR_TOKEN" \ https://boton.kilazi.com/api/v1/chats?page=0&pageSize=20
// Response { "chats": [ { "jid": "5491112345678@s.whatsapp.net", "name": "Juan", "lastMessage": { "text": "hola", "direction": "incoming", "timestamp": "..." }, "messageCount": 8, "botEnabled": true } ], "total": 45, "page": 0, "hasMore": true }
curl -H "Authorization: Bearer YOUR_TOKEN" \ https://boton.kilazi.com/api/v1/chats/5491112345678@s.whatsapp.net/messages
// Response { "jid": "5491112345678@s.whatsapp.net", "messages": [ { "text": "hola", "direction": "incoming", "timestamp": "...", "botGenerated": false } ] }
message for direct text, or instruction to have the bot start the conversation with an instruction.# Direct message curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"to":"5491112345678","message":"Hola, tu turno es manana a las 15hs"}' \ https://boton.kilazi.com/api/v1/send
# Send to multiple + bot instruction curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"to":["5491112345678","5491198765432"],"instruction":"Ofrece turno para manana"}' \ https://boton.kilazi.com/api/v1/send
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"botPurpose":"attend","botNewChats":true,"customInstructions":"Responde solo en espanol"}' \ https://boton.kilazi.com/api/v1/config