cURL
curl --request POST \ --url https://api.oneinbox.ai/voice/api/call/outbound \ --header 'Api-Key: <api-key>' \ --header 'Api-Secret: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "number": "<string>", "customer_num": "<string>", "country_code": 123 }'
{ "message": "Call placed successfully", "code": 200, "data": { "call_id": "call_9eefaa9e9xxxxxxxxxxd88d4256" } }
Initiates an outbound voice call between two phone numbers
Call parameters
The body is of type object.
object
Call placed successfully
The response is of type any.
any
Was this page helpful?