---
title: "POST /api/add-webhook"
method: POST
path: "/api/add-webhook"
tags: ["Webhook API"]
---

# POST /api/add-webhook

`POST /api/add-webhook`

add webhook

## Request body

- ObjectWebhook
  - `contentType` string
  - `createdTime` string
  - `events` string[]
  - `headers` ObjectHeader[]
    - `name` string
    - `value` string
  - `isEnabled` boolean
  - `isUserExtended` boolean
  - `method` string
  - `name` string
  - `organization` string
  - `owner` string
  - `url` string

## Response `200`

The Response object

---

[API](https://skmtc.net/casdoor/apis/casdoor-restful-api.md) · [All operations](https://skmtc.net/casdoor/apis/casdoor-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casdoor/casdoor-restful-api/versions/be9a5584b821/schema)
