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

The response is of type object.