trigger a scenario

API Docs by APIMATIC

Trigger a Scenario

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.

This endpoint requires authentication.

POST /voice_campaigns
  • EXPLORER
  • PARAMETERS
Endpoint Arguments*
Parameters*
body (Initiateacallrequest)*

Describes parameters required to initiate a call

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.

A phone number on your Wavix account. Will be used as Caller ID when placing an outbound call.

A phone number to place an outbound the call to

Response Type

curl -X POST \
  --url 'https://api.wavix.com/v1/voice_campaigns?appid=appid' \
  -H 'Accept: application/json'\
  -H 'Content-Type: application/json' \
  --data-raw '{
  "callflow_id": 8282,
  "caller_id": "1234567890",
  "contact": "1234567890"
}'