Testing Webhooks in different environment

My company has 3 different environment: development, staging, and production.

I am working on creating a public app to access HubSpot’s API, add some custom properties and use Webhooks.

My question is, what is the expected workflow for Webhooks to be tested when only a single URL can be configured?

Only workaround I can think of is to create a app for each environment, but I am not sure if that will be hard to maintain. As I want the apps to all be the same except for where the webhook events are sent.

Hi I was wondering if I can have 3 different targets URL for my app webhook? I want one for each environment we have (tst, acc and prd) but using the same webhook.

thanks and sorry if it’s dumb, I’m asking in the name of my devs :slightly_smiling_face:

Hi, @CNonato :waving_hand: Definitely no dumb questions here.

Looking at the developer documentation for Webhooks, there is only one targetURL field.

One question — have you investigated using Webhooks in Workflows for this project? They have the same restriction, only one targetURL field, but you can set more than one as an action.

Best,

Jaycee