Connect the workspace webhook
Create your account and app workspace. Setup provides a webhook URL and secret for that workspace. Add those values to your RevenueCat project’s webhook integration and send a test event. Keep the secret in the integration settings, not in your mobile or browser application.
Use the runtime endpoint supplied by your Spinning Falcon deployment. The current Cloud Functions workspace handler accepts POST at /revenuecatWorkspaceWebhook?workspaceId=YOUR_WORKSPACE_ID. Set Authorization to Bearer followed by the webhook secret. The actual base URL is deployment-specific.
POST YOUR_FUNCTIONS_BASE_URL/revenuecatWorkspaceWebhook?workspaceId=YOUR_WORKSPACE_ID
Content-Type: application/json
Authorization: Bearer YOUR_WEBHOOK_SECRETUse one customer identity
Use the same stable app user ID in RevenueCat and your SDK calls. The integration reads app_user_id, with original_app_user_id as a fallback, and combines subscription fields with SDK customer attributes.
An email address or push token is separate from a subscription ID. Supply reachable channel data and request the appropriate permissions before enabling messages. Test app, product and user identifiers together, especially when a workspace contains multiple apps.
RevenueCat event reference
Spinning Falcon stores both raw and normalised event types. The trial mappings below are implemented in the event normaliser. Other event types retain their uppercase RevenueCat name.
- INITIAL_PURCHASE + period_type TRIAL → TRIAL_STARTED. Use this for trial welcome and activation flows.
- RENEWAL + is_trial_conversion true → TRIAL_CONVERTED. Use this to review conversion from trial to paid.
- BILLING_ISSUE → BILLING_ISSUE. A payment problem; the store remains responsible for billing retries.
- CANCELLATION → CANCELLATION. Renewal intent changed; access may continue until expiration.
- EXPIRATION → EXPIRATION. Distinguish expired access from a cancellation that has not yet expired.
- UNCANCELLATION, RENEWAL and PRODUCT_CHANGE keep their event names. Review their subscription context before messaging.
{
"event": {
"id": "YOUR_TEST_EVENT_ID",
"type": "INITIAL_PURCHASE",
"period_type": "TRIAL",
"app_user_id": "YOUR_TEST_USER_ID",
"product_id": "YOUR_PRODUCT_ID"
}
}Verify ingestion and flow execution separately
Check connection status and the latest event in Integrations, then inspect an active flow’s execution log. A test webhook proves receipt; it does not automatically validate every audience condition, message template or channel credential.
The legacy /api/revcat/webhook/{workspaceId} onboarding endpoint records events and syncs subscriber snapshots but does not execute runtime flows. A deployment must configure NEXT_PUBLIC_REVCAT_WEBHOOK_BASE_URL to the runtime handler for the signup-generated webhook to launch flows. Ask the team to verify that configuration if your URL uses the legacy path.
Add historical data when needed
Webhooks supply events as they arrive. Subscriber lookups and scheduled export import are separate connections for additional context and revenue history. Configure only the data source you need, then check its latest import status before relying on historical charts.
Spinning Falcon is an independent product that integrates with RevenueCat. RevenueCat remains responsible for its subscription infrastructure and store integrations.