---
title: "Subscribe To Webhook"
method: POST
path: "/api/v1/webhook/subscribe"
tags: ["Webhook"]
---

# Subscribe To Webhook

`POST /api/v1/webhook/subscribe`

## Request

- The document declares no server URL.
- Auth: none required

## Request body

- SubscribeToWebhookRequest
  - `url` string, required: The URL to send the webhook to
  - `secret` string, nullable: The secret to use for the webhook
  - `event` 'presentation.generation.completed' | 'presentation.generation.failed', required

## Response `201`

Successful Response

- SubscribeToWebhookResponse
  - `id` string, required

## Other responses

- `422`: Validation Error

---

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