API Documentation
Everything you need to integrate MiaCortex into any system.
Base URL
https://api.miacortex.aiAuthentication
All calls require an API Key. Generate keys in Settings → API & Integrations.
Include in every request:
Authorization: Bearer your_api_key_here Content-Type: application/json
Available Endpoints
/functions/v1/widget-chatWidget Chat
Send message to visitor or receive bot reply
curl -X POST https://api.miacortex.ai/functions/v1/widget-chat \
-H "Content-Type: application/json" \
-d '{
"workspace_id": "YOUR_WORKSPACE_ID",
"visitor_id": "visitor-123",
"message": "Hi, what is the status of my order?"
}'Practical Use Cases
Online Store
ERP updates prices → rag-ingest → bot responds with correct prices
Auto Support
Customer sends message → widget-chat → instant AI response
Email Marketing
System sends email → compose-email → customer receives communication
Monitoring
Cron checks status → check-status → alert if something fails
WhatsApp Business
Webhook receives message → bot processes → auto reply
n8n / Zapier / Make
Any automation → webhook → platform action
Rate Limiting
Limits vary by plan. X-RateLimit-Remaining and X-RateLimit-Reset headers included in every response.
| Plan | Requests/min |
|---|---|
| Starter | 30 |
| Pro | 120 |
| Growth | 300 |
| Enterprise | Custom |
SDKs & Libraries
We're developing official SDKs for Node.js, Python, and PHP. Use any HTTP client in the meantime.
Need help?
Technical questions: Support → Create Ticket on the platform.