---
title: "Create a webhook (returns the signing secret once)"
method: POST
path: "/v1/orgs/{orgId}/webhooks/create"
tags: ["Webhooks"]
---

# Create a webhook (returns the signing secret once)

`POST /v1/orgs/{orgId}/webhooks/create`

## Path parameters

- `orgId` string, required

## Request body

- CreateWebhookRequest
  - `events` string[]
  - `name` string, required
  - `url` string, required

## Response `200`

Created

- WebhookWithSecret
  - `createdAt` string, required
  - `enabled` boolean, required
  - `events` string[], required
  - `id` string, required
  - `name` string, required
  - `secret` string, required
  - `secretPrefix` string, required
  - `url` string, required

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/32905b8f44f8/schema)
