---
title: "Create webhook endpoint"
method: POST
path: "/webhooks/endpoints"
tags: ["Webhooks"]
---

# Create webhook endpoint

`POST /webhooks/endpoints`

Create a new webhook endpoint for the organization. Returns the signing secret in plaintext -- store it securely, it will not be shown again.

## Request body

- object
  - `name` string, required — Endpoint name (1-50 chars)
  - `url` string, uri, required — Webhook endpoint URL (HTTPS only)
  - `subscribedEvents` string[], required — Events to subscribe to

## Response `201`

Endpoint created. Signing secret shown in plaintext (only time it is visible).

- object
  - `data` object, required
    - `id` string, required
    - `name` string, required
    - `url` string, required
    - `signingSecret` string, required — Plaintext signing secret -- store securely, not shown again
    - `active` boolean, required
    - `disabledReason` string, nullable, required
    - `consecutiveFailures` number, required
    - `subscribedEvents` string[], required
    - `rotationActive` boolean, required
    - `secretExpiresAt` number
    - `createdAt` number, required
    - `updatedAt` number, required

## Other responses

- `400` — Invalid URL or events
- `401` — Unauthorized
- `409` — Maximum endpoints per organization reached

---

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