Skip to main content

Delete emails from the agency blacklist

Remove specific emails from the agency 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/agency/blacklist/emails

Headers

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

Body

info

You can remove up to 500 emails per request

{
"emails": [
"wrong@baddomain.com",
"worse@anotherone.com",
"john@finisheddeal.co.uk",
"drew@nomoreemails.co",
"andrew@notmyicp.design"
]
}
FieldTypeDescription
emailsarray[string]List of blacklisted emails

Request sample

Blacklist a list of emails

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

The emails were deleted successfully if they were listed.

Status: 200
Body: none