Skip to main content
PUT
Replace Team Sender Exclusions
This endpoint requires at least the Email Pro plan. The user of the API key must be allowed to edit the team sending settings. Else the request answers 403.
Replaces the team list with the senders of the body. The entries follow the rules of Get Team Sender Exclusions.
The team list applies to each dynamic campaign without a list of its own. A change here changes all these campaigns. An empty list ({ "senders": [] }) excludes nobody.

Validation

  • Each userId is a team member, and appears once.
  • Each channel id is an account of its user: the mailbox ID, the WhatsApp account ID or the phone number, as List Senders returns them. A phone shared by several users is a channel of each of them.
  • linkedin and other take no id.
  • A refused request writes nothing.
An account connected a few seconds ago can be refused. Send the request again.

Authorizations

Authorization
string
header
required

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

Body

application/json
senders
object[]
required

The new list. An empty list excludes nobody.

Response

Success

data
object

The team exclusion list. Each campaign with a dynamic sender strategy and no list of its own uses it.