Skip to content
masterclass Buddy

Supabase · Concept

Database webhooks

Database Webhooks send HTTP requests after INSERT, UPDATE, or DELETE events on a table. They use asynchronous pg_net calls, so long network requests do not block database changes for long.

Last updated

Syntax

create trigger "my_webhook" after insert on "public"."my_table" for each row execute function "supabase_functions"."http_request"(url, method, headers, body, timeout);

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • pg_net
  • supabase_functions.http_request
  • Edge Functions
  • Service-to-service calls
  • Webhook debugging guide

Source: Database Webhooks | Supabase Docs. Checked 2026-11-03.