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_KEY

Generate API keys in Settings → API Keys in your dashboard.

Base URL

https://api.sellaibots.ai/v1

Endpoints

GET/bots

List all bots for your agency

curl -X GET https://api.sellaibots.ai/v1/bots \
-H "Authorization: Bearer YOUR_API_KEY"
POST/bots

Create 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/leads

Retrieve captured leads

curl -X GET "https://api.sellaibots.ai/v1/leads?bot_id=abc123&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"
GET/analytics

Get 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 captured
  • conversation.completed - Chat session ended
  • bot.updated - Bot configuration changed
  • message.received - New message in conversation

Configure webhooks in Settings → Webhooks.

Rate Limits

PlanRequests/minRequests/day
Starter601,000
Growth12010,000
Scale300100,000

Need Developer Support?

Our team can help with API integration

Contact Support