Documentation Index
Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
Use this file to discover all available pages before exploring further.
Welcome to the SmartAlex API
The SmartAlex API allows you to programmatically manage AI voice agents, campaigns, contacts, and call data. Build custom integrations, automate workflows, and embed SmartAlex into your applications.Agents
Create, update, and manage AI voice agents
Campaigns
Launch and control outbound calling campaigns
Calls
Initiate calls and access call data
Contacts
Import and manage your contact database
Base URL
All API requests should be made to:Authentication
All API endpoints require authentication using a Bearer token in the Authorization header.Getting Your API Key
- Log in to your SmartAlex dashboard
- Open the Developer Portal from the side navigation
- Generate a new API key
- Copy and securely store the key
Request Format
Headers
All requests must include:| Header | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json (for POST/PATCH requests) |
Request Body
POST and PATCH requests accept JSON bodies:Response Format
All responses are JSON with a consistent structure:Success Response
List Response
Error Response
Error Codes
| Status | Code | Description |
|---|---|---|
| 400 | invalid_request | Malformed request or missing required fields |
| 401 | unauthorized | Invalid or missing API key |
| 403 | forbidden | API key doesn’t have permission |
| 404 | not_found | Resource doesn’t exist |
| 429 | rate_limited | Too many requests |
| 500 | server_error | Internal server error |
Rate Limits
API requests are rate limited to prevent abuse and ensure platform stability. Rate limits are enforced per API key. Rate limit headers are included in every response:429 response:
Pagination
List endpoints support pagination:| Parameter | Description | Default |
|---|---|---|
page | Page number | 1 |
per_page | Items per page | 20 |
Webhooks
Receive real-time notifications for events in your account. See Webhooks for setup and event types.SDKs & Libraries
Official client libraries are coming soon. In the meantime, use any HTTP client to interact with the API.Need help with the API? Contact us at support@getsmartalex.com

