Update a campaign

Updates an existing campaign. DRAFT campaigns can update every field and replace their contact list; campaigns in any other status can only update 'status' and 'config'. Setting the status back to DRAFT for a non-draft campaign is rejected.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the customer account.

string
required

The ID of the campaign.

Body Params

All fields are optional. DRAFT campaigns can update every field (and replace their contacts); campaigns in any other status can only update 'status' and 'config'.

string

New name for the campaign.

template
object

Represents a message template identifier.

date-time

ISO 8601 timestamp for the day the campaign starts (only the DATE part matters). DRAFT campaigns only; ignored on any other status.

string
enum
Allowed:
config
object
selection
object
contacts
array of objects

Replacement list of contacts (DRAFT campaigns only).

contacts
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json