You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sqlite-cloud/platform/webhooks.mdx
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,40 @@ status: publish
6
6
slug: webhooks
7
7
---
8
8
9
-
Webhooks in SQLite Cloud are a powerful way to receive and send event-based notifications.
9
+
**Webhooks** are HTTP callbacks that allow your applications to receive real-time notifications when specific events occur. In the context of SQLite Cloud, webhooks make it easy to build reactive systems by automatically sending notifications when data changes happen within your databases.
10
+
11
+
## Real-Time Notifications for Database Writes
12
+
13
+
Use the **Webhooks panel** to effortlessly create real-time notifications for write operations—such as inserts, updates, or deletes—within your SQLite Cloud database.
14
+
15
+
For example, you can configure SQLite Cloud to notify a [webhook.site](https://webhook.site) endpoint every time a write operation occurs on the `albums` table of the `chinook.sqlite` database.
With change data webhooks, you can send notifications from SQLite Cloud to any HTTP endpoint when an insert, update or delete operation occurs on a specified database and/or table. The webhook payload includes the database name, table name, and the row data that was changed.
20
+
21
+
Change Data Webhooks let you send structured HTTP requests to any external service whenever a row in a specific database and/or table is modified. These webhooks include:
22
+
23
+
***Database name**
24
+
***Table name**
25
+
***Operation type** (insert, update, delete)
26
+
***Changed row data**
27
+
28
+
This enables seamless integration with logging systems, monitoring dashboards, or external APIs that react to database activity.
29
+
30
+
Upon creation, each webhook is assigned a **secret key** used to verify the authenticity of incoming requests.
0 commit comments