{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with HubSpot.",
  "vendor": "hubspot",
  "event": "object.associationChange",
  "resource": "object",
  "url": "https://hookdeck.com/webhooks/hubspot/events#object.associationChange",
  "description": "An association on a record of that type is added or removed",
  "trigger": null,
  "listed_in": "https://developers.hubspot.com/docs/apps/legacy-apps/private-apps/build-with-projects/configure-webhooks",
  "confidence": "documented",
  "schema_source": "from HubSpot docs (example)",
  "identified_by": "subscriptionType field in the body",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 20,
    "key_fields": [],
    "delivery": {
      "title": "From HubSpot docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": [
      {
        "eventId": 668521389,
        "subscriptionId": 621550,
        "portalId": 123456,
        "appId": 3715530,
        "occurredAt": 1715708228603,
        "subscriptionType": "object.associationChange",
        "attemptNumber": 0,
        "changeSource": "USER",
        "associationType": "CONTACT_TO_DEAL",
        "associationCategory": "HUBSPOT_DEFINED",
        "associationTypeId": 4,
        "fromObjectId": 3788,
        "fromObjectTypeId": "0-3",
        "toObjectId": 4658499728,
        "toObjectTypeId": "0-1",
        "associationRemoved": true,
        "isPrimaryAssociation": false,
        "sourceId": "userId:864745280"
      },
      {
        "eventId": 2975980077,
        "subscriptionId": 621550,
        "portalId": 885814039,
        "appId": 5553555,
        "occurredAt": 1715708228603,
        "subscriptionType": "object.associationChange",
        "attemptNumber": 0,
        "changeSource": "USER",
        "associationType": "DEAL_TO_CONTACT",
        "associationCategory": "HUBSPOT_DEFINED",
        "associationTypeId": 3,
        "fromObjectId": 4658499728,
        "fromObjectTypeId": "0-3",
        "toObjectId": 3788,
        "toObjectTypeId": "0-1",
        "associationRemoved": true,
        "isPrimaryAssociation": false,
        "sourceId": "userId:864745280"
      }
    ]
  }
}