---
title: "POST /api/v1/add-webhook"
method: POST
path: "/api/v1/add-webhook"
tags: ["PublicApi"]
---

# POST /api/v1/add-webhook

`POST /api/v1/add-webhook`

## Request

- Base URL: `https://api-production.authory.com`
- URL: `https://api-production.authory.com/api/v1/add-webhook`
- Auth: API key in query parameter `key`

## Request body

- PublicApiAddWebhookBodyParams
  - `hookUrl` string, url, required
  - `type` 'ArticleAdded' | 'ArticleAddedToCollection', required
  - `collectionId` string

## Response `200`

Returns a response type PublicApiWebhookResponsePayload

- PublicApiWebhookResponsePayload
  - `id` string, required
  - `hookUrl` string, url, required
  - `type` 'ArticleAdded' | 'ArticleAddedToCollection', required
  - `collectionId` string

---

[API](https://skmtc.dev/authory/apis/authory-public-api.md) - [All operations](https://skmtc.dev/authory/apis/authory-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/authory/apis/authory-public-api/revisions/150cf6f2f800?raw)
