Docs/API Reference
API in private beta — keys available on request

Krato Bot API Reference

Integrate Krato Bot directly into your stack. Manage conversations, trigger cart recovery, fetch analytics, and more — all via a simple REST API.

GETTING STARTED

Authentication

All API requests require a Bearer token. Pass your API key in the Authorization header:

bash
curl https://api.kratobot.com/v1/conversations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Base URL: https://api.kratobot.com

REFERENCE

Endpoints

GET/v1/conversationsList all conversations for your store
POST/v1/conversations/:id/replySend a message from the bot to a customer
GET/v1/products/recommendGet AI-powered product recommendations
POST/v1/cart-recovery/triggerManually trigger a cart recovery sequence
GET/v1/analytics/summaryFetch conversation analytics for a date range
DELETE/v1/conversations/:idArchive and delete a conversation record
EVENTS

Webhooks

Real-time Event Notifications

Subscribe to events like conversation.started, cart.recovered, and order.completed to your endpoint.

bash
// Example webhook payload
{
  "event": "cart.recovered",
  "store_id": "store_abc123",
  "timestamp": "2026-04-12T16:30:00Z",
  "data": {
    "cart_value": 2499,
    "currency": "INR",
    "customer_id": "cust_xyz"
  }
}
TOOLS

SDKs & Libraries

🟨
JavaScript / Node.js
Coming Soon
🐍
Python
Coming Soon
🐘
PHP
Coming Soon
🌐
REST (Any language)
Available

Ready to build?

The API is in private beta. Reach out to get your API key and start integrating Krato Bot into your workflow.