---
title: "Create Webhook"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Create Webhook

`POST /webhooks`

Used to create a webhook, the Url given must be reachable for the webhook to be successfully created

## Request body

- WebhookRequest
  - `Description` string
  - `Url` string
  - `Events` string[]

## Response `201`

Success

- object
  - `Success` boolean
  - `Data` object
    - `ID` string
    - `ServiceProvider` integer
    - `Url` string
    - `Description` string
    - `Events` string[]
    - `Active` boolean
    - `CreatedOn` string
    - `Health` string

## Other responses

- `400` — Failure
- `404` — Failure

---

[API](https://skmtc.net/liongard/apis/liongard-v2-endpoints.md) · [All operations](https://skmtc.net/liongard/apis/liongard-v2-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liongard/liongard-v2-endpoints/versions/4ba1aeff82d7/schema)
