Webhook map
deploy(deploy)devServer(devServer)splitTest(splitTest)submission(submission)
HTTP handler setup
app/api/webhook/route.ts
Events
Deploy
Deploy
deploy
A deploy was created, started building, failed, was locked, unlocked, restored or deleted, failed after succeeding or succeeded after failing, or a deploy request was pending, accepted or rejected (X-Netlify-Event deploy_created, deploy_building, deploy_failed, deploy_locked, deploy_unlocked, deploy_restored, deploy_deleted, deploy_failed_after_succeeding, deploy_succeeded_after_failing, deploy_request_pending, deploy_request_accepted, deploy_request_rejected)
Payload
function_schedules full type
function_schedules full type
functions_region_overrides full type
functions_region_overrides full type
Response data full type
Response data full type
webhookHooks example
Dev Server
Dev Server
devServer
A dev server was created, went live, stopped or failed (X-Netlify-Event dev_server_created, dev_server_live, dev_server_stopped, dev_server_failed)
Payload
Response data full type
Response data full type
webhookHooks example
Split Test
Split Test
splitTest
A split test was activated, deactivated or changed (X-Netlify-Event split_test_activated, split_test_deactivated, split_test_modified)
Payload
branches full type
branches full type
Response data full type
Response data full type
webhookHooks example
Submission
Submission
submission
A form on the site received a submission (X-Netlify-Event submission_created)
Payload
data full type
data full type
Response data full type
Response data full type
webhookHooks example