Skip to main content
PATCH
Update an endpoint
Name the endpoint by its url in the body. URLs are matched after normalising, so https://Example.com finds https://example.com/.

Authorizations

Authorization
string
header
required

Your API key, with the webhooks:manage permission. See Authorization.

Path Parameters

venueId
string
required

Your venue's id. Must be the venue your API key belongs to.

receiverId
string
required

The webhook's id, from receiverId on the webhook.

Body

application/json

Send events, isActive or both.

url
string
required

The endpoint to change. Matched after normalising, so either form works.

events
enum<string>[]

Replaces the endpoint's events.

Minimum array length: 1
Available options:
booking.created,
booking.updated,
booking.seated,
booking.finished,
booking.cancelled,
giftcard.created,
giftcard.updated,
giftcard.cancelled,
giftcard.redeemed
isActive
boolean

false switches the endpoint off, true back on.

Response

The updated webhook.

webhook
object
required

A webhook never includes its secret.