---
title: "Discover recovery candidates from completed call evidence"
description: "Scans up to 25 completed human or Voice AI call analyses created in the last 30 days using original transcript-backed evidence. Calls without a completed analysis are not included. Pass nextCursor from the previous response to continue without skipping tied timestamps. Does not dial or send messages. Requires current membership."
---

> 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

`POST /api/call-center/recovery/refresh`

Scans up to 25 completed human or Voice AI call analyses created in the last 30 days using original transcript-backed evidence. Calls without a completed analysis are not included. Pass nextCursor from the previous response to continue without skipping tied timestamps. Does not dial or send messages. Requires current membership.

## Authentication

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

## Header parameters

- `X-Workspace-Id` (`post/api/call-center/recovery/refresh.header.X-Workspace-Id`; string, required)

## Request body

_Required._

- `cursor` (`post/api/call-center/recovery/refresh.cursor`; object, optional)
  - `createdAt` (`post/api/call-center/recovery/refresh.cursor.createdAt`; string, required)
    - format `date-time`
  - `id` (`post/api/call-center/recovery/refresh.cursor.id`; string, required)
    - format `uuid`
- `before` (`post/api/call-center/recovery/refresh.before`; string, optional, deprecated) — Legacy timestamp-only cursor. Prefer cursor to preserve tied timestamps.
  - format `date-time`

## Example request

```json
{
  "cursor": {
    "createdAt": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  },
  "before": "2019-08-24T14:15:22Z"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/call-center/recovery/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Workspace-Id: string' \
  --data '
{
  "cursor": {
    "createdAt": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  },
  "before": "2019-08-24T14:15:22Z"
}
'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/call-center/recovery/refresh';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-Workspace-Id': 'string',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    cursor: {createdAt: '2019-08-24T14:15:22Z', id: '497f6eca-6276-4993-bfeb-53cbbbba6f08'},
    before: '2019-08-24T14:15:22Z'
  })
};

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/recovery/refresh"

payload = {
    "cursor": {
        "createdAt": "2019-08-24T14:15:22Z",
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "before": "2019-08-24T14:15:22Z"
}
headers = {
    "Content-Type": "application/json",
    "X-Workspace-Id": "string",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

Scanned and added counts, nextCursor (null at end), and legacy nextBefore

### 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/post-api-call-center-recovery-refresh/index.md
