TheDocumentation Index
Fetch the complete documentation index at: https://docs.miraiminds.co/llms.txt
Use this file to discover all available pages before exploring further.
Make a Call endpoint allows you to programmatically trigger an outbound call to any phone number using a specific voice assistant. This is useful for automated notifications, appointment reminders, or immediate lead qualification.
Endpoint
POST /admin/assistant/call
Request Flow
Before the call is placed, the system validates your workspace, checks the assistant’s availability, and then initiates the telephony connection.Request Parameters
Headers
| Header | Type | Required | Description |
|---|---|---|---|
workspace | string | Yes | Your unique workspace ID. |
organization | string | Yes | Your organization ID. |
Content-Type | string | Yes | Must be application/json. |
Authorization | string | Yes | Bearer token for authentication. |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
assistant_id | string | Yes | The unique identifier of the assistant to place the call. |
to_number | string | Yes | The phone number to call in E.164 format (e.g., +919723067241). |
Code Examples
Response
Returns a JSON object containing the status of the call request.Success Response (200 OK)
Common Errors
400 Bad Request: Missingto_numberor invalidassistant_id.401 Unauthorized: Invalid or missingworkspace/organization/Authorizationheaders.404 Not Found: Assistant ID does not exist in the specified workspace.