> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbeo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update campaign

> Change a campaign's name, caller ID, retries, start time or business hours while it is a draft, scheduled or paused. Send only the fields you are changing.

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](https://docs.verbeo.ai/api-reference/campaign/pause.md) it, update it, then [resume](https://docs.verbeo.ai/api-reference/campaign/resume.md) 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

**id** `string` *required*

UUID of the campaign.

## Body

At least one field is required. Fields not listed here are ignored.

**campaign\_name** `string`

Display name, 1 to 255 characters.

**phone\_number\_id** `string`

UUID of the number the calls come from: the caller ID. It must be your workspace's.

**max\_retries** `number`

`0` to `6`. It must still cover the campaign's `retry_intervals`.

**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).

**scheduled\_at** `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.

**business\_hours** `object | null`

Replaces the campaign's business hours, in the shape [Create campaign](https://docs.verbeo.ai/api-reference/campaign/create.md#param-business-hours) takes. `null` clears them: calls at any time.

## Request

```bash theme={null}
curl -X PUT "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "max_retries": 3,
    "retry_intervals": [30, 120, 1440],
    "scheduled_at": "2026-11-03T14:00:00Z"
  }'
```

## Response

`200 OK` with the updated [campaign object](https://docs.verbeo.ai/api-reference/campaign/overview.md#the-campaign-object).

```json theme={null}
{
  "success": true,
  "data": {
    "id": "0175091d-2c3b-4aef-8c45-dbbe24f7b3ff",
    "campaign_name": "Spring renewals",
    "status": "scheduled",
    "max_retries": 3,
    "retry_intervals": [30, 120, 1440],
    "scheduled_at": "2026-11-03T14:00:00+00:00",
    "updated_at": "2026-11-02T11:20:00.456789+00:00",
    "…": "the rest of the campaign object"
  }
}
```

## Errors

| Code | Status | When |
| - | - | - |
| `VALIDATION_FAILED` | 422 | An empty body, or one with none of the fields above: `No fields to update`. |
| `VALIDATION_FAILED` | 422 | A field breaks its rule, as on [Create campaign](https://docs.verbeo.ai/api-reference/campaign/create.md#errors). More intervals than retries, counting the campaign's own: `retry_intervals: must have at most max_retries intervals`. |
| `VALIDATION_FAILED` | 422 | `phone_number_id: no phone number with this id in the workspace`. |
| `CONFLICT` | 409 | The campaign is dialling: `A campaign that is in-progress cannot be edited. Pause it first, then edit it and resume it.` (or `warmup`, or `dormant`, in the same sentence). |
| `CONFLICT` | 409 | The campaign is finished: `A completed campaign cannot be edited.`, or `A cancelled campaign cannot be edited.` |
| `CONFLICT` | 409 | `The campaign changed while it was being edited. Reload it and try again.` Its status moved on between the read and the write, for example as it started. |
| `NOT_FOUND` | 404 | `Campaign not found`. |
| `FORBIDDEN` | 403 | A dashboard member below developer: `Editing a campaign requires the developer, admin or owner role`. An API key acts as the owner and never gets it. |
| `PAYMENT_REQUIRED` | 402 | A time on a `draft` without campaigns on the plan: `Campaigns are a Pro feature. Upgrade this workspace to the Pro plan to create or start a campaign.` A scheduled campaign starts by itself, so scheduling one is checked as a start is. Nothing is changed. |

And the [errors every route can give](https://docs.verbeo.ai/api-reference/campaign/overview.md#errors-every-route-can-give).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.