Webhook Payload Structure
A webhook payload contains data about events occurring in a source system. Typically formatted as JSON, this structured information is sent to a specified URL when a predefined event triggers the webhook. Understanding the payload structure is essential for developers to process and respond to incoming webhook data effectively. This page outlines the standard format of our webhook payloads, detailing the key components in facilitating data exchange between applications.
Structure
The WebhookPayload
type is defined as follows:
Field Definitions
cuid: A unique identifier for the webhook request.
actorCuid: A string representing the unique identifier of the actor or user who triggered the event.
event: A string indicating the type of event that triggered the webhook.
targetCuid: A string representing the unique identifier of a single entity associated with the event. This field is mutually exclusive with targetCuids.
targetCuids: An array of strings representing the unique identifiers of multiple entities associated with the event. This field is mutually exclusive with targetCuid.
targetType: A string indicating the type of entity associated with the event.
text: A string field, containing additional information or description related to the webhook event.
The fields targetCuid
and targetCuids
are mutually exclusive, meaning a payload will include either but never both.
Last updated
Was this helpful?