---
title: "Update Campaign"
method: PATCH
path: "/campaigns/{id}"
tags: ["Campaigns"]
---

# Update Campaign

`PATCH /campaigns/{id}`

Updates campaign fields. Only provided fields are updated.
Some fields cannot be modified on active campaigns.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateCampaignRequest
  - `name` string
  - `track_domain` string
  - `nodes` unknown[] — Campaign sequence nodes (cannot modify while active)
    - unknown
  - `edges` unknown[] — Campaign sequence edges (cannot modify while active)
    - unknown
  - `status` 1 | 2 — 1=inactive, 2=active
  - `is_draft` boolean
  - `timezone` string
  - `disabled` boolean
  - `blacklistIfBounce` boolean
  - `blacklistIfUnsubscribe` boolean

## Response `200`

Campaign updated

- CampaignResponse
  - `success` boolean
  - `request_id` string
  - `data` Campaign
    - `id` string, uuid
    - `name` string
    - `status` 'active' | 'inactive'
    - `disabled` boolean
    - `contact_count` integer — Total non-archived contacts (same as contact_metrics.total)
    - `contact_metrics` ContactMetrics — Contact lifecycle metrics for a campaign
      - `total` integer — Total non-archived contacts in campaign
      - `not_started` integer — Contacts that haven't begun the sequence yet (in queue for auto-refill)
      - `in_progress` integer — Contacts currently progressing through the sequence
      - `finished` integer — Contacts that completed the sequence
      - `paused` integer — Contacts currently paused
    - `team_id` string, uuid
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Bad Request - Invalid parameters
- `404` — Not Found - Resource does not exist

---

[API](https://skmtc.dev/supersend/apis/supersend-api.md) · [All operations](https://skmtc.dev/supersend/apis/supersend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supersend/supersend-api/revisions/f0cbeaa12643/schema)
