API Reference
Remove Suppression
DELETE /suppressions/:id_or_email — let SendDart mail an address again.
DELETE
/suppressions/:id_or_emailTakes an address off the suppression list. By id, only that row goes. By address, every row for it goes: the account-wide one and any per-domain ones. A suppression.removed webhook fires for each removed row.
Only remove a bounce or complaint when you know the address now works and the person wants your mail. Mailing an address that bounced or complained hurts your sending reputation.
Needs a full-access API key. A sending-only key gets
401 restricted_api_key.Path parameters
id_or_emailstringrequiredA suppression id, or an email address.
const res = await fetch('https://www.senddart.com/api/suppressions/48213', {
method: 'DELETE',
headers: { 'Authorization': 'Bearer mb_xxxxxxxxx' },
});
const data = await res.json();
console.log(data);Response
{
"object": "suppression",
"id": "48213",
"email": "pat@example.com",
"deleted": true
}Nothing to remove returns 404 not_found.