Skip to main content
PATCH
Update campaign

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Path Parameters

campaignId
string
required

Identifier for the campaign.

Query Parameters

projectId
string

Project the campaign belongs to. Required with a team API key; a project token is bound to its own project and omits it.

Body

application/json

Fields to change. Omitted fields keep their stored value.

name
string

Human-readable name for this resource.

Value constraints

Required string length: 1 - 200
projectId
string<uuid>

Required when using a team API key. Project tokens derive the project from the credential.

Value constraints

recipientListId
string<uuid> | null

Audience to send to. Only while the campaign is an unlaunched draft.

Accepted alternatives

Value constraints

senderConfig
object

Structured sender config values for this management update platform campaign request.

scheduledAt
integer | null

Scheduled start time in Unix milliseconds. Only while the campaign is an unlaunched draft.

Accepted alternatives

Value constraints

Required range: 0 <= x <= 8640000000000000
sendWindow
object | null

When the campaign may send. null removes the window. Only while the campaign is a draft or paused.

Accepted alternatives

Response

Success

data
object
required

Structured data carried by this object.