Can I create two webhooks?

  • 19 July 2022
  • 1 reply

Badge +5

Our backend system are splited to staging and production, but revenuecat’s sandbox looks doesn’t support webhook, so I want to add both staging and production webhooks to the app.

1 reply

Userlevel 5
Badge +10

Hey @Patricia Wong 

We don't currently support more than one webhook URL, so there are a couple things you could try:

  • Create a separate RevenueCat app for your staging app, with a separate webhook URL
  • Use a neutral webhook endpoint and use the environment field in webhooks to differentiate between event types, such as SANDBOX or PRODUCTION

We have developers who use either of these options often, so it will come down to personal preference. 


We also have a community article about dealing with sandbox webhooks that’s worth a read: