Skip to main content

Delete domains from the blacklist

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

Request

Endpoint

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

Headers

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

For details on how to authenticate your requests, please see the authentication guide.

Body

info

You can remove up to 500 domains per request

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

Request sample

Remove a list of domains from blacklist

curl --request DELETE \
--url "https://api.woodpecker.co/rest/v2/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

Returns a list of successfully removed domains, including only those that were previously blacklisted; domains not found in the blacklist or with an invalid format are ignored and not included in the response. If none of the requested domains were blacklisted, the returned array will be empty.

{
"domains": [
"baddomain.com",
"blacklistedomain.io",
"nomoreemails.co"
]
}

Body schema

FieldTypeDescription
domainsarray[string]List of domains removed from the blacklist