---
title: "Get Lead Perfection sync status"
description: "Returns latest Lead Perfection sync state rows for a workspace. Requires LEAD_PERFECTION_DATA_WINDOW."
---

> 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

`GET /api/integrations/leadperfection/sync/status`

Returns latest Lead Perfection sync state rows for a workspace. Requires LEAD_PERFECTION_DATA_WINDOW.

## Authentication

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

## Query parameters

- `workspaceId` (`get/api/integrations/leadperfection/sync/status.query.workspaceId`; string, optional)

## Header parameters

- `x-workspace-id` (`get/api/integrations/leadperfection/sync/status.header.x-workspace-id`; string, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/integrations/leadperfection/sync/status \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/integrations/leadperfection/sync/status';
const options = {method: 'GET', headers: {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/sync/status"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
```

## Responses

### 200

Sync state.

### 403

Feature flag is not enabled.


Source: https://developer.channelautomations.com/api/get-api-integrations-leadperfection-sync-status/index.md
