Getting started
Call
Both endpoints require a valid API key in the request headers. You can use either the internal or external key, depending on the nature of your application.
Internal Key:
BINARYTINT-INTERNAL-API-KEY
External Key:
BINARYTINT-EXTERNAL-API-KEY
If no valid key is provided, the request will be rejected with a 401 Unauthorized status.
This endpoint initiates an outbound call for a specific AI assistant, whose ID is provided in the request body. This is a general-purpose endpoint often used for testing or on-demand calls where the assistant can change.
URL:
{base_url}/api/outbound-call-uat
Method:
POST
Body: A JSON object that must include a
client
object with contact details and theassistantId
to make the call.
Example Request:
Responses:
200 OK: A successful response indicating the call was initiated. The data field contains details from the external VoIP handler.
400 Bad Request: Occurs if any required fields in the request body are missing.
2. The /outbound-call
Endpoint
This endpoint is designed for a specific use case where the AI assistant is hardcoded. It initiates an outbound call to a client using a fixed assistantId
but allows you to provide dynamic client information.
URL:
{base_url}/api/hyperscale/outbound-call
Method:
POST
Body: A JSON object that must include the client's
phoneNumber
,name
, and additionalinfo
.
Example Request:
Responses:
200 OK: A successful response indicating the call was initiated. The
data
field contains details from the external VoIP handler.400 Bad Request: Occurs if any required fields in the request body are missing.
