API Documentation
Integrate Sovereign AI with your existing systems. Access leads, bookings, invoices, and analytics programmatically.
Authentication
All API requests require a Bearer token in the Authorization header. Generate API keys from your Dashboard → Settings → API Keys.
curl -H "Authorization: Bearer sk_live_abc123..." \
https://www.trysovereignai.com/api/v1/leadsRate limit: 100 requests per minute per API key. Exceeded requests return 429 Too Many Requests.
REST Endpoints
/api/v1/leadsList all leads with pagination and filters
?page=1&limit=50&status=new&source=chatbot
/api/v1/leads/:idGet a single lead by ID
/api/v1/leadsCreate a new lead from an external system
Body: { name, email, phone?, source?, notes? }
/api/v1/bookingsList all bookings with pagination
?page=1&limit=50&status=confirmed
/api/v1/invoicesList all invoices with pagination
?page=1&limit=50&status=paid
/api/v1/analyticsKPI summary: leads, revenue, conversion rate, bookings
/api/v1/servicesList active services for your account
Response Format
All endpoints return JSON with a consistent envelope:
{
"data": [...],
"pagination": {
"page": 1,
"limit": 50,
"total": 142,
"totalPages": 3
}
}Zapier Integration
Connect Sovereign AI to 5,000+ apps via Zapier triggers.
New Lead
Fires when a new lead is captured
New Booking
Fires when a booking is confirmed
New Review
Fires when a new review is received
Need Help?
Contact our team at support@trysovereignai.com or use the Atlas chatbot in your dashboard for API integration help.