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
- Navigate to Settings → API
- Click Generate New 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/PUT requests) |
Request Body
POST and PUT 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 based on your plan:| Plan | Requests/minute | Requests/day |
|---|---|---|
| Professional | 60 | 10,000 |
| Dental | 300 | 50,000 |
| Real Estate | 600 | 100,000 |
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

