Skip to main content

Delete domains from the agency blacklist

Remove specific domains from the agency blacklist. Removing a domain from the list doesn't change the status of a prospects if it was previously set to BLACKLISTED

Request

Endpoint

DELETE https://api.woodpecker.co/rest/v2/agency/blacklist/domains

Headers

x-api-key: {YOUR_API_KEY}
Content-type: application/json

Body

info

You can remove up to 500 domains per request

{
"domains": ["baddomain.com", "blacklistedomain.io", "nomoreemails.co"]
}
FieldTypeDescription
domainsarray[string]List of blacklisted domains

Request sample

Blacklist a list of domains

curl --request DELETE \ 
--url "https://api.woodpecker.co/rest/v2/agency/blacklist/domains" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"domains": [
"baddomain.com",
"blacklistedomain.io",
"nomoreemails.co"
]
}'

Response

Response examples

The domains were deleted successfully if they were listed.

Status: 200
Body: none