Create custom blocklist entries
1 min
POST
https://api.campaign.episerver.net/rest/{clientId}/customblacklists/{customBlacklistId}/entries
clientIdinteger<int64>Client ID
customBlacklistIdinteger<int64>Custom blocklist ID
acceptstringGenerated from available response content types
patternsarrayPatterns of the custom blocklist entries
reasonstringReason for creating a custom blocklist entry
200The custom blocklist entries were created successfully.
curl --request POST \
--url https://api.campaign.episerver.net/rest/{clientId}/customblacklists/{customBlacklistId}/entries \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'patterns=array'