Skip to main content
POST
cURL

Authorizations

integration_id
string
header
required

Identifier of the integration (Auth v1)

secret
string
header
required

Secret of the organization (Auth v1)

x-api-key
string
header
required

API key (Auth v2)

Body

application/json

Webhook endpoint to create.

name
string
required

Name of the webhook endpoint.

Example:

"Production endpoint"

url
string
required

HTTPS destination URL of the webhook endpoint.

Example:

"https://example.com/webhooks/fourvenues"

events
enum<string>[]
required

Event types to subscribe to. Deduplicated automatically. At least 1 required.

Minimum array length: 1
Available options:
ticket.sold,
ticket.refunded,
ticket.cancelled,
ticket.created,
payment.completed,
booking.created,
booking.changed,
booking.cancelled,
booking.payment_received
Example:

Response

HTTP Created

success
boolean
Example:

true

data
object