Record Create
Overview
This webhook response is triggered when a new record or business is created.
Schema
The webhook response follows the JSON schema below:
type
stringlocationId
stringowners
array[string]followers
array[string]properties
array[object]key
stringvalueString
stringid
stringtimestamp
string<date-time>Field Descriptions
type
type- Type:
string - Indicates the type of record created.
locationId
locationId- Type:
string - Identifies the location associated with the created record.
owners
owners- Type:
array of strings - Represents the unique identifiers of users who own the record.
followers
followers- Type:
array of strings - List of users who are following the record for updates.
properties
properties- Type:
array of objects - Contains key-value pairs representing additional details about the record.
key: The property name.valueString: The corresponding value as a string.
id
id- Type:
string - Unique identifier for the created record.
timestamp
timestamp- Type:
string - Format:
date-time - Represents the date and time when the record was created.
Example Response
{"id": "679b8f9bde6a0c356a0311b3","locationId": "eHy2cOSZxMQzQ6Yyvl8P","timestamp": "2025-02-10T08:26:05.961Z","owners": ["60d5ec49f72b2a001f5f9d91"],"followers": ["60d5ec49f72b2a001f5f9d93", "60d5ec49f72b2a001f5f9d94"],"properties": [{"key": "pet_name","valueString": "buddy"}]}
Additional Notes
- Ensure that your webhook listener is capable of processing
POSTrequests. - The
ownersandfollowersfields help in managing record access and tracking. - The
propertiesarray allows extensibility by enabling dynamic field storage.