Skip to main content
Question

Can I create two webhooks?

  • 19 July 2022
  • 1 reply
  • 73 views

Forum|alt.badge.img+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

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • 338 replies
  • July 20, 2022

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:

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings