> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync Integration

> Queue a manual re-sync for a payment provider integration

Queue a manual re-sync of customers and revenue for a payment provider integration.

Supported for Stripe, Polar, Paddle, Dodo, Creem, Chargebee, and Whop. Other providers re-sync from the dashboard, because their backfills need credentials and configuration selected at connect time.

The call returns immediately. Poll [Get Integration](/api-reference/integrations/get) to watch `syncStatus` and `lastSyncAt`.

Requires an API key with the `integrations:manage` scope.

## Request

<ParamField path="id" type="string" required>
  Integration ID, from [List Integrations](/api-reference/integrations/list).
</ParamField>

This endpoint takes no request body.

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/integrations/int_abc123/sync" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response fields

<ResponseField name="jobId" type="string">
  Background job ID for the queued sync, or `null` when no job ID was returned.
</ResponseField>

<ResponseField name="syncStatus" type="string">
  Sync status after queueing, always `queued` on success.
</ResponseField>

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "integrationId": "int_abc123",
    "provider": "stripe",
    "jobId": "1042",
    "syncStatus": "queued",
    "message": "Sync queued for Stripe. Poll the integration to watch syncStatus and lastSyncAt."
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": "Shopify does not support a manual sync from the API. Re-run this provider's sync from Settings -> Integrations in the dashboard."
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 403 theme={null}
  {
    "success": false,
    "error": "API key is missing required scope: integrations:manage"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Integration not found"
  }
  ```

  ```json 409 theme={null}
  {
    "error": "A sync is already in progress for this integration."
  }
  ```
</ResponseExample>
