Webhook map
databasedelivered(database.delivered)deliveryFailed(database.deliveryFailed)test(database.test)updated(database.updated)
HTTP handler setup
app/api/webhook/route.ts
Events
Database
Delivered
database.delivered
New files reached one of the organization’s storage destinations
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Delivery Failed
database.deliveryFailed
Deliveries to one of the organization’s storage destinations have failed for a day
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Test
database.test
Test connection was clicked for this destination in the console
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Updated
database.updated
A database the destination announces was published with new contents; carries the build and each file with its size, SHA-256 and download URL
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example