# Webhooks API (Contact/Association changed)

**URL:** <https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [September 29, 2023, 8:16pm UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817 "2023-09-29T20:16:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RHow](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RHow](https://community.hubspot.com/u/RHow)\
**Post date:** [September 29, 2023, 8:16pm UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817/1 "2023-09-29T20:16:15Z")

</div>

Hi there,

According to the example of event payload (when you click on “Details” of subscription) it sould look like this:

{  
“eventId”: “100”,  
“subscriptionId”: 229xxxx,  
“portalId”: 555xxxx,  
“occurredAt”: 1696016361042,  
“subscriptionType”: “contact.associationChange”,  
“attemptNumber”: 0,  
“objectId”: 123,  
“changeSource”: “CRM”,  
“associationType”: “CONTACT\_TO\_COMPANY”,  
“fromObjectId”: 10,  
“toObjectId”: 20,  
“associationRemoved”: false,  
“isPrimaryAssociation”: false,  
“appId”: 19xxxx  
}

but in reality I’m receiving it like this:

{  
“eventId”: “100”,  
“subscriptionId”: 229xxxx,  
“portalId”: 555xxxx,  
“occurredAt”: 1696016361042,  
“subscriptionType”: “contact.associationChange”,  
“attemptNumber”: 0,  
“changeSource”: “CRM”,  
“associationType”: “CONTACT\_TO\_COMPANY”,  
“fromObjectId”: 123,  
“toObjectId”: 20,  
“associationRemoved”: false,  
“isPrimaryAssociation”: false,  
“appId”: 19xxxx  
}

So, it is missing “objectId” property (instead I see real objectId in “fromObjectId” which is very strange).

It looks like a bug or it is intended? Can you please advise?

Thank you.

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [October 10, 2023, 10:53am UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817/2 "2023-10-10T10:53:46Z")

</div>

Hi @RHow,

Do you still need help with this?

Could you tell us if you’re working with [webhooks used in workflows](https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-workflows?_ga=2.142972789.1134321462.1696873271-771180865.1696873271&_gl=1*al9bzl*_ga*NzcxMTgwODY1LjE2OTY4NzMyNzE.*_ga_LXTM6CQ0XK*MTY5NjkzNDYzMi4xLjAuMTY5NjkzNDYzMi42MC4wLjA.) or the [webhooks API?](https://legacydocs.hubspot.com/docs/methods/webhooks/webhooks-overview?hsLang=en)

Thanks,

Mia, Community Team

---

<div class="post-metadata">

**Author:** ![RHow](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RHow](https://community.hubspot.com/u/RHow)\
**Post date:** [October 10, 2023, 2:16pm UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817/3 "2023-10-10T14:16:46Z")

</div>

Hi Mia,

\> Do you still need help with this?

Yes please.

\> Could you tell us if you’re working with [webhooks used in workflows](https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-workflows?_ga=2.142972789.1134321462.1696873271-771180865.1696873271&_gl=1*al9bzl*_ga*NzcxMTgwODY1LjE2OTY4NzMyNzE.*_ga_LXTM6CQ0XK*MTY5NjkzNDYzMi4xLjAuMTY5NjkzNDYzMi42MC4wLjA.) or the [webhooks API?](https://legacydocs.hubspot.com/docs/methods/webhooks/webhooks-overview?hsLang=en)

Webhooks API ([Accounts Dashboard | HubSpot](https://legacydocs.hubspot.com/docs/methods/webhooks/webhooks-overview?hsLang=en))

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [October 13, 2023, 5:25pm UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817/4 "2023-10-13T17:25:35Z")

</div>

Thank you @RHow, apologies for the late reply!

I wanted to ask a couple of subject matter experts for help as this is a bit over my head:

Hi @louischausse, @Teun, @ChristinaKay, do you have any ideas why the “objectId” property is missing in @RHow’s event payload? Thank you!

Cheers  
Mia, Community Team

---

<div class="post-metadata">

**Author:** ![RHow](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RHow](https://community.hubspot.com/u/RHow)\
**Post date:** [October 25, 2023, 6:55pm UTC](https://community.hubspot.com/t/webhooks-api-contact-association-changed/90817/5 "2023-10-25T18:55:49Z")

</div>

Hi Mia,

Do you have any update on this?

Thank you for your time.
