Delete Contact

Delete a contact by ID or email address. All associated data (properties, segment memberships, topic subscriptions) will be removed.

DELETE/contacts/{contact_id_or_email}

Resend Compatibility: Partial -- Postflare supports lookup by email address in addition to ID.

Requires a full_access API key.

Path Parameters

contact_id_or_emailstringrequired

The contact ID (UUID) or email address.

Response Fields

objectstring

Always "contact".

idstring

The contact ID.

deletedboolean

Always true.

curl -X DELETE 'https://api.postflare.app/contacts/e169aa45-1ecf-4183-9955-b1499d5701d3' \
  -H 'Authorization: Bearer re_xxxxxxxxx'
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.contacts.remove({
  id: 'e169aa45-1ecf-4183-9955-b1499d5701d3',
  audienceId: '<audience_id>', // Required by Resend SDK
});

Response

Response
{
  "object": "contact",
  "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
  "deleted": true
}