---
title: "Update campaign settings"
method: PATCH
path: "/api/v1/campaigns/{campaign_id}"
tags: ["Campaigns"]
---

# Update campaign settings

`PATCH /api/v1/campaigns/{campaign_id}`

## Request

- Base URL: `https://app.argorant.com`
- URL: `https://app.argorant.com/api/v1/campaigns/{campaign_id}`
- Auth: HTTP bearer

Changes only the fields you send. Same fields as create. Campaigns send plain text; `plain_text: false` is refused.

| Cost | What it does | Key scopes |
| --- | --- | --- |
| Free | Writes | `argorant:manage_lists` |

## Path parameters

- `campaign_id` string, uuid, required

## Headers

- `Idempotency-Key` string
- `X-Request-Id` string

## Request body

- object
  - `name` string: New name.
  - `daily_limit` integer: Emails a day for the whole campaign.
  - `include_unsubscribe` boolean: Add or remove the opt-out line.
  - `window_start` string: HH:MM.
  - `window_end` string: HH:MM.

## Response `200`

OK

- object
  - `campaign` object
    - `id` string
    - `name` string
    - `status` string
    - `lead_count` integer
    - `queued_count` integer
    - `sent_count` integer
    - `replied_count` integer
    - `positive_reply_count` integer
    - `bounced_count` integer
    - `step_count` integer
    - `inbox_count` integer
    - `daily_limit` integer
    - `default_timezone` string
    - `created_at` string
    - `updated_at` string
    - `url` string
    - `settings` object
      - `daily_limit` integer
      - `window_start` string
      - `window_end` string
      - `timezone` string
      - `include_unsubscribe` boolean
  - `changed` string[]

## Other responses

- `401`: 401 Unauthorized. `unauthorized` when the API key is missing, wrong or revoked.
- `403`: 403 Forbidden. `scope_missing` when the key lacks argorant:manage_lists.
- `404`: 404 Not found. `not_found` when the item does not exist in your workspace.
- `409`: 409 Conflict. `idempotency_conflict` when the Idempotency-Key was used with another body.
- `422`: 422 Validation error. `validation_error` when a field has the wrong type or is missing.
- `429`: 429 Too many requests. `rate_limited` when too many requests this minute.

---

[API](https://skmtc.dev/argorant/apis/argorant-api.md) · [All operations](https://skmtc.dev/argorant/apis/argorant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/argorant/apis/argorant-api/revisions/4bc28c0085b6?raw)
