Skip to main content

Blacklist emails

Add emails to the blacklist. Blacklisting an email does not immediately change the status of existing prospects. Instead, it prevents contacting specific prospects across all campaigns. A prospect's status will be updated to BLACKLISTED during campaign processing.

Request

Endpoint

POST 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 add up to 500 emails per request

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

Request sample

Blacklist a list of emails

curl --request POST \
--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 blacklisted emails, including those newly added and those already blacklisted.

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

Body schema

FieldTypeDescription
emailsarray[string]List of blacklisted emails