Integrations
Connect integration
Connects an API-key / webhook-secret integration: polar, paddle, dodo, whop, creem, chargebee, clerk, posthog, or affonso. Credentials are validated against the provider where possible, stored encrypted, and never returned. Payment providers queue their initial revenue backfill; Affonso queues its affiliate backfill; PostHog can optionally import event history. The response includes the webhookUrl to configure at the provider with the same secret. Reconnecting replaces stored credentials. OAuth and app-install providers (Stripe, Shopify, Supabase, GitHub, WooCommerce, Meta) return a 400 pointing at the dashboard. Requires the integrations:manage scope.
post/integrations/connect
Request body
Response
Integration connected
Example response
{
"success": true,
"integration": {
"provider": "shopify",
"name": "Shopify",
"lastSyncSkipped": {
"records": [
{
"reasonCode": "invalid_email_domain",
"reason": "Invalid domain for \"buyer@example.com\": Domain cannot receive email (no MX records)"
}
]
}
}
}