# Webhook payload

**URL:** <https://community.hubspot.com/t/webhook-payload/134380>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [June 12, 2025, 9:46am UTC](https://community.hubspot.com/t/webhook-payload/134380 "2025-06-12T09:46:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fterp](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@fterp](https://community.hubspot.com/u/fterp)\
**Post date:** [June 12, 2025, 9:46am UTC](https://community.hubspot.com/t/webhook-payload/134380/1 "2025-06-12T09:46:16Z")

</div>

Webhook payload on Hubspot vs what I end up getting on my Apps Script web app is different - I GET WAY LESS datapoints, why?

I understand maybe additional datapoints are in BETA, but I have flagged to support and still no clear answer.  
I want my apps script web app to recieve all datapoints from the payload:

{  
“eventId”: 1626806091,  
“subscriptionId”: 3759774,  
“portalId”: 5599826,  
“appId”: 3986312,  
“occurredAt”: 1749664733960,  
“subscriptionType”: “object.associationChange”,  
“attemptNumber”: 0,  
“changeSource”: “USER”,  
“associationType”: “CONTACT\_TO\_DEAL”,  
“associationCategory”: “HUBSPOT\_DEFINED”,  
“associationTypeId”: 4,  
“fromObjectId”: 126846003781,  
“fromObjectTypeId”: “0-1”,  
“toObjectId”: 38580006684,  
“toObjectTypeId”: “0-3”,  
“associationRemoved”: true,  
“isPrimaryAssociation”: false,  
“sourceId”: “userId:45825670”  
}  
At the moment I only get the following:

{  
“eventId”: 1626806091,  
“fromObjectTypeId”: “0-1”,  
“toObjectTypeId”: “0-3”,  
“associationTypeId”: 4,  
“subscriptionType”: “object.associationChange”  
}  
I WANT THE REST!!!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 12, 2025, 6:05pm UTC](https://community.hubspot.com/t/webhook-payload/134380/2 "2025-06-12T18:05:50Z")

</div>

Hey @fterp 👋 Thanks for your question. This is a common point of confusion when working with Google Apps Script.

Looking at the official [Google Apps Script documentation](https://www.google.com/search?q=https://developers.google.com/apps-script/guides/web%23request_parameters), have you tried to access the `e.postData.contents` property in your script? This will give you the full raw JSON string from HubSpot, which you can then parse to access all the data points you’re looking for.

Have fun testing! — Jaycee
