---
title: "Review defer dismiss or assign a recovery candidate"
description: "Requires a verified session, current workspace membership. Contact actions enforce visibility; visit configuration requires manager access."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Calendar

`PATCH /api/call-center/contacts/{contactId}/recovery`

Requires a verified session, current workspace membership. Contact actions enforce visibility; visit configuration requires manager access.

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Path parameters

- `contactId` (`patch/api/call-center/contacts/contactId/recovery.path.contactId`; string, required)
  - format `uuid`

## Header parameters

- `X-Workspace-Id` (`patch/api/call-center/contacts/contactId/recovery.header.X-Workspace-Id`; string, required)

## Request body

_Required._

- `status` (`patch/api/call-center/contacts/contactId/recovery.status`; string, optional)
  - one of `"ready"`, `"deferred"`, `"dismissed"`
- `assignedUserId` (`patch/api/call-center/contacts/contactId/recovery.assignedUserId`; string, optional, nullable) — Manager only; omission preserves assignment
  - format `uuid`
- `availableAt` (`patch/api/call-center/contacts/contactId/recovery.availableAt`; string, optional) — Required future time when deferring
  - format `date-time`
- `expectedUpdatedAt` (`patch/api/call-center/contacts/contactId/recovery.expectedUpdatedAt`; string, optional) — Last observed updated_at; stale review returns 409
  - format `date-time`
- `note` (`patch/api/call-center/contacts/contactId/recovery.note`; string, optional)
  - maxLength 1000

## Example request

```json
{
  "status": "ready",
  "assignedUserId": "35a1b60a-b60e-4d90-8491-523f2d437a8e",
  "availableAt": "2019-08-24T14:15:22Z",
  "expectedUpdatedAt": "2019-08-24T14:15:22Z",
  "note": "string"
}
```

## Code samples

### cURL

```bash
curl --request PATCH \
  --url 'https://api.channelautomation.com/api/call-center/contacts/<contactId>/recovery' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Workspace-Id: string' \
  --data '
{
  "status": "ready",
  "assignedUserId": "35a1b60a-b60e-4d90-8491-523f2d437a8e",
  "availableAt": "2019-08-24T14:15:22Z",
  "expectedUpdatedAt": "2019-08-24T14:15:22Z",
  "note": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/call-center/contacts/<contactId>/recovery';
const options = {
  method: 'PATCH',
  headers: {
    'Content-Type': 'application/json',
    'X-Workspace-Id': 'string',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    status: 'ready',
    assignedUserId: '35a1b60a-b60e-4d90-8491-523f2d437a8e',
    availableAt: '2019-08-24T14:15:22Z',
    expectedUpdatedAt: '2019-08-24T14:15:22Z',
    note: 'string'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/call-center/contacts/<contactId>/recovery"

payload = {
    "status": "ready",
    "assignedUserId": "35a1b60a-b60e-4d90-8491-523f2d437a8e",
    "availableAt": "2019-08-24T14:15:22Z",
    "expectedUpdatedAt": "2019-08-24T14:15:22Z",
    "note": "string"
}
headers = {
    "Content-Type": "application/json",
    "X-Workspace-Id": "string",
    "Authorization": "Bearer <token>"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Successful operation

### 400

Invalid input

### 401

Invalid session

### 403

Access denied

### 404

Resource not found or resource not found

### 409

Resource changed concurrently

### 500

Unexpected error

### 503

Dependency unavailable


Source: https://developer.channelautomations.com/api/patch-api-call-center-contacts-contact-id-recovery/index.md
