---
api: 'Business API'
---

# Set a webhook

Set up a webhook URL so that event notifications are pushed to the specified URL. Only HTTPS URLs are supported.

## Endpoint

POST `/webhook`

> This endpoint is **deprecated**.

## Request body

URL to set up as a webhook

### Attributes

- `url` (string)
    The valid webhook URL that event notifications are sent to. The supported protocol is `https`.

## Returns

### 204

The webhook has been set up
