---
title: "Create a webhook"
method: POST
path: "/system/v1/webhooks"
tags: ["Webhooks"]
---

# Create a webhook

`POST /system/v1/webhooks`

## Request

- Base URL: `https://api.mux.com`
- URL: `https://api.mux.com/system/v1/webhooks`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

Creates a new webhook for the current environment. New webhooks start out enabled. The `address` must be unique among the environment's webhooks. **The `signing_secret` is only returned in this response and cannot be retrieved again.** Store it securely and use it to verify that webhook payloads were sent by Mux.

## Request body

- CreateWebhookRequest
  - `address` string, required: The URL where Mux should send webhook notifications. Must be unique among the environment's webhooks.

## Response `201`

Created

- WebhookResponse
  - `data` Webhook
    - `id` string, required: Unique identifier for the webhook.
    - `address` string, required: The URL where Mux sends webhook notifications.
    - `enabled` boolean, required: Whether Mux attempts to deliver notifications to this webhook.
    - `created_at` string, date-time, required: Time at which the webhook was created, as an ISO 8601 UTC datetime.
    - `signing_secret` string: Secret used to verify that webhook payloads were sent by Mux. **Note that this value is only returned once when creating a webhook.**

## Other responses

- `400`: A webhook with this address already exists in this environment

## Changes

- **2026-08-28** `8096b00c76c8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/muxinc/apis/mux-api/changes/system/v1/webhooks/post.md)

---

[API](https://skmtc.dev/muxinc/apis/mux-api.md) - [All operations](https://skmtc.dev/muxinc/apis/mux-api/llms.txt) - [OpenAPI document](https://skmtc.dev/muxinc/apis/mux-api/revisions/75b4251a1d96?raw)
