Skip to main content

Delete emails from the blacklist

Remove specific emails from the blacklist. Removing an email 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/blacklist/emails

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 emails per request

{
"emails": [
"wrong@baddomain.com",
"worse@anotherone.com",
"john@finisheddeal.co.uk"
]
}
FieldTypeDescription
emailsarray[string]List of emails to remove from blacklist

Request sample

Remove a list of emails from blacklist

curl --request DELETE \
--url "https://api.woodpecker.co/rest/v2/blacklist/emails" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"emails": [
"wrong@baddomain.com",
"worse@anotherone.com",
"john@finisheddeal.co.uk"
]
}'

Response

Response examples

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

{
"emails": [
"wrong@baddomain.com",
"worse@anotherone.com",
"john@finisheddeal.co.uk"
]
}

Body schema

FieldTypeDescription
emailsarray[string]List of emails removed from the blacklist