---
title: "Re-read Lead Perfection's call-queue table and reconcile suggestions"
description: "Forces a fresh read of the LP code tables (bypassing the 24h cache), proposes criteria for each queue, inserts new pending suggestions, re-opens dismissed ones LP has renamed, and stamps rename / removal markers on approved queues. Never creates or deactivates a call queue. Requires LP_CALL_QUEUE_SYNC and an active Lead Perfection connection."
---

> 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 › Integrations

`POST /api/integrations/leadperfection/call-queue-suggestions/refresh`

Forces a fresh read of the LP code tables (bypassing the 24h cache), proposes criteria for each queue, inserts new pending suggestions, re-opens dismissed ones LP has renamed, and stamps rename / removal markers on approved queues. Never creates or deactivates a call queue. Requires LP_CALL_QUEUE_SYNC and an active Lead Perfection connection.

## Authentication

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

## Header parameters

- `x-workspace-id` (`post/api/integrations/leadperfection/call-queue-suggestions/refresh.header.x-workspace-id`; string, required)

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/integrations/leadperfection/call-queue-suggestions/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: string'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/integrations/leadperfection/call-queue-suggestions/refresh';
const options = {
  method: 'POST',
  headers: {'x-workspace-id': 'string', Authorization: 'Bearer <token>'}
};

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/integrations/leadperfection/call-queue-suggestions/refresh"

headers = {
    "x-workspace-id": "string",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

Sync summary (lp_queue_count, inserted, updated, pending, write_errors).

### 403

LP_CALL_QUEUE_SYNC is not enabled for this workspace.

### 404

No active Lead Perfection connection.

### 502

Lead Perfection rejected the code-table read.


Source: https://developer.channelautomations.com/api/post-api-integrations-leadperfection-call-queue-suggestions-refresh/index.md
