---
title: "Create webhook endpoint"
method: POST
path: "/v1/webhook_endpoints"
---

# Create webhook endpoint

`POST /v1/webhook_endpoints`

## Request

- Base URL: `https://api.turos.app`
- URL: `https://api.turos.app/v1/webhook_endpoints`
- Auth: HTTP bearer

Create a signed webhook endpoint for Delivery events.

## Request body

- object
  - `destinationUrl` string, uri, required: Public HTTPS endpoint URL. Self-serve endpoints must use default HTTPS port 443.
  - `description` string, nullable
  - `subscribedEventTypes` string[]: Delivery event types from GET /v1/event_types. Supports exact event names, `*`, and namespace wildcards such as `monitor.*`.
  - `livemode` boolean

## Response `201`

Webhook endpoint created. The signing secret is revealed once on create/rotate.

- WebhookEndpoint
  - `object` 'webhook_endpoint', required
  - `id` string, required
  - `createdAt` string, required
  - `updatedAt` string, required
  - `livemode` boolean, required
  - `orgId` string, required
  - `description` string, nullable, required
  - `destinationUrl` string, uri, required
  - `subscribedEventTypes` string[], required
  - `status` 'active' | 'disabled', required
  - `lastDeliveredAt` string, nullable, required
  - `signingSecret` string

## Other responses

- `default`: Contract-aware error response

---

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