---
title: "PATCH /public/v1/campaigns/{campaignId}"
method: PATCH
path: "/public/v1/campaigns/{campaignId}"
tags: ["Campaigns"]
---

# PATCH /public/v1/campaigns/{campaignId}

`PATCH /public/v1/campaigns/{campaignId}`

Update a campaign's settings.

## Path parameters

- `campaignId` string, required

## Request body

- object
  - `name` string
  - `outreachCountPerDay` integer
  - `autoPilot` boolean
  - `withdrawRequestAfter` integer
  - `reEngagementConfig` object
    - `r_1` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_2` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_3` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_4` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_5` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_6` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_7` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_8` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_9` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_10` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_11` 1 | 2 | 3 | 5 | 8 | 13 | 21
    - `r_12` 1 | 2 | 3 | 5 | 8 | 13 | 21

## Response `200`

Default Response

- object
  - `statusCode` number
  - `status` boolean
  - `message` string
  - `data` object
    - `campaign` object
      - `id` string
      - `name` string
      - `outreach_count_per_day` number
      - `auto_pilot` boolean
      - `withdraw_request_after` number, nullable
      - `re_engagement_config` object
      - `status` string

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — Default Response
- `429` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/joinvalley/apis/valley-public-api.md) · [All operations](https://skmtc.net/joinvalley/apis/valley-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joinvalley/valley-public-api/revisions/1d888a894943/schema)
