Webhook Events
Available Events
| Event Type | Description |
|---|---|
note.created | Triggered when a new note is created |
note.audio_uploaded | Triggered when an audio recording is uploaded |
test | Used for testing webhook configurations |
Common Payload Structure
All webhook payloads share a common structure defined by theWebhookPayload<T> interface:
The type of event that triggered the webhook. Example:
"note.created"A unique identifier for this event. This ID remains the same across retries of
the same event, enabling deduplication. Example:
"evt_123abc456def789"The ID of the webhook configuration that triggered this event. Example:
"wh_123abc456def789"The ID of the workspace where the event occurred. Example:
"ws_123abc456def789"ISO8601 timestamp of when the event occurred. Example:
"2023-01-01T00:00:00.000Z"Event-specific data payload. The structure varies based on the event type.
Event-Specific Payloads
note.created
A Note object containing the created note’s
data.
note.audio_uploaded
URL to access the uploaded audio recording. Example:
"https://storage.caret.so/recordings/123abc456def789.mp3"