---
title: "Webhooks Create"
method: POST
path: "/v1/webhooks"
---

# Webhooks Create

`POST /v1/webhooks`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/webhooks`
- Auth: none declared

Register a new outbound webhook subscription. The plaintext secret
is returned in the 201 body and never again — store it on your side.

## Query parameters

- `api_key` string, nullable

## Headers

- `x-storyflo-key` string, nullable
- `x-readout-key` string, nullable

## Request body

- WebhookCreate
  - `url` string, required
  - `events` string[], required
  - `publisher_id` string, nullable

## Response `201`

Successful Response

- WebhookCreateResponse
  - `id` string, required
  - `url` string, required
  - `events` string[], required
  - `active` boolean, required
  - `publisher_id` string, nullable, required
  - `created_at` string, required
  - `secret` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
