Skip to main content
POST
Add an endpoint

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
url
string
required

Your endpoint. Must be https:// on a public address, with no username or password. Redirects are not followed.

Maximum string length: 2048
Example:

"https://example.com/nowbookit"

events
enum<string>[]
required

The events to send. Booking events need reservations:read on your key, gift card events giftcards:read.

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

Response

The updated webhook.

webhook
object
required

A webhook never includes its secret.