Skip to content

Save domain blacklist

POST
/domains/blacklist
curl --request POST \
--url https://api.unwrap.email/v1/domains/blacklist \
--header 'Content-Type: application/json' \
--header 'UNWRAP-EMAIL-API-TOKEN: <UNWRAP-EMAIL-API-TOKEN>' \
--data '{ "domains": [ "example" ] }'

Store user specific domain blacklist

Media type application/json
object
domains
required

Comma or newline separated list of domains

array
Example generated
{
"domains": [
"example"
]
}

Blacklist saved

Media type application/json
object
domains
required

Comma or newline separated list of domains

array
Example generated
{
"domains": [
"example"
]
}