fc5624c7d57a

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-13260150938.9 KB
Integrations

Sync integration

Queues a manual re-sync for a connected integration - customers and revenue for a payment provider (Stripe, Polar, Paddle, Dodo, Creem, Chargebee, Whop), the user backfill for Supabase, or the event-history import for PostHog. The Supabase sync reads the project, schema, and table already configured for the integration and returns 400 when none is configured. For PostHog this re-runs the event-history import with the stored personal API key and is the supported way to retry a failed import; it restarts from the beginning, already-imported events dedupe, and returns 409 while an import is queued or syncing. Terminal BullMQ failures release the import for retry. Returns immediately; poll the integration to watch syncStatus. Other providers re-sync from the dashboard. Requires the integrations:manage scope.

post/integrations/{id}/sync

Path parameters

idstring required

Integration ID.

Response

Sync queued

successboolean
integrationIdstring
providerstring
jobIdstring nullable
syncStatusstring
messagestring

Example response

{
  "success": true,
  "syncStatus": "queued"
}