Skip to main content
PUT
Replace Campaign Sender Exclusions
This endpoint requires at least the Email Pro plan.
  • senders: [...] gives the campaign its own list, which replaces the team list. An empty list excludes nobody on this campaign.
  • senders: null removes the campaign list. The campaign uses the team list again.
The entries follow the validation rules of Replace Team Sender Exclusions. A refused request writes nothing. The campaign must use a dynamic sender strategy (contactOwner, leadImporter or customField:<fieldName>). Else the request answers 409. Change the strategy with Update Campaign Settings. Only the leads reviewed or launched after the change get a sender from the new list.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

The unique identifier of the campaign

Body

application/json
senders
object[] | null
required

The new campaign list. An empty list excludes nobody on this campaign. null removes the campaign list: the campaign uses the team list again.

Response

Success

data
object

The exclusion list in force on a campaign.