Webhook events from multiple accounts (portalIds)

Hello everybody!

I am building an integration with HubSpot API and need to implement webhooks for different accounts. I wonder if the same request to my endpoint could contain events from different HubSpot accounts. That is, could two events from the same webhook request body contain different portalIds? See the following request body example:

[
 {
 "objectId": 1246965,
 "propertyName": "lifecyclestage",
 "propertyValue": "subscriber",
 "changeSource": "ACADEMY",
 "eventId": 3816279340,
 "subscriptionId": 25,
 "portalId": 33, // This is one portalId
 "appId": 1160452,
 "occurredAt": 1462216307945,
 "subscriptionType":"contact.propertyChange",
 "attemptNumber": 0
 },
 {
 "objectId": 1246978,
 "changeSource": "IMPORT",
 "eventId": 3816279480,
 "subscriptionId": 22,
 "portalId": 34, // This is a different portalId
 "appId": 1160452,
 "occurredAt": 1462216307945,
 "subscriptionType": "contact.creation",
 "attemptNumber": 0
 },
 ...
]

Hello @lgomez

Welcome to the Community! Excited to see what you are building :grinning_face_with_smiling_eyes:

There is no guarantee that the contents of a single payload will be from one portal. Similar question here

Happy hunting!