#Aarti
1 messages · Page 1 of 1 (latest)
Is it possible to register multiple webhook endpoints for the same event?
You can do this
But then does this mean that each endpoint will receive all the events generated? For example, the invoice.paid event - will all the webhooks receive this event?
Your webhook endpoints will receive only the events you configured them to receive. If you configured them all to receive invoice.paid events, then they all will receive those. You have complete control over this though
okay so if I configured two endpoints to receive the invoice.paid event, both of them will receive the same event, right?
yes
Got it. In case of registering multiple endpoints, there won't be any way to know the env that the webhook event belongs to though 🤔
You can use query params
For example, if I have a test and a stage env, the event that I receive over one of my webhooks could belong to either test or stage
Ah yeah
That's why we recommend separate accounts for staging and test
To keep all objects separate
Hmm makes sense. Just wanted to check in with y'all too. Thank you! 💯