API Reference
Remove a campaign’s bounced contacts
GET and POST /campaigns/:id/bounced-contacts — review, then delete, the contacts whose address bounced on this campaign.
GET
/campaigns/:id/bounced-contactsLists the contacts in the campaign’s audience whose address bounced on this campaign: count, a sample of up to 25 addresses, and a version that stands for exactly this list. Needs an API key with read access. A sending-only key gets 401 restricted_api_key.
Response
{
"count": 37,
"sample": ["old@example.org", "typo@exmaple.com"],
"version": "3f7c0a…64 hex characters"
}POST
/campaigns/:id/bounced-contactsSend { "version": "<the version from GET>" } to delete those contacts from the audience. This cannot be undone. If the list changed since you read it, nothing is deleted and the answer is validation_error with status 409 — read it again and resend. Answers { "removed": 37 }. Needs a full-access API key. A sending-only key gets 401 restricted_api_key.
This deletes the contacts themselves (their properties, segment memberships and history go with them). It covers soft bounces as well as hard ones. Hard-bounced addresses are already on your suppression list, so nothing is sent to them either way.