ObjectSchemaCreate Webhook Event

Object Schema Create

The Object Schema Create is triggered whenever a custom object is created. This webhook allows systems to listen for new custom objects and take appropriate actions based on the event.

The webhook payload follows the JSON schema below:

labels
object
description
string
searchableProperties
array
primaryDisplayProperty
string
key
string
locationId
string
createdBy
object
updatedBy
object
timestamp
string<date-time>
objectType
string
Allowed value:
USER_DEFINED
Default:
USER_DEFINED

An object that defines the human-readable names associated with the custom object.

  • singular: The name of the object in singular form (e.g., "pet").
  • plural: The name of the object in plural form (e.g., "pets").
  • Type: string
  • A brief explanation of the custom object.
  • Type: array
  • List of properties that are indexed for search.
  • Type: string
  • Required: ✅
  • The key property used to display the custom object.
  • Type: string
  • Required: ✅
  • Unique identifier for the custom object type.
  • Type: string
  • Required: ✅
  • Identifies the location associated with the custom object.
  • Type: object
  • Metadata about the user who created the object.
  • Type: object
  • Metadata about the user who last updated the object.
  • Type: string
  • Format: date-time
  • The date and time when the object was created.
  • Type: string
  • Default: "USER_DEFINED"
  • Specifies the type of object, currently supports only USER_DEFINED.
{
"id": "6798a1a18fc746e0eba2ccfe",
"labels": {
"singular": "pet",
"plural": "pets"
},
"description": "Pet's Description",
"searchableProperties": [
"custom_objects.pets.pet_name"
],
"primaryDisplayProperty": "custom_objects.pets.pet_name",
"key": "custom_objects.pets",
"locationId": "eHy2cOSZxMQzQ6Yyvl8P",
"updatedAt": "2025-01-28T09:21:37.311Z",
"createdAt": "2025-01-28T09:21:37.311Z",
"objectType": "USER_DEFINED",
"timestamp": "2025-02-10T08:26:05.961Z"
}
  • Ensure your webhook listener is set up to handle POST requests.
  • The payload format may change in future versions; check for updates regularly.
  • The key field should be unique within a given locationId.