Skip to main content
POST
Update a campaign
Only API-created campaigns in draft can be updated. Omitted fields are left unchanged; pass null for excludeEnrichedWithinDays to disable the recency exclusion. Once enrichment starts, the campaign is frozen and permanently records the configuration the launch used, so updates to enriching or later states return 409 campaign_not_editable.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

campaignId
string
required
Pattern: ^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$
name
string

New display name. Omit to leave unchanged.

Required string length: 1 - 200
Example:

"July target accounts"

excludeEnrichedWithinDays
integer | null

Skip accounts enriched within this many days when enrichment launches. Pass null to disable the exclusion. Omit to leave unchanged.

Required range: 0 <= x <= 9007199254740991
Example:

30

Response

Response for status 200

data
object
required
error
null
required