Skip to main content
PUT
Update campaign
Changes a campaign’s settings while it is not dialling: a draft (importing or not), a scheduled campaign or a paused one. To change a running campaign, pause it, update it, then resume it. Send only the fields you are changing: anything you leave out is untouched. Its assistant, its contacts and its default_country cannot be changed: create another campaign for those. Who may call it: any API key of the workspace; in the dashboard, an owner, admin or developer.

Path

string
required
UUID of the campaign.

Body

At least one field is required. Fields not listed here are ignored.
string
Display name, 1 to 255 characters.
string
UUID of the number the calls come from: the caller ID. It must be your workspace’s.
number
0 to 6. It must still cover the campaign’s retry_intervals.
number[]
Minutes before each retry, each from 1 to 10080, and no more of them than max_retries (the one you send, or the campaign’s).
string | null
An ISO 8601 date and time with its offset, or null. A time on a draft schedules it: it becomes scheduled at once if its import is done, or when the import is done. null on a scheduled campaign makes it a draft again. A paused campaign stays paused either way.
object | null
Replaces the campaign’s business hours, in the shape Create campaign takes. null clears them: calls at any time.

Request

Response

200 OK with the updated campaign object.

Errors

And the errors every route can give.