curl --request POST \
--url https://api.open.cx/phone/outbound-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phoneAgentId": "<string>",
"contact": {
"id": "<string>"
}
}
'{
"error": {
"code": "<string>",
"status": 123
},
"result": "<unknown>"
}Initiate an outbound call using an AI phone agent. You can target either an existing contact by ID or a raw phone number in E.164 format.
curl --request POST \
--url https://api.open.cx/phone/outbound-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phoneAgentId": "<string>",
"contact": {
"id": "<string>"
}
}
'{
"error": {
"code": "<string>",
"status": 123
},
"result": "<unknown>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?