Skip to main content

Create trigger

POST 

/api/triggers

experimental

Expect changes and instability. Introduced on July 6, 2026. Learn how experimental APIs work.

Create a trigger from a preset and return it with its signing secret.

Request

Responses

Trigger created.

Callbacks

POST 

{$request.body#/delivery/webhook_url}

Delivery uses at-least-once semantics, so the same event can be sent more than once. Return any 2xx status after accepting the event. Network failures, 408, 429, and 5xx responses are retried; other non-2xx responses, including redirects, are terminal. The webhook-id remains stable across attempts and can be used for deduplication, while webhook-timestamp and webhook-signature are generated for each attempt.

Callbacks Responses

Request timeout. Glean retries the delivery.