API Reference
Programmatic access to the SellAIBots platform
Authentication
All API requests require authentication using an API key. Include your key in the request header:
Authorization: Bearer YOUR_API_KEYGenerate API keys in Settings → API Keys in your dashboard.
Base URL
https://api.sellaibots.ai/v1Endpoints
GET
/botsList all bots for your agency
curl -X GET https://api.sellaibots.ai/v1/bots \
-H "Authorization: Bearer YOUR_API_KEY"POST
/botsCreate a new bot
curl -X POST https://api.sellaibots.ai/v1/bots \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '"name": "Support Bot", "template": "support"'GET
/leadsRetrieve captured leads
curl -X GET "https://api.sellaibots.ai/v1/leads?bot_id=abc123&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"GET
/analyticsGet analytics data
curl -X GET "https://api.sellaibots.ai/v1/analytics?period=30d" \
-H "Authorization: Bearer YOUR_API_KEY"Webhooks
Receive real-time notifications when events occur:
lead.created- New lead capturedconversation.completed- Chat session endedbot.updated- Bot configuration changedmessage.received- New message in conversation
Configure webhooks in Settings → Webhooks.
Rate Limits
| Plan | Requests/min | Requests/day |
|---|---|---|
| Starter | 60 | 1,000 |
| Growth | 120 | 10,000 |
| Scale | 300 | 100,000 |