Get domain blacklist
GET
/domains/blacklist
const url = 'https://api.unwrap.email/v1/domains/blacklist';const options = {method: 'GET', headers: {'UNWRAP-EMAIL-API-TOKEN': '<UNWRAP-EMAIL-API-TOKEN>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.unwrap.email/v1/domains/blacklist \ --header 'UNWRAP-EMAIL-API-TOKEN: <UNWRAP-EMAIL-API-TOKEN>'Retrieve user specific domain blacklist.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”Blacklist retrieved
Media type application/json
object
domains
required
Comma or newline separated list of domains
array
Example generated
{ "domains": [ "example" ]}