---
title: "Restore contact"
method: POST
path: "/contacts/{id}/restore"
tags: ["Contacts"]
---

# Restore contact

`POST /contacts/{id}/restore`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/contacts/{id}/restore`
- Auth: API key in header `Authorization`

Brings back a deleted contact before it is permanently erased (see `purge_at`). Returns 409 when another contact now uses the same email address.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Contact restored

- Contact
  - `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

## Other responses

- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `409`: Conflict
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

## Changes

- **2026-11-15** `56c22ab9b282`: 6 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `403`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `409`
  - …2 more
- **2026-11-14** `a37321cbfdd6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/contacts/:id/restore/post.md)

---

[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)
