Skip to main content
PATCH
Update a campaign

Authorizations

Authorization
string
header
required

API key for authentication

Headers

Idempotency-Key
string

A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.

Maximum string length: 255
Example:

"8e03978e-40d5-43e8-bc93-6894a57f9324"

Path Parameters

campaignId
string
required

The ID of the campaign.

Required string length: 40

Body

application/json
sender
object

The sender of every step. Set either a root sender for every step, or a sender on every step, not both. A step whose sender changes gets the new sender's signature, or none when they have none.

Example:
steps
object[]

The steps of the campaign: the first email, then its follow-ups. More than one step needs sequences on your plan, and a sender that supports them (not Gmail). They replace the current steps: steps match by position, extra steps are added and missing ones removed. A body ending with {{signature}} keeps the step's signature as stored, edited or not.

Required array length: 1 - 100 elements
stopOnReply
boolean

Whether the remaining steps stop for a recipient who replied.

Example:

true

Response

The campaign, with its steps.

data
object
required

A campaign: one or more emails, each a step, sent to a list of people or companies.

Example:
deprecations
string[]
Example: