Call a contact
This endpoint allows you to initiate a call with a Contact using a specific Agent. The Agent will handle the conversation during the call.
Authorizations
API key for the user making the request. This can be found via the Developer Settings page in the dashboard.
Team identifier, used to scope requests to a specific team. This can be found via the Developer Settings page in the dashboard.
Body
The ID of the Contact that will be called. You cannot call a phone number until you have created a Contact. By creating a contact, you acknowledge that you have the necessary permissions to call the phone number.
The ID of the Agent that will be used to make the call. This can be found in the URL of the Agent page.
Additional data that the Agent can reference during the call using {key_name}
. For example, if you include {'additional_data_1': 'value'}
, you can reference additional_data_1
in the Agent script as {additional_data_1}
.
Response
The generic response format for all API requests. This structure ensures consistency in how success and error information is returned to the caller.
Contains the response data for the successful request. This field will vary based on the specific API endpoint being called and contains the main data returned from the API. For example, it may include information about a created contact, agent, or webhook subscription.
An object containing error details, if any. This field will be populated if the API request fails or encounters an error. If the request is successful, this field will be null or omitted.
Was this page helpful?