RevenueCat Integration
Connect RevenueCat to automatically track subscription events in Adopture.
RevenueCat sends subscription lifecycle events directly to Adopture via webhooks. Once configured, purchase events flow automatically from RevenueCat's servers to your Adopture dashboard — no SDK code needed for revenue tracking.
Setup
1. Enable the Integration in Adopture
- Open the Adopture dashboard and navigate to your app
- Go to Settings
- Find the RevenueCat Integration section
- Click Enable Integration
This generates two values you'll need:
- Webhook URL — Format:
https://api.adopture.com/api/revenuecat/webhooks/{appId} - Authentication token — Used to verify webhook requests
2. Configure the Webhook in RevenueCat
- Open your RevenueCat dashboard
- Go to Project Settings then Integrations then Webhooks
- Click Add New Webhook
- Paste the Webhook URL from Adopture
- Enter the Authentication token from Adopture
- Save the webhook configuration
Supported Events
The following RevenueCat events are processed by Adopture:
| RevenueCat Event | Adopture Event Type | Description |
|---|---|---|
| Initial Purchase | INITIAL_PURCHASE | First subscription purchase |
| Renewal | RENEWAL | Subscription renewed |
| Non-Renewing Purchase | NON_RENEWING_PURCHASE | One-time (non-recurring) purchase |
| Cancellation | CANCELLATION | Subscription canceled |
| Refund | REFUND | Refund processed |
| Trial Started | TRIAL_STARTED | Free trial begins |
| Trial Converted | TRIAL_CONVERTED | Trial converts to paid subscription |
Managing the Integration
Regenerate Token
If you need a new authentication token (for example, if the current token was exposed):
- Go to your app's Settings in the Adopture dashboard
- Find the RevenueCat Integration section
- Click Regenerate Token
- Copy the new token and update it in your RevenueCat webhook configuration
The old token is immediately invalidated. Webhook requests using the old token will be rejected.
Disable the Integration
To stop receiving webhook events from RevenueCat:
- Go to your app's Settings in the Adopture dashboard
- Find the RevenueCat Integration section
- Click Disable Integration
This invalidates the webhook URL and token. You can re-enable the integration at any time, which will generate a new URL and token.
Verification
After completing the setup, verify the integration is working:
- Make a test purchase in your app (or use RevenueCat's sandbox mode)
- Open the Revenue section in your Adopture dashboard
- The purchase event should appear within seconds
If events are not appearing, check:
- The webhook URL is correctly entered in RevenueCat
- The authentication token matches between both dashboards
- The integration is still enabled in Adopture