Hi Team, we have a requirement where for every subscription we need to register multiple target url while the subscription is active for other target url, Please let us know if this is possible via API. and if yes kindly share the resources regarding the same.
Hi @ShubhangiPawar, I hope that you are well!
I found for you the solution from my colleague @Jaycee_Lewis on this similar post “Testing Webhooks in different environment” and there is only one targetURL field.
I’d like to share the solution from @Mike_Eastwood on this post “Using Webhooks Across Multiple Customer Accounts” where you can have the documentation and the Webhooks in workflows option too.
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation ![]()
Thanks and have a lovely day!
Best,
Bérangère
As far as I know you can only have one URL per Webhook.
The way we handle it, with our integrations, is to have a single URL that reads the Portal ID in the payload. Our enpoint then dispatches the payload to a Job Queue depending on the client, integration and our tier/subscription.
The other benefit is you can respond to the Webhook really quickly which prevents unecessary retries from HubSpot’s API.
Have fun
Mike
p.s. thank you for the mention @BérangèreL
Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of Webalite a Gold HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world’s first automated HubSpot Portal Audit that helps you work smarter with HubSpot.