Lifecycle controls
Pause a campaign
Pause a running campaign. New dials stop, in-flight calls finish, and the campaign requires an explicit resume.
POST
/
api
/
v1
/
account
/
{account_id}
/
campaigns
/
{campaign_id}
/
pause
Pause a campaign
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause \
--header 'X-Auth-ID: <x-auth-id>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause"
headers = {
"X-Auth-ID": "<x-auth-id>",
"X-Auth-Token": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-ID': '<x-auth-id>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));POST https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause
running.
Authentication required
X-Auth-ID— your Vobiz account IDX-Auth-Token— your Vobiz auth token
string
required
Your Vobiz account ID. Use the same value in
X-Auth-ID.string
required
Your Vobiz account ID, for example
MA_XXXXXXXX.string
required
The campaign to pause. It must be
running.Example
cURL
curl -X POST \
"https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause" \
-H "X-Auth-ID: {account_id}" \
-H "X-Auth-Token: {auth_token}"
paused_reason to manual_pause and sends the campaign.paused webhook when notify_url is configured. It requires an explicit resume — it will not restart on its own.
Lifecycle
draft ──upload──▶ ready ──start/schedule──▶ running ──▶ completed
│ │ ▲
│ ▼ │
│ paused
│ │
└───────────────────────┴──▶ cancelled
non-running campaign ──archive──▶ archived
409 Conflict. Control endpoints take no request body.Was this page helpful?
⌘I
Pause a campaign
curl --request POST \
--url https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause \
--header 'X-Auth-ID: <x-auth-id>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause"
headers = {
"X-Auth-ID": "<x-auth-id>",
"X-Auth-Token": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-ID': '<x-auth-id>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/account/{account_id}/campaigns/{campaign_id}/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));