Integrate SellAIBots into your applications with our REST API.
All API requests require authentication using an API key. Include your key in the Authorization header:
Authorization: Bearer YOUR_API_KEYGet your API key from Settings → API Keys.
Base URL: https://api.sellaibots.ai/v1
| Plan | Requests/min | Messages/month |
|---|---|---|
| Starter | 60 | 5,000 |
| Professional | 120 | 25,000 |
| Scale | 300 | 100,000 |
Rate limit headers are included in all responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
# List all bots
curl -X GET "https://api.sellaibots.ai/v1/bots" \
-H "Authorization: Bearer YOUR_API_KEY"const response = await fetch('https://api.sellaibots.ai/v1/bots', {
headers: {
'Authorization': `Bearer ${API_KEY}`
}
});
const data = await response.json();import requests
response = requests.get(
'https://api.sellaibots.ai/v1/bots',
headers={'Authorization': f'Bearer {API_KEY}'}
)
data = response.json()All errors follow a consistent format:
{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired API key"
}
}Common error codes:
UNAUTHORIZED - Invalid or missing API keyFORBIDDEN - Insufficient permissionsNOT_FOUND - Resource not foundRATE_LIMITED - Too many requestsVALIDATION_ERROR - Invalid request parameters