APIs & Integrations

Hima
Participant

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE


Screen Shot 2019-03-13 at 8.27.14 PM.png

In this example, all the events included in the webhook requests JSON array are from the same portal (i.e. portalId 33).

 

Is there any possibility that HubSpot might include events from various portalds in a single request?

 

 

 

1 Accepted solution
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE

Hi @Hima , apologies I misspoke. I confirmed with my team that we will batch from other accounts as well, so you may see more than one portalId when we do batch. This is also discussed on this post from the old developer forums. https://integrate.hubspot.com/t/webhook-notification-batch-grouped-by-portalid/8455

 

Sorry about the confusion!

View solution in original post

0 Upvotes
4 Replies 4
cbarley
HubSpot Alumni
HubSpot Alumni

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE

Hi @Hima , no that won't happen. Since your application can be installed into multiple accounts, we specify which portalId the event came from. There shouldn't be several different portalIds in the same request.

0 Upvotes
Hima
Participant

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE

Thank you @cbarley The question is specifically regarding batch notifications where HubSpot delivers a series of notifications in a single request. In these cases, the portalId is listed inside each array element (for each event in the batch of events). In the payloads that we have seen so far, the same portalId is repeated many times. Based on this response, HubSpot won't combine and deliver event notifications coming from various portals through a single batch request? Just making sure we are on the same page. Thanks!

0 Upvotes
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE

Hi @Hima , apologies I misspoke. I confirmed with my team that we will batch from other accounts as well, so you may see more than one portalId when we do batch. This is also discussed on this post from the old developer forums. https://integrate.hubspot.com/t/webhook-notification-batch-grouped-by-portalid/8455

 

Sorry about the confusion!

0 Upvotes
cbarley
HubSpot Alumni
HubSpot Alumni

Can webhook payloads for contact.creation include events from multiple portalIds?

SOLVE

Ah, sorry @Hima , I misunderstood your question. Let me take a closer look

0 Upvotes