cURL
curl --request POST \ --url 'https://api.wavix.com/v1/voice-campaigns?appid=' \ --header 'Content-Type: application/json' \ --data ' { "voice_campaign": { "callflow_id": 3212, "caller_id": "13123310912", "contact": "16729923812", "callback_url": "https://you-site.com/webhook" } } '
{ "voice_campaign": { "id": 2321423, "status": "in_progress", "timestamp": "2023-08-03T09:04:12.000Z", "caller_id": "13123310912", "contact": "16729923812" } }
The Wavix’s Visual Campaign builder allows you to create custom scenarios for outbound calls using an intuitive, drag-and-drop user interface.
Use this method to trigger automatic calls that are programmed to follow your specific scenario.
An API key to authorize your request
Trigger an automatic call request
Show child attributes
Unique identifier of the Call flow to be launched. You can find it on the Calls flows page. Note that every scenario must be pre-approved by the Wavix Service Operations team before it can be used in production.
3212
A phone number on your Wavix account. Will be used as Caller ID when placing an outbound call.
"13123310912"
A phone number to place an outbound the call to
"16729923812"
A webhook URL to receive campaign status updates
"https://you-site.com/webhook"
A launched voice campaign object
Unique identifier of the voice campaign
2321423
The status of the voice campaign
"in_progress"
The timestamp when the voice campaign was created
"2023-08-03T09:04:12.000Z"
The caller ID used for the voice campaign
The number called using the voice campaign
Was this page helpful?