Create Voice Campaigns
POST https://{API URL}/api/Campaign/Voice/
Create campaigns allows you to create bulk number campaigns, i.e. when you have a list of numbers pre-compiled that you wish to send all in the same campaign
* = Required
| Key | Description |
|---|---|
| clientId* | DM ID for the client you wish to create the campaign for |
| Key | Description |
|---|---|
| StartDate* | Start date of the campaign |
| StartTime* | Start time of the campaign |
| FinishTime* | Finish time of the campaign |
| RunoverDays | Zero or more |
| CallFlow_Id* | Must match a call flow ID in the system belonging to the same client. Please ask for the relevant call flow IDs. |
| Cli_Id* | Must be an existing CLI ID linked to the client. Please ask for the relevant CLI IDs. |
| Attempts | How many call attempts to a single phone number within a campaign and the time interval between each attempt (in minutes). |
| AnswerPhoneMessage |
|
| SMSOnBusy |
|
| PhoneNumbers* | One or more |
| Key | Description |
|---|---|
| Name | Name of the customer |
| Parameters | Additional parameters that can be used within Call Flows (as Text-To-Speech) and SMS messages (as text) as variable parameters |
| Key | Description |
|---|---|
| Parameter* | 1 = Parameter1 2 = Parameter2 ……… up to Parameter9 |
| Value* | The value held by the parameter |
| Key | Description |
|---|---|
| StartTime* | The time the campaign starts |
| FinishTime* | The time the campaign finishes |
| Key | Description |
|---|---|
| Interval* | The amount of time before the next attempt (in minutes) |
| AttemptNumber | Number of attempts (increases by a value of 1 for each attempt |
{
"name":"Test Campaign",
"startDate": "2025-10-01",
"startTime":"09:00",
"finishTime":"12:00",
"runoverDays":[
{
"date":"2025-10-02",
"startTime":"09:00",
"finishTime":"12:00"
}
],
"callflow_Id":1,
"cli_Id":1,
"attempts":[
{"interval":15, "attemptNumber":1},
{"interval":60, "attemptNumber":2},
{"interval":120, "attemptNumber":3}
],
"answerMachineDetected":0,
"smsOnBusy":1,
"phoneNumbers":[
{
"number":"07722123456",
"name":"ben",
"parameters": [
{"value":"testing", "parameter":1}
]
},
{
"number":"07722734716",
"name":"Dave"
}
]
}
Campaign with campaign ID