---
title: "Trigger a scenario"
method: POST
path: "/v1/voice-campaigns"
tags: ["Voice campaigns"]
---

# Trigger a scenario

`POST /v1/voice-campaigns`

## Request

- Base URL: `https://api.wavix.com`
- URL: `https://api.wavix.com/v1/voice-campaigns`
- Auth: HTTP bearer

Launches a voice campaign that places a real outbound call using a pre-configured scenario. Track progress with the returned voice campaign `id`.

## Request body

- object: Scenario and contact details for the campaign.
  - `voice_campaign` VoiceCampaignResponse, required: Represents a voice campaign that places an outbound call running a pre-approved call flow.
    - `callflow_id` integer, required: Unique identifier of the call flow to launch, listed on the Call flows page. Every scenario must be pre-approved by the Wavix Service Operations team before it can be used in production.
    - `caller_id` string, required: Phone number on the account used as the Caller ID for the outbound call, in E.164 format.
    - `contact` string, required: Destination phone number the outbound call is placed to, in E.164 format.
    - `callback_url` string: Webhook URL that receives voice campaign status updates.

## Response `201`

Returns the launched voice campaign.

- VoiceCampaignsCreateResponse
  - `voice_campaign` object
    - `id` integer: Unique identifier of the voice campaign.
    - `status` string: Current status of the voice campaign, such as `in_progress`.
    - `timestamp` string, date-time: Timestamp when the voice campaign was created, in ISO 8601 format.
    - `caller_id` string: Phone number used as the Caller ID for the outbound call, in E.164 format.
    - `contact` string: Destination phone number the outbound call is placed to, in E.164 format.

## Other responses

- `400`: Request failed. Missing or invalid parameter <param_name>
- `401`: Unauthorized
- `403`: Request failed. The feature is disabled for your account.
- `404`: Request failed. An object with the specified ID is not found.
- `422`: Returns when the account has insufficient funds to launch the campaign.

## Changes

- **2026-09-14** `d4db3aae3627`: 1 breaking
  - the request's body type changed from no type to `object`
- **2026-09-08** `6a89c962481c`: 1 breaking, 5 info
  - the response's body type changed from no type to `object` for status `422`
  - removed `#/components/schemas/RecordNotFoundErrorResponse, subschema #2` from the response body `allOf` list for the response status `422`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - …2 more
- **2026-05-25** `33be77905120`: 1 info
  - the endpoint scheme security `bearerAuth` was added to the API
- **2026-04-20** `2e48fd9894e1`: 1 breaking, 1 warning, 3 info
  - added `#/components/schemas/VoiceCampaignCreateRequest` to the request body `allOf` list
  - removed `#/components/schemas/VoiceCampaignsRequest1` from the request body `allOf` list
  - api operation id `Triggerascenario` removed and replaced with `voice_campaigns_create`
  - added `#/components/schemas/RecordNotFoundErrorResponse` to the response body `allOf` list for the response status `422`
  - …1 more
- **2026-02-12** `fabaadf195a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v1/voice-campaigns/post.md)

---

[API](https://skmtc.dev/wavix/apis/wavix-apis.md) - [All operations](https://skmtc.dev/wavix/apis/wavix-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/wavix/apis/wavix-apis/revisions/f2dde79f05ab?raw)
