TryzenAPI
Campaigns

Change the toggles or swap the exclude list, before or after launch

PATCH
/v1/campaigns/{campaignId}/exclusions

Access: an API key (or an org-wide key naming the workspace) with manage on campaigns.

Applies from the lead's next step: the engine re-checks exclusions before every step. exclusions replaces all five toggles.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

campaignId*string
Match^[0-9a-f]{24}$

Request Body

application/json
  1. body
excludeListId?|null
exclusions?

Response Body

Default Response

application/json
  1. response
settings*
Example Request
curl -X PATCH 'https://api.tryzen.co/v1/campaigns/string/exclusions' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "settings": {    "excludeListId": "string",    "exclusions": {      "otherCampaigns": false,      "otherSenderConversations": false,      "sameSenderOtherCampaigns": false,      "blacklistLeads": true,      "blacklistCompanies": true    }  }}