---
title: "Create a workspace webhook subscription"
method: POST
path: "/workspaces/{workspaceId}/webhooks"
tags: ["Webhooks"]
---

# Create a workspace webhook subscription

`POST /workspaces/{workspaceId}/webhooks`

Optional idempotency key. Reuse the same key only for an identical request; successful responses are replayable for 24 hours.

## Path parameters

- `workspaceId` string, required

## Headers

- `Idempotency-Key` string

## Response `201`

Created webhook subscription, including its one-time signing key.

## Other responses

- `400` — Invalid url/description/scope/releaseType, or an unsafe webhook target
- `401` — Sign-in required
- `403` — Workspace owner or admin required
- `404` — Workspace, organization, source, or product not found
- `409` — The key is already processing, or was reused with a different request fingerprint.
- `429` — Maximum webhook subscriptions per workspace reached
- `503` — WEBHOOK_HMAC_MASTER not configured, or idempotency storage/response replay is temporarily unavailable

## Changes

- **2026-09-23** `5d21ba2f0fcc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/releases/apis/releases-api/changes/workspaces/:workspaceId/webhooks/post.md)

---

[API](https://skmtc.dev/releases/apis/releases-api.md) · [All operations](https://skmtc.dev/releases/apis/releases-api/llms.txt) · [OpenAPI document](https://skmtc.dev/releases/apis/releases-api/revisions/099eb92e3137?raw)
