Skip to main content
webhooks.mux() verifies the HMAC-SHA256 signature Mux sends in mux-signature on every request.
/trigger/mux.ts

Set up Mux

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. In the Mux webhook settings, select the environment your app uses and add the webhook URL. Mux sends every event in that environment.
  3. Copy that webhook’s signing secret, then choose Set signing secret on the Trigger.dev endpoint.
  4. Send a test event from Mux, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.