Skip to main content
PATCH
curl

Authorizations

X-Api-Key
string
header
required

Your API key, sent as the value of the X-Api-Key header. In the dashboard, go to Integrations and open Deliveryman API Keys to create one.

Body

application/json
campaign_uid
string
required

UID of campaign to update.

Minimum string length: 1
contact_list_uid
string | null
deprecated

Deprecated, use contact_list_uids instead. UID of contact list to use.

contact_list_uids
string[] | null

UIDs of the contact lists to use. Replaces the campaign's current lists. A campaign can target up to 100 lists.

Maximum array length: 100

Response

Processing Started

message
string
required

Human-readable description of the result.

campaign_uid
string
required

UID of the updated campaign.

contact_list_uid
string
required

Deprecated, use contact_list_uids. UID of the first selected contact list.

contact_list_uids
string[]
required

UIDs of the contact lists the campaign now uses.

task_started_on
string<date-time>
required

Datetime when the update started. ISO format date string in UTC.