AssociationCreate event fires when a new association type is defined between two object types in a sub-account. An association defines the structural relationship rule — for example, linking “Buyer” custom objects to “Property” custom objects. Associations support contact-to-contact, contact-to-custom object, and custom-to-custom object configurations. Use this event to replicate your data model to external systems or automatically configure dependent tooling when new relationship types are introduced.
Payload
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the association definition |
key | string | Unique key for this association type (e.g., "custom_objects.buyer_to_property") |
firstObjectKey | string | Object type key for the first side of the association |
secondObjectKey | string | Object type key for the second side of the association |
firstObjectLabel | string | Human-readable label for the first object’s role in the relationship |
secondObjectLabel | string | Human-readable label for the second object’s role in the relationship |
associationType | string | Whether the association is "USER_DEFINED" or system-defined |
locationId | string | Sub-account ID where the association type was created |
Example payload
Related
- Association Update — fires when an association definition is modified
- Association Delete — fires when an association definition is removed
- Associations API — manage association definitions and relations
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)