Solved

How can I create two webhook in the same project?

  • 31 October 2022
  • 1 reply
  • 15 views

Badge +3

Hi,

 

Please let me know how I can create two webhooks in the same project.

 

One for Development server.

Second for Production Server.

 

Waiting for reply asap.

 

Thanks

icon

Best answer by kaitlin 31 October 2022, 23:17

View original

1 reply

Badge +1

Hi Vincent!

At this time, we only support one webhook url per app. This is definitely on our backlog to support but I don’t have an ETA at this time.

There are a couple things you could try in the meantime:

  • Create a separate duplicate RevenueCat app for your staging/development app, with a separate webhook URL and different API keys
  • 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.
 
Please let me know if this helps and if you have any other questions!

Reply