Overview
Webhook messages represent payloads that were sent (or attempted to be sent) to your subscribed endpoints. Each message contains the event type, payload data, and delivery status information.List Messages
/v1/webhooks/messages
Retrieve all webhook messages for your organization
Query Parameters
Filter messages by event type(s)Accepts multiple values:
?event_types=sync.completed&event_types=sync.failedResponse
Returns an array of webhook message objects.Unique UUID identifier for this message
The type of event (e.g.,
sync.completed, sync.failed)The event payload data, matching what is delivered to webhooksStructure varies by event_type.
When this message was created (ISO 8601 format, UTC)
Channels this message was sent to
Example Request
Example Response
Get Message
/v1/webhooks/messages/{message_id}
Retrieve a specific webhook message by its ID
Path Parameters
UUID of the message to retrieve
Query Parameters
Include delivery attempts for this messageEach attempt includes the HTTP response code, response body, and timestamp.
Response
Returns a message object with optional delivery attempts.Delivery attempts for this message (only when
include_attempts=true)Example Request
Example Response
Event Types
Airweave sends webhook events for the following event types:Sync Events
- sync.pending: Sync job has been queued
- sync.running: Sync job is actively running
- sync.completed: Sync job finished successfully
- sync.failed: Sync job encountered an error
- sync.cancelled: Sync job was cancelled
Source Connection Events
- source_connection.created: New source connection created
- source_connection.auth_completed: OAuth authentication completed
- source_connection.deleted: Source connection deleted
Collection Events
- collection.created: New collection created
- collection.updated: Collection updated
- collection.deleted: Collection deleted