Adopture Docs
Revenue

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

  1. Open the Adopture dashboard and navigate to your app
  2. Go to Settings
  3. Find the RevenueCat Integration section
  4. 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

  1. Open your RevenueCat dashboard
  2. Go to Project Settings then Integrations then Webhooks
  3. Click Add New Webhook
  4. Paste the Webhook URL from Adopture
  5. Enter the Authentication token from Adopture
  6. Save the webhook configuration

Supported Events

The following RevenueCat events are processed by Adopture:

RevenueCat EventAdopture Event TypeDescription
Initial PurchaseINITIAL_PURCHASEFirst subscription purchase
RenewalRENEWALSubscription renewed
Non-Renewing PurchaseNON_RENEWING_PURCHASEOne-time (non-recurring) purchase
CancellationCANCELLATIONSubscription canceled
RefundREFUNDRefund processed
Trial StartedTRIAL_STARTEDFree trial begins
Trial ConvertedTRIAL_CONVERTEDTrial converts to paid subscription

Managing the Integration

Regenerate Token

If you need a new authentication token (for example, if the current token was exposed):

  1. Go to your app's Settings in the Adopture dashboard
  2. Find the RevenueCat Integration section
  3. Click Regenerate Token
  4. 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:

  1. Go to your app's Settings in the Adopture dashboard
  2. Find the RevenueCat Integration section
  3. 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:

  1. Make a test purchase in your app (or use RevenueCat's sandbox mode)
  2. Open the Revenue section in your Adopture dashboard
  3. 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

On this page