Skip to main content
POST
/
voice-campaigns
Trigger a scenario
curl --request POST \
  --url https://api.wavix.com/v1/voice-campaigns \
  --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"
  }
}

Authorizations

appid
string
query
required

An API key to authorize your request

Body

application/json

Trigger an automatic call request

voice_campaign
object
required

Response

A launched voice campaign object

voice_campaign
object
I