---
title: "Contact deleted"
method: POST
path: "contact.deleted"
tags: ["Contacts"]
---

# Contact deleted

`POST contact.deleted` (webhook)

Triggered when a contact is deleted. They can be restored for 30 days before they are erased for good

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'contact.deleted', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it.
    - `object` Contact, required
      - `id` string, required
      - `object` string, required
      - `email` string, required
      - `name` string, nullable, required
      - `first_name` string, nullable, required
      - `last_name` string, nullable, required
      - `phone_number` string, nullable, required
      - `company` string, nullable, required
      - `lifecycle` 'lead' | 'customer', required
      - `became_customer_at` string, date-time, nullable, required
      - `notes` string, nullable, required
      - `confirmed_at` string, date-time, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `deleted_at` string, date-time, nullable, required
      - `purge_at` string, nullable, required
      - `subscribed` boolean
      - `anonymized` boolean, required
      - `metadata` object, required
      - `orders_count` integer, required: Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
      - `total_spend` integer, required: Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
      - `tags` unknown[], required
        - unknown

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
