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

# Subscribe To Webhook

`POST /api/v1/webhook/subscribe`

## 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/fastapi.md) · [All operations](https://skmtc.dev/presenton/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/presenton/fastapi/revisions/5dae3adc4ee8/schema)
