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
},
...
]