Skip to main content
Question

Webhook Limitations: How to handle Webhooks for Multi-Environment Setup?

  • October 16, 2025
  • 5 replies
  • 33 views

Forum|alt.badge.img+3

Hi RevenueCat team,

I'm running into several webhook limitations while trying to set up proper environment separation for my project. I have 6 apps in one project:

  • Dev iOS
  • Dev Android
  • Preview iOS
  • Preview Android
  • Production iOS
  • Production Android

Dev, Prev, and Prod have their own backend and Webhook Url.

Problems I'm facing:

  1. Can't select multiple specific apps - When creating a webhook, I can only choose "All Apps" or a single app. There's no way to select just "Dev iOS + Dev Android" for a single webhook. Why is this not possible? I don’t understand it...

  2. Each webhook URL can only be used once - If I try to create two separate webhooks (one for Dev iOS, one for Dev Android) pointing to the same backend URL (https://my-dev.supabase.co/webhook), I get an error that the URL is already in use.

  3. Maximum 5 webhooks per project - Even when I work around the above issues by adding query parameters to make URLs unique (e.g., ?env=dev&platform=ios), I can only create 5 webhooks but I need 6 (one per app).

My use case: I need different backend environments (dev, preview, prod) to receive webhooks only from their corresponding apps. The "All Apps" option doesn't work for me because it would send all environment events to one backend.

Questions:

  • Is there a plan to increase the webhook limit beyond 5?
  • Can the webhook configuration support selecting multiple apps? Pleeaaaase
  • What's the recommended approach for multi-environment setups with separate backends?

Any guidance would be appreciated! At the moment the only idea I have is to select always All Apps and then filter in the backend if it’s the right address. But that this solution is a really really really ugly workaround, is obvious I think…. 

5 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 432 replies
  • October 20, 2025

Hey ​@luca-köster!

These feature requests have all been shared with the team, though I don’t have an ETA at this time on if and when they can be supported. 

In the meantime, the workaround that I’d recommend is to separate out your apps into RevenueCat projects by environment and then use one webhook URL for each project with “All apps” selected. This would allow you to send all Dev events to one backend, all Prod events to another, and so on.

Does this approach seem like it could work for you currently?


Forum|alt.badge.img+3
  • Author
  • New Member
  • 3 replies
  • October 21, 2025

Hey, yes — I think this would work. However, I realized that webhooks don’t always fire in the correct order (for example, “Cancel” events sometimes arrive before the “First Purchase”). Because of that, I decided to switch my strategy to client-side polling. It’s more robust and doesn’t require a complete overhaul of my project.

By the way, just as some feedback — setting up multiple environments (which is considered best practice) has been extremely difficult. It’s taken me more than eight working days, and the process is really complex and hard to maintain. Setting up six apps in the stores and getting them approved for closed testing took a huge amount of time. And every time I want to update something, I have to repeat the process six times manually — which makes it very error-prone.

Maybe this is something the team could think about improving. What currently takes eight days could take just eight minutes if we were allowed to set three bundle IDs (with 2/3 just being sandboxes or API calls under the hood idk). As it stands, the developer experience has been really frustrating.


kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 432 replies
  • October 27, 2025

I’ll definitely share your feedback and experience internally. Thank you for taking the time!


Forum|alt.badge.img+8
  • Helper
  • 51 replies
  • November 5, 2025

Also curious about whether or not multiple environments require multiple projects.  I don’t understand how even sandbox purchases work with a single webhook URL...


Forum|alt.badge.img+8
  • Helper
  • 51 replies
  • November 5, 2025

I need 2 webhooks also (major oversight about dev v prod environments).  Some additional questions:

  1. Will I really need to setup multiple Apps in Apple & Google so that I can have 2 webhooks?
  2. I also need the Web Billing integration.  How do I configure a single Stripe account across 2 projects, while having a Prod v Dev project in RevenueCat?  I understand each RC project environment has its own “sandbox”.  Stripe also has a Sandbox, but I don’t know if that should be used, or if we need to also setup a 2nd app in Stripe to cover the “dev” environments/projects.
  3. Anything else I am missing?