How to identify which user has triggered a webhook?
Hi there!
I have installed my app, which contains a webhook, in my test account. And whenever I add a contact to my test account, the webhook is triggered.
My question is, there's no way I can identify which test account has triggered the webhook. Is there a way I can tell this? For example, when the contact is added, can I get additional information like accessToken in the request object?
Please note that I'm the request body I'm receiving is: [ { "eventId": 206178747, "subscriptionId": 327123, "portalId": 8688473, "appId": 231379, "occurredAt": 1603387436558, "subscriptionType": "contact.creation", "attemptNumber": 0, "objectId": 351, "changeFlag": "NEW", "changeSource": "CONTACTS" } ]
How to identify which user has triggered a webhook?
Trying to catch up here...
Are you saying that your app on Azure allows HubSpot users to login on your Azure app and submit contacts to their HS Portal using the contact API? And you would like to know which user in your Azure app has created the contact?
Just a little confused on where a webhook comes into play in this flow