Skip to main content
PUT
Update campaign

Authorizations

Authorization
string
header
required

API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.

Path Parameters

id
string
required

Body

application/json
name
string
description
string
subject
string
body
string
from
string<email>
fromName
string
replyTo
string<email>
audienceType
enum<string>
Available options:
ALL,
SEGMENT,
FILTERED
segmentId
string
audienceCondition
object

Root segment condition structure using logical groups.

Response

Campaign updated

success
boolean
data
object