Skip to main content
PATCH
Update project campaign

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Path Parameters

projectSlug
string
required

Specifies project slug for this path parameter.

id
string<uuid>
required

Identifier for this resource.

Value constraints

Body

application/json
name
string

New name, 1 to 200 characters after trimming.

Value constraints

Required string length: 1 - 200
recipientListId
string<uuid> | null

Audience to send to, or null for none. Only an unlaunched draft can change it; the campaign's current recipients are replaced by the audience's members at launch.

Accepted alternatives

Value constraints

senderConfig
object

Replaces the sender selection and throughput. On an unlaunched draft it passes the same checks as create. Once the campaign has launched it must pass the launch checks.

scheduledAt
integer | null

Start time in milliseconds since the Unix epoch, or null to start at launch. Only an unlaunched draft can change it.

Accepted alternatives

Value constraints

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

Specifies send window for this native update campaign request.

Accepted alternatives

Accepted alternatives

Response

OK

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.