---
title: "Create webhook"
method: POST
path: "/webhooks"
tags: ["WebhooksAPI"]
---

# Create webhook

`POST /webhooks`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/webhooks`
- Auth: API key in header `Authorization`

Create new webhook.

## Request body

- object
  - `name` string, required: Webhook name
  - `method` string: HTTP method to send notification. POST method is used by default
  - `url` string, required: Webhook URL
  - `headers` object, required: HTTP headers to send notification

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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