RelationCreate Webhook Event

Relation Create

This webhook response is triggered when an relation between objects is created.

For example, in a business management system, a company may want to establish an association between a custom object record and a contact. In this case:

  • The second object (contact) would represent a person associated with the custom object record.
  • The first object (custom object) could represent an entity such as a project or a transaction.
  • The system allows for dynamic relationships between entities, facilitating better data management.

The webhook response follows the JSON schema below:

id
string
firstObjectKey
string
firstRecordId
string
secondObjectKey
string
secondRecordId
string
associationId
string
locationId
string
  • Type: string
  • Unique identifier for the created association.
  • Type: string
  • Key representing the first object in the association.
  • Type: string
  • Identifier of the first object’s specific record.
  • Type: string
  • Key representing the second object in the association.
  • Type: string
  • Identifier of the second object’s specific record.
  • Type: string
  • Unique identifier for the association that was created.
  • Type: string
  • Identifies the location associated with the created association.
{
"id": "67ae0d741119d218c9d0c477",
"firstObjectKey": "custom_objects.mad",
"firstRecordId": "67a349a79b28947ec1f65bb5",
"secondObjectKey": "contact",
"secondRecordId": "emqfhnG3g9D9chy9inTz",
"associationId": "669e5795add2094075906c65",
"locationId": "eHy2cOSZxMQzQ6Yyvl8P"
}
  • The firstObjectKey and secondObjectKey define the relationship between the created entities.