---
title: "Trigger Lead Perfection call-result sync for one contact"
description: "Pulls Lead Perfection GetLead data for a contact, stores the raw payload, normalizes call results, and updates contact CRM metadata. Requires LEAD_PERFECTION_DATA_SYNC."
---

> 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/sync/trigger`

Pulls Lead Perfection GetLead data for a contact, stores the raw payload, normalizes call results, and updates contact CRM metadata. Requires LEAD_PERFECTION_DATA_SYNC.

## Authentication

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

## Header parameters

- `x-workspace-id` (`post/api/integrations/leadperfection/sync/trigger.header.x-workspace-id`; string, required) — Workspace id for the sync.

## Request body

_Required._

- `contact_id` (`post/api/integrations/leadperfection/sync/trigger.contact_id`; string, required) — Channel Automation contact UUID. For manual LP-first refresh, this may also be a Lead Perfection prospect id or LP URL containing custid.
- `cst_id` (`post/api/integrations/leadperfection/sync/trigger.cst_id`; string, optional) — Lead Perfection prospect/customer id.
- `lead_perfection_url` (`post/api/integrations/leadperfection/sync/trigger.lead_perfection_url`; string, optional) — Lead Perfection URL containing a custid query parameter.
- `workspace_id` (`post/api/integrations/leadperfection/sync/trigger.workspace_id`; string, optional) — Optional fallback when x-workspace-id is not supplied.

## Example request

```json
{
  "contact_id": "string",
  "cst_id": "string",
  "lead_perfection_url": "string",
  "workspace_id": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/integrations/leadperfection/sync/trigger \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: string' \
  --data '
{
  "contact_id": "string",
  "cst_id": "string",
  "lead_perfection_url": "string",
  "workspace_id": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/integrations/leadperfection/sync/trigger';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-workspace-id': 'string',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    contact_id: 'string',
    cst_id: 'string',
    lead_perfection_url: 'string',
    workspace_id: '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/integrations/leadperfection/sync/trigger"

payload = {
    "contact_id": "string",
    "cst_id": "string",
    "lead_perfection_url": "string",
    "workspace_id": "string"
}
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

Sync completed or skipped with a reason.

### 400

Missing workspace or contact id.

### 403

Feature flag is not enabled.

### 404

Contact or Lead Perfection connection not found.

### 409

A sync is running for this workspace; try again in a minute.

### 500

Sync failed.


Source: https://developer.channelautomations.com/api/post-api-integrations-leadperfection-sync-trigger/index.md
