POST
/
v1
/
campaigns
/
{id}
/
status
curl --request POST \
  --url https://api.eu.volubile.ai/v1/campaigns/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '"ACTIVE"'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "startDate": "2024-07-30",
  "timeSlots": [
    {
      "startTime": "10:30",
      "endTime": "12:30"
    }
  ],
  "batchSize": 123,
  "retry": {
    "max": 1,
    "delay": 123,
    "retryOn": [
      "<string>"
    ]
  },
  "days": [
    "MONDAY"
  ],
  "status": "ACTIVE",
  "timezone": "Europe/Paris"
}

Authorizations

X-Api-Key
string
header
required

Your API key.

Path Parameters

id
string
required

Body

application/json · enum<string>

The body is of type enum<string>.

Available options:
ACTIVE,
PAUSED,
CANCELLED

Response

200
application/json
OK
id
string

Unique identifier of the campaign

name
string

Name of the campaign

agentId
string

Unique identifier of the agent to perform the campaign with

startDate
string

Start date of the campaign

timeSlots
object[]

Timeslots of the campaign (when the calls will be performed during the day). Max 2 timeslots

batchSize
integer

The number of calls per...

retry
object

Retry parameters when the contact cannot be reached

days
enum<string>[]

Days of the campaign

Available options:
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY
status
enum<string>

Status of the campaign

Available options:
ACTIVE,
PAUSED,
CANCELLED
timezone
string

The timezone of the campaign