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

# Subscribe To Webhook V1

`POST /api/v3/webhook/subscribe`

## Request

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

Subscribe to a webhook.

Create an API Key from your account to access this endpoint.
Authorization: Bearer sk-presenton-xxxxxxxx

## Headers

- `Authorization` string, required: Bearer JWT or API Key

## Request body

- SubscribeToWebhookRequestV1
  - `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 `200`

Successful Response

- SubscribeToWebhookResponseV1
  - `id` string, required
  - `url` string, required
  - `event` 'presentation.generation.completed' | 'presentation.generation.failed', required
  - `created_at` string, date-time, 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)
