Create a webhook endpoint
POST/v1/webhooks
Registers a URL that receives an HTTP request for the events you choose.
Creates a webhook endpoint. The response includes the signing secret; it’s only returned once, so store it right away.
Body parameters
Section titled “Body parameters”| Parameter | Type | Description |
|---|---|---|
url |
string, required | HTTPS URL that receives the events. |
events |
array, required | Event names, for example booking.created. Use ["*"] for all events. |
description |
string | A note to remember what the endpoint is for. |
See Receive webhooks for the list of events and Verify webhook signatures to use the secret.