# Webhook with object type subscription

**URL:** <https://community.hubspot.com/t/webhook-with-object-type-subscription/121503>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [November 27, 2024, 3:11pm UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503 "2024-11-27T15:11:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJonsson1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@AJonsson1](https://community.hubspot.com/u/AJonsson1)\
**Post date:** [November 27, 2024, 3:11pm UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/1 "2024-11-27T15:11:18Z")

</div>

Hi,  
I am trying to create a webhook using the new BETA functionality.

 ![AJnsson1_0-1732719939074.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/4/9481182667096ef287c508f4c0a0c9a259bdfa76.png)

I would like to trigger the webhook when a status is changed for a subscription. When I use the API endpoint [https://api.hubapi.com/communication-preferences/v4/statuses/\<email\>?channel=EMAIL](https://community.hubspot.com/)  
I get all subscriptions with the status:  
{  
“businessUnitId”: 0,  
“channel”: “EMAIL”,  
“subscriberIdString”: \<email\>,  
“subscriptionId”: \<subscriptionId\>,  
“subscriptionName”: \<name\>,  
“status”: “SUBSCRIBED”,  
“source”: \<source\>,  
“legalBasis”: “CONSENT\_WITH\_NOTICE”,  
“legalBasisExplanation”: “\n\<p\>I agree.\</p\>”,  
“setStatusSuccessReason”: null,  
“timestamp”: “2024-11-26T11:59:19.215Z”  
},  
Am I looking at the wrong property or do you have any suggestion on how I can achieve this?  
Br,  
André

---

<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:** [November 27, 2024, 9:34pm UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/2 "2024-11-27T21:34:18Z")

</div>

Hey, [@AJönsson1](https://community.hubspot.com/t5/user/viewprofilepage/user-id/839529) 👋 Is your custom webhook producing any information? It’s not clear if you’re getting — no response, an error, or something unexpected.

Thanks! — Jaycee

---

<div class="post-metadata">

**Author:** ![AJonsson1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@AJonsson1](https://community.hubspot.com/u/AJonsson1)\
**Post date:** [November 27, 2024, 10:05pm UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/3 "2024-11-27T22:05:16Z")

</div>

Hello Jaycee,  
No I don´t get any response at all. So my question is if I have missunderstood which property to use or if I am doing anything else wrong? I have tested other webhooks on contacts with success.  
Br,  
André

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [November 28, 2024, 1:43am UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/4 "2024-11-28T01:43:20Z")

</div>

Hi [@AJönsson1](https://community.hubspot.com/t5/user/viewprofilepage/user-id/839529) 👋

The “Subscriptions” CRM object-type is part of [HubSpot’s Commerce offering](https://www.hubspot.com/products/commerce) -- it’s completely separate to a Contact’s “Communication Subscriptions”. As far as I’m aware, it’s not currently possible to configure a webhook subscription based on a Contact’s “Communication Subscriptions”. However, I could be wrong.

Unless someone else chimes in here, you may have to consider a polling solution that would call [HubSpot’s Subscription Preferences API](https://developers.hubspot.com/beta-docs/guides/api/marketing/subscriptions-preferences).

I hope this proves helpful. Please let me know if you have any follow-up questions.

---

<div class="post-metadata">

**Author:** ![AJonsson1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@AJonsson1](https://community.hubspot.com/u/AJonsson1)\
**Post date:** [November 28, 2024, 7:18am UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/5 "2024-11-28T07:18:02Z")

</div>

Hi Zach,  
Okay, then I am not sure what the purpose would be for that webhook but thank you for the information. Yes, but I would like to avoid get all contacts and only those that hase been changed since the last time I checked. I am working on an integration towards Dynamics CRM.  
Do you know i there are some other properties that could be used to set up a webhook for this kind i task?  
Br,  
André

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [November 30, 2024, 5:19am UTC](https://community.hubspot.com/t/webhook-with-object-type-subscription/121503/6 "2024-11-30T05:19:25Z")

</div>

Hi [@AJönsson1](https://community.hubspot.com/t5/user/viewprofilepage/user-id/839529) 👋

Not that I’m aware of, unfortunately. [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) 👋 do you know if Contact “Communication Subscriptions” are planned to be added to webhook subscriptions as a selectable object type? If not, are you aware of any plans to store Communication Subscription statuses as property values on the Contact object type? Thanks 🙌
