Configure different webhook URLs for each application environments

Hello all,

Is it possible to configure different Video SDK webhook URLs for each application environments?

I need one endpoint for PROD envinroment but I also need another one for Development purpose.

Is that possible to achieve? If yes, how it works?

Best regards,
Fabrício Bonifácio

Hi @Bonifacio ,

This should be possible to achieve. You can set your environment using the command export NODE_ENV=[preferred environment] and from there, use a conditional to utilize the needed webhooks (i.e.; process.env.NODE_ENV === 'development' ?? [command to run specific webhook].

This is a very general answer to your question and actual implementation may require a bit more written functionality, but overall, what you’re asking for should be achievable.

Thanks,
Rehema

1 Like

Hello Rehema,

Sorry for the late response. I don’t think it resolves my problem.
When I create a webhook in the Zoom Marktplace, there is only one field to set a static URL, so it needs to be Development or Production.

I need both available so I can keep the development after my app goes to production.