{
"_id": "<string>",
"ai_agent_id": "<string>",
"ai_agent_name": "<string>",
"call_status": "registered",
"override_ai_agent_id": "<string>",
"metadata": {},
"pia_llm_dynamic_data": {},
"call_start_time": "2023-11-07T05:31:56Z",
"call_end_time": "2023-11-07T05:31:56Z",
"messages": [
{
"role": "agent",
"content": "<string>"
}
],
"recorded_call_audio_url": "<string>",
"access_token": "<string>",
"call_duration_seconds": 123,
"call_type": "phone_call",
"from_number": "<string>",
"to_number": "<string>",
"direction": "inbound",
"call_finish_reason": "user_ended_call"
}Initiate an outbound phone call from an AI agent to a specified phone number.
This endpoint triggers the AI agent to place a phone call to the provided number. Use this for scenarios where the AI needs to proactively contact users via phone.
{
"_id": "<string>",
"ai_agent_id": "<string>",
"ai_agent_name": "<string>",
"call_status": "registered",
"override_ai_agent_id": "<string>",
"metadata": {},
"pia_llm_dynamic_data": {},
"call_start_time": "2023-11-07T05:31:56Z",
"call_end_time": "2023-11-07T05:31:56Z",
"messages": [
{
"role": "agent",
"content": "<string>"
}
],
"recorded_call_audio_url": "<string>",
"access_token": "<string>",
"call_duration_seconds": 123,
"call_type": "phone_call",
"from_number": "<string>",
"to_number": "<string>",
"direction": "inbound",
"call_finish_reason": "user_ended_call"
}Successful Response
The response is of type object.