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.
SubscribeRelated
pg_netsupabase_functions.http_requestEdge FunctionsService-to-service callsWebhook debugging guide