v1

latestOpenAPI 3.1.02026-07-2671538.5 KB
Contacts

Delete a contact by ID

Soft-delete a contact identified by its unique id.

Deleted contacts can be restored if a new contact is created with the same email or phone number via the Create a contact endpoint.

Required scope: contacts_write

delete/contacts/{id}

Path parameters

idstring required

The contact's unique identifier (returned as id in contact responses).

Response

Contact deleted successfully.

Example response

{
  "data": {
    "id": "cus_a1b2c3d4e5f6g7h8",
    "first_name": "Jane",
    "last_name": "Doe",
    "email": "jane@example.com",
    "email_consent": "subscribed",
    "phone_number": "+15551234567",
    "sms_consent": "subscribed",
    "tags": [
      "vip",
      "repeat-buyer"
    ],
    "custom_fields": {
      "loyalty_tier": "gold",
      "referral_code": "JANE2024"
    },
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-03-20T14:22:00Z"
  }
}