Base URL
All API requests target the production server:Authentication
Every request must include two API key headers:| Header | Description |
|---|---|
x-public-key | Your public API key for identification |
x-private-key | Your private API key for authorization |
workspace header to scope requests to a specific workspace.
Contact sneh@miraiminds.co to obtain your API keys and workspace ID.
API endpoints
The API is organized into the following groups:Onboarding
Register a Shopify store and create a workspace with billing configuration.
Assistant
Create, retrieve, and update voice agent configurations.
Call
Initiate outbound calls and abort queued calls.
Webhooks
Receive real-time call status and action events.
Organization
Archive and unarchive organizations and workspaces.
Voice Gallery
Browse available voice options for your agents.
Common error codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request — check your request body or parameters |
401 | Unauthorized — missing or invalid API keys |
403 | Forbidden — insufficient permissions |
404 | Not found — resource does not exist |
429 | Rate limit exceeded — wait before retrying |
500 | Internal server error |
Rate limits
The API enforces rate limits to ensure stability. If you receive a429 response, wait before retrying. Assistant updates have a cooldown period to prevent overlapping update operations.