---
title: "Read workspace sync freshness and schedule"
description: "Returns complete-sync freshness, next run, failure and retry state for the authenticated 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/health`

Returns complete-sync freshness, next run, failure and retry state for the authenticated workspace. Requires LEAD_PERFECTION_DATA_WINDOW.

## Authentication

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

## Header parameters

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

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Workspace sync health, or null when not enrolled.

### 400

Workspace id is required.

### 401

Authentication required.

### 403

Workspace access or data window is not enabled.

### 500

Health could not be loaded.


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