---
title: "Change a campaign's name, sender pools, send windows, daily email cap, stop-on-reply, start or end. Works until archived; existing conversations keep their assigned sender"
method: PATCH
path: "/campaigns/{sequenceId}"
tags: ["campaigns"]
---

# Change a campaign's name, sender pools, send windows, daily email cap, stop-on-reply, start or end. Works until archived; existing conversations keep their assigned sender

`PATCH /campaigns/{sequenceId}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/campaigns/{sequenceId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Change a campaign's name, sender pools, send windows, daily email cap, stop-on-reply, start or end. Works until archived; existing conversations keep their assigned sender.

## Path parameters

- `sequenceId` string, required

## Request body

- object
  - `name` string
  - `emailMailboxAccountIds` string[]: Campaign email sender pool: up to 50 emailMailboxAccounts ids both you and the campaign owner may use. Omit to preserve existing configuration; [] clears the pool. A person's sender stays fixed for their conversation. Launch validates sender availability.
  - `linkedinAccountIds` string[]: Campaign LinkedIn sender pool: up to 50 linkedinAccounts ids both you and the campaign owner may use. Omit to preserve existing configuration; [] clears the pool. Legacy step senders remain until a pool is configured.
  - `stopOnReply` boolean: Stop a person's remaining steps when they reply.
  - `startsAt` number, nullable: Epoch ms; null clears the start.
  - `endsAt` number, nullable: Epoch ms; null clears the end.
  - `sendSchedules` object[]
    - `name` string, required: Label, e.g. "Mon-Fri 9-18".
    - `timezone` string, required: IANA timezone, e.g. America/Los_Angeles.
    - `startHour` integer, required: First hour sends may go out (0-23).
    - `endHour` integer, required: Hour sends stop (1-24); must be after startHour.
    - `weekdays` integer[], required: Days sends may go out: 0 = Sunday ... 6 = Saturday.
  - `timezone` string: Legacy single-window timezone. Prefer sendSchedules.
  - `sendWindowStartHour` integer: Legacy single-window start hour. Prefer sendSchedules.
  - `sendWindowEndHour` integer: Legacy single-window end hour. Prefer sendSchedules.
  - `sendWeekdays` integer[]: Legacy single-window weekdays, 0 = Sunday. Prefer sendSchedules.
  - `dailySendCap` integer: Cold emails per day, 1-100.

## Response `200`

Successful response

- object
  - `ok` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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