Skip to content

Beta

Webhooks are in beta. Breaking changes may happen: topics, payloads and delivery rules can still change before general availability.

VenuePilot outbound webhooks — integration reference ​

For the developer writing the endpoint that receives VenuePilot webhooks. Webhooks are in beta: the body and the rules described here can still change, including in ways that break a receiver. Everything here describes them as they stand today.

A webhook tells you that something happened to a record in a venue's VenuePilot account, and carries that record in full: an event delivery carries the event, an order delivery the order (see Payloads). A body is a snapshot of the record, read just after the fact happened, and an older snapshot can arrive after a newer one (No ordering, below).

Availability ​

Webhooks are available to venues as an upgrade. To have them switched on for a venue's account, the venue asks its VenuePilot account manager, who can also say what the upgrade includes for that venue, such as how many subscriptions the account can have.

What we do not promise ​

Build against these three from the start. Each is deliberate, and each is far cheaper to design for now than to discover in production.

  • No ordering. Deliveries can arrive in any order. A retry can land after a later fact, and topics are not sequenced against each other: you may receive order.refunded before the order.completed it follows, or event.updated after the event.cancelled it preceded. Never infer state from the order of arrival; compare occurred_at instead (see Telling a stale body from a fresh one).
  • Queued updates collapse to the latest state. While a delivery for a topic and record is still waiting to go out to your subscription, a newer fact for the same topic and record replaces it, with a fresh set of attempts. Five quick edits to an event can reach you as one event.updated. You get the latest state, not every transition. The exception is a send of the older fact that was already under way and then fails (any failure, a 4xx included): the newer fact takes over the older one's attempt count, that failed send included, and waits out the retry delay; if that was the fifth attempt, the newer fact is given up without being sent.
  • No replay. When a subscription stops delivering, every delivery still waiting for it is dropped, and nothing is replayed when it starts again. That applies whether it was switched off, auto-paused, suspended because its creator lost access, or stopped because the account's webhooks were turned off. Anything that happened while it was stopped is not sent later. When a subscription stops for a reason the venue did not choose, the venue's team members who manage webhooks are emailed when it stopped (switching one off by hand sends no email). A receiver that missed deliveries asks the venue's VenuePilot account manager for help.

Setting up a subscription ​

A subscription belongs to one venue account, and is set up by a member of the venue's team in the VenuePilot admin, under Settings › Webhooks. If you are building the receiving endpoint for a venue, they create it with you, or give you a team login with the access described below. It has:

  • a destination URL — where we POST deliveries;
  • a list of topics — which facts you want to hear about;
  • a signing secret — which we generate, and use to sign every delivery.

Who can manage webhooks ​

It depends on the Webhooks permission of the member's role: Read to see the account's subscriptions and their delivery history, Edit to create, change, rotate, switch, delete or take one over. Anyone whose role can edit roles — normally the account's owner or an Admin — sets it in the role editor. The permission and the Settings › Webhooks page appear only while the venue's account has webhooks switched on (see Availability).

Creating one ​

On Settings › Webhooks, enter the destination URL and pick the topics, and the hold-events option if you need it (below). The signing secret is shown once, when the subscription is created, and never again. Copy it into your server-side configuration there and then. If it is lost, rotate it (see Managing a subscription).

The admin refuses a subscription when:

  • the destination is not an absolute https:// URL, or points at a private or loopback address (localhost, 10.x, 192.168.x, 127.x and similar);
  • the account already has as many subscriptions as its upgrade allows, switched-off, paused and suspended ones included;
  • an active subscription on the account already delivers the same topics, in any order, to the same destination. Use or change that one instead of making a second that delivers everything twice. A paused, suspended or switched-off subscription does not count, the same URL with a different set of topics is allowed, and the hold-events option is not part of the match;
  • a topic needs a permission the member creating it does not have. A subscription can never deliver data its creator cannot see.

Hold events ​

Venues hold dates they have not confirmed, and those are confidential. Hold events are never delivered unless the subscription's hold-events option is switched on, and even then only while its creator can still see hold dates. The same gate covers orders on a hold event. Only switch it on if the venue has explicitly asked you to receive their unconfirmed dates. With it on, you receive those events in full: keep them confidential, and protect them as you would the venue's customer data (see Order bodies).

Topics ​

These are every topic there is. A subscription picks any of them; nothing else is accepted.

TopicWhat it meansWhen it firesdata carriesNeeds permission
event.updatedAn event's details changedAn event is saved, its presales, ticketing or announcement details change, or it is confirmedevent — the eventEvent details → confirmed dates
event.publishedAn event was announced to the publicIts announcement is triggered (confirmed events only)event — the eventEvent details → announce
event.unpublishedAn event's announcement was withdrawnIt is unannouncedevent — the eventEvent details → announce
event.cancelledAn event was cancelledIts cancellation completesevent — the eventEvent details → cancelled dates
order.completedAn order was paid for and finalisedThe order is finalised after paymentorder — the orderOrders
order.refundedMoney was refunded on an orderA refund on the order succeeds — full or partialorder — the order, with every refundOrders

event.confirmed is not a topic. Confirming a hold arrives as event.updated. There are no ticket-level topics yet; tickets change with their order.

Payloads ​

Every delivery is an HTTP POST whose JSON body is the same envelope for every topic:

FieldType
idstring (UUID)identifies the fact this delivery reports. A retry repeats it; a different fact never shares it. Also sent as Idempotency-Key; see Idempotency key
topicstringwhich of the topics above this fact is; also in the X-Webhook-Topic header
occurred_atstringwhen the fact happened, as VenuePilot recorded it, in ISO 8601 UTC with microseconds (2025-09-29T09:59:58.412000Z); where each topic takes it from is in the table below. Use it to tell a stale body from a fresh one
versionstringthe shape of this body: 2026-11-25.beta for every delivery today. It changes when the shape does, so branch on version rather than on the fields you happen to see
dataobjectthe record, under one key: event for event topics (see Event bodies), order for order topics (see Order bodies)

record_id is no longer sent.

Telling a stale body from a fresh one ​

A body shows the record as it was when the fact happened, or later: we read the event or order just after the fact is recorded, so a body never shows an earlier state, though it can already include a change made since. An order.refunded body, for instance, can already list the next refund. A retry resends the same body unchanged. Because deliveries arrive in no particular order, keep, for each event and each order you hold, the occurred_at of the body you last applied, and:

  • ignore a body whose occurred_at is older than that. You already hold a later state of the record;
  • apply a body whose occurred_at is the same or newer. The same does happen: when we re-check a payment and re-finalise an order, order.completed comes again with the same id and occurred_at, and a body read when it was re-finalised.

occurred_at values all have the same format, so they compare correctly as text. This check is for keeping your copy of a record current; for actions you must take only once, deduplicate on id (see Retries and duplicates).

Where each topic's occurred_at comes from:

Topicoccurred_at
event.updatedwhen the change was queued — some of the changes it reports (presales, ticketing) are not stamped on the event
event.publishedwhen the event was announced
event.unpublishedwhen the withdrawal was queued
event.cancelledwhen the event was cancelled, which is when its state became CANCELED
order.completedwhen the order was paid; when it was queued for an order with no payment
order.refundedwhen the refund was made

Field types ​

The tables below name each field by its path inside data.event or data.order; [] marks the items of a list. Types are JSON types:

  • integer, number (money, in the order's currency, as a decimal number such as 54.7), boolean, string, object, list;
  • date — a string, YYYY-MM-DD;
  • time — a string, ISO 8601 UTC to the second, such as 2025-10-18T01:00:00Z;
  • enum — a string from the values listed;
  • or null — the field is always present, and null when there is no value.

Event bodies ​

data.event is the same for every subscription, and it never includes sales figures or anything else behind a permission beyond the topic's own.

FieldTypeMeaning
idintegerthe event's id; stable for the life of the event
slugstringthe event's URL slug
namestringthe event's name
stateenumCONFIRMED, CANCELED (note the spelling), HOLD (only with the hold-events option) or DELETED
datedatethe event's calendar date, in the venue's time zone
startTimetime or nullwhen the show starts
doorTimetime or nullwhen doors open
endTimetime or nullwhen the show ends
timezonestring or nullthe venue's time zone, as an IANA name such as America/Chicago
ticketsUrlstring or nullthe event's VenuePilot checkout page
venueobject or nullthe venue the event is at
venue.idintegerthe venue's id
venue.namestringthe venue's name
venue.addressobject or nullthe venue's public address
venue.address.street1string or nullfirst street line
venue.address.street2string or nullsecond street line
venue.address.citystring or nullcity
venue.address.statestring or nullstate or region
venue.address.postalCodestring or nullpostal code
venue.address.countrystring or nullcountry code, such as US
venueRoomobject or nullthe room in the venue, when the event has one
venueRoom.idintegerthe room's id
venueRoom.namestringthe room's name
announceDetailobjectthe public announcement: what the venue shows the public about the event
announceDetail.announcedbooleanwhether the event is announced now
announceDetail.announceAttime or nullwhen the announcement is, or was, scheduled to go out
announceDetail.onSaleAttime or nullwhen tickets go on sale
announceDetail.descriptionstring or nullthe public description
announceDetail.tagslist of stringsthe event's tags
announceDetail.imageslist of stringsimage URLs
announceDetail.attachmentslist of objectsthe uploaded images that are ready to show
announceDetail.attachments[].attachmentIdintegerthe uploaded file's id
announceDetail.attachments[].highlightedboolean or nullwhether the venue chose it as the featured image
announceDetail.attachments[].attachmentobjectthe uploaded file
announceDetail.attachments[].attachment.idintegerthe file's id, the same as attachmentId
announceDetail.attachments[].attachment.namestringthe file name
announceDetail.attachments[].attachment.mimestringthe file's media type, such as image/jpeg
announceDetail.attachments[].attachment.urlstring or nullwhere to download the file
announceDetail.categoryobject or nullthe event's category
announceDetail.category.idstringthe category's id, a UUID
announceDetail.category.namestringthe category's name
announceDetail.announceArtistslist of objectsthe artists the announcement names, in the venue's order
announceDetail.announceArtists[].idintegerthe artist's id
announceDetail.announceArtists[].namestringthe artist's name
announceDetail.announceArtists[].websitestring or nullthe artist's website
announceDetail.announceArtists[].facebookstring or nullFacebook link
announceDetail.announceArtists[].instagramstring or nullInstagram link
announceDetail.announceArtists[].twitterstring or nullX (Twitter) link
announceDetail.announceArtists[].spotifystring or nullSpotify link
announceDetail.announceArtists[].applemusicstring or nullApple Music link
announceDetail.announceArtists[].bandcampstring or nullBandcamp link
announceDetail.announceArtists[].youtubestring or nullYouTube link
announceDetail.announceArtists[].songkickstring or nullSongkick link
announceDetail.announceArtists[].lastfmstring or nullLast.fm link
announceDetail.announceArtists[].wikipediastring or nullWikipedia link
announceDetail.ticketsUrlstring or nullthe ticket link to show: the venue's own link for CUSTOM, the checkout page for an event whose announcement details were never saved (see below)
announceDetail.ticketsUrlTypeenumwhich ticket link the venue chose to show: CUSTOM, VENUEPILOT_CHECKOUT, HANDSTAMP or NO_URL

announced is false until the announcement is triggered, and false again after it is withdrawn. The other announceDetail fields can still be set while it is false: a scheduled announcement already carries its announceAt, description and artists.

Once the venue has saved the announcement details, only a CUSTOM link comes in announceDetail.ticketsUrl; for the other three types it is null. For VENUEPILOT_CHECKOUT, link to the event's checkout page, the top-level ticketsUrl. The body carries no Handstamp link. The exception is an event whose announcement details were never saved: its ticketsUrlType is VENUEPILOT_CHECKOUT when the event sells tickets, with announceDetail.ticketsUrl set to the checkout page, and NO_URL otherwise.

Order bodies ​

data.order is the order as it was paid for and refunded, with its buyer and its event.

FieldTypeMeaning
idintegerthe order's id; stable for the life of the order
statestringthe order's state; completed once it is paid and finalised
originenumwhere it was sold: online or register (the box office)
currencystringthe currency of every amount in the body, as a lowercase ISO 4217 code such as usd
createdAttimewhen the order was started
updatedAttimewhen the order itself last changed; a refund does not change it
purchasedAttime or nullwhen it was paid; null for an order with no payment
firstNamestring or nullthe buyer's first name, as entered on the order
lastNamestring or nullthe buyer's last name, as entered on the order
emailstring or nullthe buyer's email address, as entered on the order
phoneNumberstring or nullthe buyer's phone number, as entered on the order
customerobject or nullthe buyer's customer record, which the venue keeps across orders
customer.idintegerthe customer's id
customer.firstNamestring or nullthe customer's first name
customer.lastNamestring or nullthe customer's last name
customer.emailstring or nullthe customer's email address
customer.phoneNumberstring or nullthe customer's phone number
customer.createdAttimewhen the customer record was created
customer.emailOptInenumwhether the customer agreed to marketing email from this venue: OPTED_IN, DECLINED or NOT_ASKED
customer.smsOptInenumthe same for marketing text messages
lineItemslist of objectsone per ticket or add-on
lineItems[].idintegerthe ticket's id
lineItems[].ticketIdintegerthe ticket's id, the same as id
lineItems[].namestringthe ticket type's name
lineItems[].tierstringthe ticket type's name, the same as name
lineItems[].kindenumticket or addon
lineItems[].seatstring or nullthe seat, for a seated ticket
lineItems[].tablestring or nullthe table, for a table ticket
lineItems[].pricenumberthe price, after any discount
lineItems[].feenumberthe ticket fee
lineItems[].paidnumberprice plus fee
discountAmountnumberthe discount given, for information (see below)
discountCodestring or nullthe discount code used
discountIdinteger or nullthe discount's id
appliedCreditnumber or nullstore credit put toward the order; null when none was
donationnumberthe donation added to the order
taxFeenumbertax
processingFeenumberthe processing fee
platformFeenumberthe platform fee
totalnumberthe amount charged
refundedAmountnumberthe ticket part refunded across all refunds (see below)
refundStatusenumnone, partial or full
refundslist of objectsevery refund on the order, oldest first
refunds[].idintegerthe refund's id
refunds[].createdAttimewhen the refund was made
refunds[].kindenumpartial or full
refunds[].amountnumberthe money returned to the original payment method
refunds[].creditAmountnumberthe store credit given
refunds[].taxFeenumberthe part of the refund that was tax
refunds[].processingFeenumberthe part that was processing fee
refunds[].donationnumberthe part that was donation
refunds[].reasonstring or nullthe reason the venue gave
refunds[].issuedBystring or nullthe name of the team member who made the refund
refunds[].lineslist of objectswhat was refunded, one line per ticket type and amount
refunds[].lines[].amountnumberthe amount refunded on this line
refunds[].lines[].eventNamestring or nullthe event's name
refunds[].lines[].quantityintegerhow many tickets the line covers
refunds[].lines[].seatLabelslist of strings or nullthe seats, for a seated event
refunds[].lines[].ticketTypeNamestring or nullthe ticket type's name
paymentMethodstring or nullhow the order was paid, such as credit or cash
cardBrandstring or nullthe card brand, such as visa; null for a payment not made by card
lastFourDigitsstring or nullthe card's last four digits
transactionIdstring or nullthe payment processor's id for the charge
eventobject or nullthe event the order is for
event.idintegerthe event's id, as in event bodies
event.namestringthe event's name
event.startTimetime or nullwhen the show starts
event.venueobject or nullthe venue
event.venue.idintegerthe venue's id
event.venue.namestringthe venue's name

Order bodies carry the buyer's personal data. The buyer's name, email address and phone number, and the customer's email and SMS opt-in status for the venue, are the venue's customer data. Store and protect them as the venue's: keep them out of logs, limit who and what can read them, keep them only as long as the venue's purpose needs, and use them only for what the venue has asked you to do. Respect the opt-ins: DECLINED and NOT_ASKED mean no marketing to that channel.

The line prices already include any discount, so discountAmount is for information: the sum of every line's price and fee, plus platformFee, processingFee, taxFee and donation, minus appliedCredit (taken as 0 when null), is total. A few discounted orders from 2014 are a cent out, because their line prices were rounded one by one; book total as the amount charged.

For refunds, book each entry in refunds: amount is the money returned to the original payment method, creditAmount the store credit, and taxFee, processingFee and donation the parts of it that were tax, processing fee and donation; a full refund's amount also includes any refunded platform fee, which is not broken out. refundedAmount is narrower than their sum: it is the ticket part refunded across all refunds, before any store credit, and leaves out refunded tax, processing fee, donation and platform fee.

Nothing in an order body gets anyone in: it never carries a ticket's token, its PDF or preview link, or its scans. Nor does it carry the order's fingerprint, the staff member who sold it or the ticket layout.

Example deliveries ​

One complete delivery for each topic, headers and body. The bodies are shown pretty-printed, in a readable field order. On the wire a body is compact JSON with no trailing newline, and each signature here is over those compact bytes: the worked example under Verifying the signature shows one byte for byte.

event.updated ​

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: eea30a5b-c31c-5003-b0b6-151d976244d0
X-Webhook-Topic: event.updated
X-Webhook-Timestamp: 1759154610
X-Webhook-Signature: sha256=893a2870bc316e07c522d82e408a803af8a20fc6bc4f3b86950eabaf3132b37a

{
  "id": "eea30a5b-c31c-5003-b0b6-151d976244d0",
  "topic": "event.updated",
  "occurred_at": "2025-09-29T14:03:27.481920Z",
  "version": "2026-11-25.beta",
  "data": {
    "event": {
      "id": 9120,
      "slug": "the-night-owls-9120",
      "name": "The Night Owls",
      "state": "CONFIRMED",
      "date": "2025-10-17",
      "startTime": "2025-10-18T01:00:00Z",
      "doorTime": "2025-10-18T00:00:00Z",
      "endTime": "2025-10-18T04:00:00Z",
      "timezone": "America/Chicago",
      "ticketsUrl": "https://tickets.venuepilot.co/e/the-night-owls-9120",
      "venue": {
        "id": 311,
        "name": "The Lantern",
        "address": {
          "street1": "1200 Main Street",
          "street2": null,
          "city": "Springfield",
          "state": "IL",
          "postalCode": "62701",
          "country": "US"
        }
      },
      "venueRoom": {
        "id": 702,
        "name": "Main Room"
      },
      "announceDetail": {
        "announced": true,
        "announceAt": "2025-09-01T15:00:00Z",
        "onSaleAt": "2025-09-05T15:00:00Z",
        "description": "Two sets, doors at seven.",
        "tags": [
          "indie",
          "all-ages"
        ],
        "images": [],
        "attachments": [
          {
            "attachmentId": 55120,
            "highlighted": true,
            "attachment": {
              "id": 55120,
              "name": "night-owls.jpg",
              "mime": "image/jpeg",
              "url": "https://files.venuepilot.co/attachments/55120/night-owls.jpg"
            }
          }
        ],
        "category": {
          "id": "0f8e2d6a-3b1c-4c57-9a0e-6f2b8d4c1a90",
          "name": "Music"
        },
        "announceArtists": [
          {
            "id": 4410,
            "name": "The Night Owls",
            "website": "https://nightowls.example",
            "facebook": null,
            "instagram": "https://instagram.com/nightowls",
            "twitter": null,
            "spotify": "https://open.spotify.com/artist/example",
            "applemusic": null,
            "bandcamp": null,
            "youtube": null,
            "songkick": null,
            "lastfm": null,
            "wikipedia": null
          }
        ],
        "ticketsUrl": "https://tickets.example.com/night-owls",
        "ticketsUrlType": "CUSTOM"
      }
    }
  }
}

event.published ​

The event as it was announced, with announced now true. A body read after a quick withdrawal already shows false:

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: 16a2553c-cecc-5145-83d3-188d64a3c2ae
X-Webhook-Topic: event.published
X-Webhook-Timestamp: 1759244403
X-Webhook-Signature: sha256=9208a778fd0e692b5648491101296150265295cf2d6561939f4c89af4b48896c

{
  "id": "16a2553c-cecc-5145-83d3-188d64a3c2ae",
  "topic": "event.published",
  "occurred_at": "2025-09-30T15:00:00.318044Z",
  "version": "2026-11-25.beta",
  "data": {
    "event": {
      "id": 9133,
      "slug": "harbor-lights-9133",
      "name": "Harbor Lights",
      "state": "CONFIRMED",
      "date": "2025-11-08",
      "startTime": "2025-11-09T01:30:00Z",
      "doorTime": "2025-11-09T00:30:00Z",
      "endTime": "2025-11-09T04:00:00Z",
      "timezone": "America/Chicago",
      "ticketsUrl": "https://tickets.venuepilot.co/e/harbor-lights-9133",
      "venue": {
        "id": 311,
        "name": "The Lantern",
        "address": {
          "street1": "1200 Main Street",
          "street2": null,
          "city": "Springfield",
          "state": "IL",
          "postalCode": "62701",
          "country": "US"
        }
      },
      "venueRoom": {
        "id": 703,
        "name": "Front Bar"
      },
      "announceDetail": {
        "announced": true,
        "announceAt": "2025-09-30T15:00:00Z",
        "onSaleAt": null,
        "description": null,
        "tags": [],
        "images": [],
        "attachments": [],
        "category": null,
        "announceArtists": [],
        "ticketsUrl": null,
        "ticketsUrlType": "VENUEPILOT_CHECKOUT"
      }
    }
  }
}

event.unpublished ​

The same event after its announcement was withdrawn. A body keeps the announcement details; announced is false again:

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: 50c5720f-fcfc-56a4-8bf3-4a818c24223f
X-Webhook-Topic: event.unpublished
X-Webhook-Timestamp: 1759306368
X-Webhook-Signature: sha256=acf4427d6564336e2db38aa2977d0c682b6895d61c103213b9a7695d9436a981

{
  "id": "50c5720f-fcfc-56a4-8bf3-4a818c24223f",
  "topic": "event.unpublished",
  "occurred_at": "2025-10-01T08:12:45.902117Z",
  "version": "2026-11-25.beta",
  "data": {
    "event": {
      "id": 9133,
      "slug": "harbor-lights-9133",
      "name": "Harbor Lights",
      "state": "CONFIRMED",
      "date": "2025-11-08",
      "startTime": "2025-11-09T01:30:00Z",
      "doorTime": "2025-11-09T00:30:00Z",
      "endTime": "2025-11-09T04:00:00Z",
      "timezone": "America/Chicago",
      "ticketsUrl": "https://tickets.venuepilot.co/e/harbor-lights-9133",
      "venue": {
        "id": 311,
        "name": "The Lantern",
        "address": {
          "street1": "1200 Main Street",
          "street2": null,
          "city": "Springfield",
          "state": "IL",
          "postalCode": "62701",
          "country": "US"
        }
      },
      "venueRoom": {
        "id": 703,
        "name": "Front Bar"
      },
      "announceDetail": {
        "announced": false,
        "announceAt": "2025-09-30T15:00:00Z",
        "onSaleAt": null,
        "description": null,
        "tags": [],
        "images": [],
        "attachments": [],
        "category": null,
        "announceArtists": [],
        "ticketsUrl": null,
        "ticketsUrlType": "VENUEPILOT_CHECKOUT"
      }
    }
  }
}

event.cancelled ​

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: 4751c6e2-0459-5c0e-9632-74564b52f462
X-Webhook-Topic: event.cancelled
X-Webhook-Timestamp: 1759422615
X-Webhook-Signature: sha256=d1c14ab1f6ece8527aed29c6573dcbbca59db6ffea1905f4a5f8e17ffc91f4c9

{
  "id": "4751c6e2-0459-5c0e-9632-74564b52f462",
  "topic": "event.cancelled",
  "occurred_at": "2025-10-02T16:30:12.554871Z",
  "version": "2026-11-25.beta",
  "data": {
    "event": {
      "id": 9147,
      "slug": "late-show-9147",
      "name": "Late Show",
      "state": "CANCELED",
      "date": "2025-10-24",
      "startTime": "2025-10-25T03:00:00Z",
      "doorTime": "2025-10-25T02:00:00Z",
      "endTime": "2025-10-25T04:59:00Z",
      "timezone": "America/Chicago",
      "ticketsUrl": "https://tickets.venuepilot.co/e/late-show-9147",
      "venue": {
        "id": 311,
        "name": "The Lantern",
        "address": {
          "street1": "1200 Main Street",
          "street2": null,
          "city": "Springfield",
          "state": "IL",
          "postalCode": "62701",
          "country": "US"
        }
      },
      "venueRoom": {
        "id": 702,
        "name": "Main Room"
      },
      "announceDetail": {
        "announced": false,
        "announceAt": null,
        "onSaleAt": null,
        "description": null,
        "tags": [],
        "images": [],
        "attachments": [],
        "category": null,
        "announceArtists": [],
        "ticketsUrl": null,
        "ticketsUrlType": "NO_URL"
      }
    }
  }
}

order.completed ​

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: 0b66b05c-6f62-550c-8d8f-942d146fe914
X-Webhook-Topic: order.completed
X-Webhook-Timestamp: 1759140000
X-Webhook-Signature: sha256=870269ddc977e55ff51c2ea6c48a920d071e2419e54f14307c14f501ca8e4aa2

{
  "id": "0b66b05c-6f62-550c-8d8f-942d146fe914",
  "topic": "order.completed",
  "occurred_at": "2025-09-29T09:59:58.412000Z",
  "version": "2026-11-25.beta",
  "data": {
    "order": {
      "id": 48213,
      "state": "completed",
      "origin": "online",
      "currency": "usd",
      "createdAt": "2025-09-29T09:58:41Z",
      "updatedAt": "2025-09-29T09:59:58Z",
      "purchasedAt": "2025-09-29T09:59:58Z",
      "firstName": "Jordan",
      "lastName": "Rivera",
      "email": "jordan.rivera@example.com",
      "phoneNumber": "+15555550142",
      "customer": {
        "id": 20544,
        "firstName": "Jordan",
        "lastName": "Rivera",
        "email": "jordan.rivera@example.com",
        "phoneNumber": "+15555550142",
        "createdAt": "2024-03-12T18:20:05Z",
        "emailOptIn": "OPTED_IN",
        "smsOptIn": "DECLINED"
      },
      "lineItems": [
        {
          "id": 301877,
          "ticketId": 301877,
          "name": "General Admission",
          "tier": "General Admission",
          "kind": "ticket",
          "seat": null,
          "table": null,
          "price": 20.0,
          "fee": 3.0,
          "paid": 23.0
        },
        {
          "id": 301878,
          "ticketId": 301878,
          "name": "General Admission",
          "tier": "General Admission",
          "kind": "ticket",
          "seat": null,
          "table": null,
          "price": 20.0,
          "fee": 3.0,
          "paid": 23.0
        }
      ],
      "discountAmount": 10.0,
      "donation": 2.0,
      "taxFee": 3.2,
      "processingFee": 1.5,
      "platformFee": 2.0,
      "total": 54.7,
      "discountCode": "EARLYBIRD",
      "discountId": 1907,
      "appliedCredit": null,
      "refundedAmount": 0.0,
      "refundStatus": "none",
      "refunds": [],
      "paymentMethod": "credit",
      "cardBrand": "visa",
      "lastFourDigits": "4242",
      "transactionId": "ch_3QbX9eLkdIwHu7ix0Tn5rJ2a",
      "event": {
        "id": 9120,
        "name": "The Night Owls",
        "startTime": "2025-10-18T01:00:00Z",
        "venue": {
          "id": 311,
          "name": "The Lantern"
        }
      }
    }
  }
}

order.refunded ​

The same order after its second partial refund. refunds lists both:

http
POST /venuepilot HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
Idempotency-Key: 9e929366-d769-5f75-82fc-e08ba9957e1f
X-Webhook-Topic: order.refunded
X-Webhook-Timestamp: 1759489522
X-Webhook-Signature: sha256=0ccf78c7b5615b9c44cbd7310ec170ebb094cfa37c1d35f828a8f6dd53afa137

{
  "id": "9e929366-d769-5f75-82fc-e08ba9957e1f",
  "topic": "order.refunded",
  "occurred_at": "2025-10-03T11:05:19.774102Z",
  "version": "2026-11-25.beta",
  "data": {
    "order": {
      "id": 48213,
      "state": "completed",
      "origin": "online",
      "currency": "usd",
      "createdAt": "2025-09-29T09:58:41Z",
      "updatedAt": "2025-09-29T09:59:58Z",
      "purchasedAt": "2025-09-29T09:59:58Z",
      "firstName": "Jordan",
      "lastName": "Rivera",
      "email": "jordan.rivera@example.com",
      "phoneNumber": "+15555550142",
      "customer": {
        "id": 20544,
        "firstName": "Jordan",
        "lastName": "Rivera",
        "email": "jordan.rivera@example.com",
        "phoneNumber": "+15555550142",
        "createdAt": "2024-03-12T18:20:05Z",
        "emailOptIn": "OPTED_IN",
        "smsOptIn": "DECLINED"
      },
      "lineItems": [
        {
          "id": 301877,
          "ticketId": 301877,
          "name": "General Admission",
          "tier": "General Admission",
          "kind": "ticket",
          "seat": null,
          "table": null,
          "price": 20.0,
          "fee": 3.0,
          "paid": 23.0
        },
        {
          "id": 301878,
          "ticketId": 301878,
          "name": "General Admission",
          "tier": "General Admission",
          "kind": "ticket",
          "seat": null,
          "table": null,
          "price": 20.0,
          "fee": 3.0,
          "paid": 23.0
        }
      ],
      "discountAmount": 10.0,
      "donation": 2.0,
      "taxFee": 3.2,
      "processingFee": 1.5,
      "platformFee": 2.0,
      "total": 54.7,
      "discountCode": "EARLYBIRD",
      "discountId": 1907,
      "appliedCredit": null,
      "refundedAmount": 31.5,
      "refundStatus": "partial",
      "refunds": [
        {
          "id": 7710,
          "createdAt": "2025-09-30T10:12:44Z",
          "kind": "partial",
          "amount": 21.0,
          "creditAmount": 0.0,
          "donation": 0.0,
          "processingFee": 0.0,
          "taxFee": 0.0,
          "reason": "Could not attend",
          "issuedBy": "Sam Okafor",
          "lines": [
            {
              "amount": 21.0,
              "eventName": "The Night Owls",
              "quantity": 1,
              "seatLabels": null,
              "ticketTypeName": "General Admission"
            }
          ]
        },
        {
          "id": 7731,
          "createdAt": "2025-10-03T11:05:19Z",
          "kind": "partial",
          "amount": 10.5,
          "creditAmount": 0.0,
          "donation": 0.0,
          "processingFee": 0.0,
          "taxFee": 0.0,
          "reason": null,
          "issuedBy": "Sam Okafor",
          "lines": [
            {
              "amount": 10.5,
              "eventName": "The Night Owls",
              "quantity": 1,
              "seatLabels": null,
              "ticketTypeName": "General Admission"
            }
          ]
        }
      ],
      "paymentMethod": "credit",
      "cardBrand": "visa",
      "lastFourDigits": "4242",
      "transactionId": "ch_3QbX9eLkdIwHu7ix0Tn5rJ2a",
      "event": {
        "id": 9120,
        "name": "The Night Owls",
        "startTime": "2025-10-18T01:00:00Z",
        "venue": {
          "id": 311,
          "name": "The Lantern"
        }
      }
    }
  }
}

Field order is not part of the contract: parse the body rather than matching it. Treat the body as bytes until the signature has been checked — see below.

Headers ​

HeaderValue
Content-Typeapplication/json
Idempotency-KeyIdentifies the fact the delivery reports — see Idempotency key
X-Webhook-TopicThe topic, the same as topic in the body
X-Webhook-TimestampWhen this attempt was signed, in Unix seconds, as a decimal string
X-Webhook-Signaturesha256=<hex> — or several, comma-separated, during a secret rotation

Every subscription has a secret, so in practice every delivery carries the timestamp and signature headers; reject any request without them. Anything else in the request (User-Agent, for instance) is our HTTP client's default and is not part of this contract.

Verifying the signature ​

The signature proves the delivery came from us and was not altered. Verify it on every request, before you parse the body.

  1. Read X-Webhook-Timestamp and the raw request body, byte for byte. Re-serialising parsed JSON will not reproduce the bytes we signed.
  2. Build the signed message: the timestamp, a full stop, then the body — <timestamp>.<body>.
  3. Compute HMAC-SHA256 of that message, keyed with your signing secret exactly as we gave it to you: the 64-character string, used as text. Do not hex-decode it.
  4. Hex-encode the result in lowercase and prefix it with sha256=.
  5. Split X-Webhook-Signature on commas. The delivery is genuine if any one entry equals your value. Compare in constant time.
  6. Optionally reject a timestamp more than a few minutes from your clock. Every attempt, retries included, is signed afresh at send time, so a five-minute tolerance never rejects a genuine retry.

Worked example ​

The event.cancelled delivery above, with these inputs:

Secret:     3f9c2a7e5b1d48c6a0e2f7b9d4c1a8e63b5f0d2c9a7e4b1f6d8c3a0e5b2f7d91
Timestamp:  1759422615
Body:       {"id":"4751c6e2-0459-5c0e-9632-74564b52f462","data":{"event":{"id":9147,"date":"2025-10-24","name":"Late Show","slug":"late-show-9147","state":"CANCELED","venue":{"id":311,"name":"The Lantern","address":{"city":"Springfield","state":"IL","country":"US","street1":"1200 Main Street","street2":null,"postalCode":"62701"}},"endTime":"2025-10-25T04:59:00Z","doorTime":"2025-10-25T02:00:00Z","timezone":"America/Chicago","startTime":"2025-10-25T03:00:00Z","venueRoom":{"id":702,"name":"Main Room"},"ticketsUrl":"https://tickets.venuepilot.co/e/late-show-9147","announceDetail":{"tags":[],"images":[],"category":null,"onSaleAt":null,"announced":false,"announceAt":null,"ticketsUrl":null,"attachments":[],"description":null,"ticketsUrlType":"NO_URL","announceArtists":[]}}},"topic":"event.cancelled","version":"2026-11-25.beta","occurred_at":"2025-10-02T16:30:12.554871Z"}

the signed message is

1759422615.{"id":"4751c6e2-0459-5c0e-9632-74564b52f462","data":{"event":{"id":9147,"date":"2025-10-24","name":"Late Show","slug":"late-show-9147","state":"CANCELED","venue":{"id":311,"name":"The Lantern","address":{"city":"Springfield","state":"IL","country":"US","street1":"1200 Main Street","street2":null,"postalCode":"62701"}},"endTime":"2025-10-25T04:59:00Z","doorTime":"2025-10-25T02:00:00Z","timezone":"America/Chicago","startTime":"2025-10-25T03:00:00Z","venueRoom":{"id":702,"name":"Main Room"},"ticketsUrl":"https://tickets.venuepilot.co/e/late-show-9147","announceDetail":{"tags":[],"images":[],"category":null,"onSaleAt":null,"announced":false,"announceAt":null,"ticketsUrl":null,"attachments":[],"description":null,"ticketsUrlType":"NO_URL","announceArtists":[]}}},"topic":"event.cancelled","version":"2026-11-25.beta","occurred_at":"2025-10-02T16:30:12.554871Z"}

and the signature you should compute, and find in X-Webhook-Signature, is

Signature:  sha256=d1c14ab1f6ece8527aed29c6573dcbbca59db6ffea1905f4a5f8e17ffc91f4c9

The timestamp is fixed and long past, so test against this example with any timestamp tolerance (step 6) switched off. Check your implementation from a shell:

bash
printf '%s' '1759422615.{"id":"4751c6e2-0459-5c0e-9632-74564b52f462","data":{"event":{"id":9147,"date":"2025-10-24","name":"Late Show","slug":"late-show-9147","state":"CANCELED","venue":{"id":311,"name":"The Lantern","address":{"city":"Springfield","state":"IL","country":"US","street1":"1200 Main Street","street2":null,"postalCode":"62701"}},"endTime":"2025-10-25T04:59:00Z","doorTime":"2025-10-25T02:00:00Z","timezone":"America/Chicago","startTime":"2025-10-25T03:00:00Z","venueRoom":{"id":702,"name":"Main Room"},"ticketsUrl":"https://tickets.venuepilot.co/e/late-show-9147","announceDetail":{"tags":[],"images":[],"category":null,"onSaleAt":null,"announced":false,"announceAt":null,"ticketsUrl":null,"attachments":[],"description":null,"ticketsUrlType":"NO_URL","announceArtists":[]}}},"topic":"event.cancelled","version":"2026-11-25.beta","occurred_at":"2025-10-02T16:30:12.554871Z"}' \
  | openssl dgst -sha256 -hmac 3f9c2a7e5b1d48c6a0e2f7b9d4c1a8e63b5f0d2c9a7e4b1f6d8c3a0e5b2f7d91

Node.js (Express, with the body kept raw):

js
const crypto = require('crypto');

app.post('/venuepilot', express.raw({ type: '*/*' }), (req, res) => {
  const timestamp = req.get('X-Webhook-Timestamp');
  const header = req.get('X-Webhook-Signature');
  if (!timestamp || !header || !Buffer.isBuffer(req.body)) return res.sendStatus(401);

  const expected = Buffer.from('sha256=' + crypto.createHmac('sha256', process.env.VENUEPILOT_WEBHOOK_SECRET)
    .update(`${timestamp}.`).update(req.body).digest('hex'));
  const ok = header.split(',').some((sig) => {
    const given = Buffer.from(sig.trim());
    return given.length === expected.length && crypto.timingSafeEqual(given, expected);
  });
  if (!ok) return res.sendStatus(401);

  const { id, topic, data } = JSON.parse(req.body);
  enqueue(id, topic, data);
  res.sendStatus(204);
});

Python:

python
import hashlib, hmac

def verify(secret: str, timestamp: str | None, body: bytes, header: str | None) -> bool:
    if not timestamp or not header:
        return False
    mac = hmac.new(secret.encode(), timestamp.encode() + b"." + body, hashlib.sha256)
    expected = ("sha256=" + mac.hexdigest()).encode()
    return any(hmac.compare_digest(sig.strip().encode(), expected) for sig in header.split(","))

Answer 401 to a delivery that fails verification. That is a permanent failure for that delivery (see below), which is what you want for a forgery. But it also means a bug in your verification drops real deliveries. Test against the example above before you go live.

Responding ​

Answer with any 2xx within 10 seconds (we give up connecting after 5). Do the work afterwards: acknowledge, queue the body, return. A handler that does slow work before answering will eventually time out and be retried.

You answerWe do
2xxDelivered. Done.
429Stop sending to that subscription for the rest of the current one-minute cycle and try again on a later one. Does not use up an attempt. Retry-After is not read.
any other 4xxPermanent failure. That delivery is not retried.
3xx, 5xx, a timeout, or no connectionRetry (below). Redirects are not followed.

Retries and duplicates ​

Delivery is at least once. A failed delivery is retried until it succeeds or runs out of attempts:

  • 5 attempts in all: the first, then retries after about 30 seconds, 1 minute, 2 minutes and 4 minutes. Deliveries go out on a one-minute cycle, so each retry lands on the first cycle after its wait. After the fifth failed attempt that delivery is given up.
  • We pace what we send to each subscription, so a backlog drains over a while rather than all at once, and more slowly when several subscriptions are backed up at once.
  • A delivery we are holding back — because you answered 429, or because a permission or hold-event check failed (see below) — does not use up attempts, but it is given up once it has been waiting 7 days.
  • If the subscription creator loses the permission a topic needs, or the right to see hold dates, the affected deliveries wait rather than go out, and resume if the access comes back within those 7 days.

You will receive duplicates. The commonest cause is a 2xx that arrives after our timeout, so we record a failure and send again. What to do about one depends on what your handler does:

  • Syncing state — upsert the snapshot in the body, after the occurred_at check in Telling a stale body from a fresh one, whatever the key. A duplicate then costs you nothing, and you never drop a real change that happens to share a key (see below).
  • Once-only side effects — sending an email, raising an invoice, counting a sale. Deduplicate these on the key: if you have already acted on this id, answer 2xx and do not act again. Keep the ids for at least 7 days, which covers every retry and wait. A retry repeats its fact's id, while each refund and each announcement is its own fact with its own id, so a second partial refund or a re-announcement is never mistaken for a duplicate. But one order.refunded is not one refund: a refund whose delivery was still waiting when the next refund on the same order came is replaced by it and never sent on its own. On every order.refunded, read data.order.refunds and act once per refund id you have not seen.

Auto-pause ​

A subscription whose deliveries keep failing is switched off for you. It is paused when, for 7 days, none of its deliveries has succeeded and at least 5 have finally failed (given up after their attempts, or refused with a 4xx). 429s and held-back deliveries do not count, and one success resets the count. A paused subscription shows as paused, and the venue's team members who manage webhooks are emailed the reason. It stays paused until it is switched back on (see Managing a subscription). Pending deliveries are dropped when it pauses, as with any stop.

Idempotency key ​

Idempotency-Key identifies the fact a delivery reports, and it is always the body's id. We set it when the fact is queued, and it goes out as the same Idempotency-Key on every retry of that delivery, with the same body. It is the value to deduplicate on — not the timestamp, which changes on every attempt. It is a UUID, unique across topics, so it needs no topic beside it.

What makes one fact's id differ from another's:

TopicOne fact per
event.updatedchange queued — every event.updated is its own fact
event.publishedannouncement — announcing, withdrawing and announcing again gives two ids
event.unpublishedwithdrawal — a second withdrawal after a re-announcement gets its own id
event.cancelledevent — an event is cancelled once
order.completedorder — when we re-check a payment and re-finalise an order, it comes again with the same id and occurred_at
order.refundedrefund — two partial refunds on one order give two ids

A newer fact that replaces a delivery still waiting to go out (see What we do not promise) replaces its id too: the replaced fact's id is never sent.

Managing a subscription ​

Everything below is done on Settings › Webhooks, which lists the account's subscriptions with their status. Seeing them and their delivery history needs the Webhooks permission at Read; every change needs Edit (see Who can manage webhooks).

Delivery history — each subscription's recent attempts, newest first: attempt number, status code or failure kind, duration and the Idempotency-Key sent. It keeps 90 days and never stores the payload. It is the first place to look when you think a delivery went missing.

Rotate the signing secret — do this if the secret may have leaked, or on a schedule. Only the subscription's creator can rotate it. The new secret is shown once, as at creation.

For the next 24 hours, every delivery is signed with both secrets, new first, so X-Webhook-Signature carries two comma-separated entries. Deploy the new secret any time in that window. Your verifier accepts the delivery because one entry matches, whichever secret you hold. After the window, only the new secret signs.

Rotate once and keep the new secret. Rotating again inside the window replaces the previous secret straight away, so if the secret you have deployed is the one before last, it stops signing immediately and your verifier starts refusing real deliveries.

Switch it off, and back on — keeps the subscription and its configuration, and stops delivery. It shows as disabled, and anything waiting to be delivered is dropped (No replay, above). Switching it on makes it active again, and also brings back an auto-paused subscription. If its creator has lost access in the meantime, it stays suspended and the admin says why. It does not have to be the creator who switches it.

Change it — the destination URL, the topics and the hold-events option. Only its creator can change it; anyone else with Edit takes it over first. The URL and topic rules from Creating one apply; the limit and duplicate rules do not. Moving the URL clears the failure count toward auto-pause.

Take it over — a member with Edit becomes its creator, and it runs on their access from then on. This is how a subscription whose creator left the venue's team comes back: URL, topics, hold-events option and signing secret stay as they are. It is refused when the member's own access does not cover every one of its topics, or its hold-events option when they cannot see holds. A suspended subscription resumes, delivering from now (No replay, above); a disabled or paused one keeps its status.

Delete it — removes the subscription and anything waiting to be delivered to it.

Statuses ​

StatusMeaningHow it comes back
activeDelivering—
disabledSwitched off on Settings › WebhooksSwitch it back on
pausedSwitched off automatically after sustained failuresFix your endpoint, then switch it back on
suspendedIts creator lost access — for instance, they were removed from the venue's teamA member with Edit takes it over, which resumes it with the same secret. Switching it on resumes it only if its creator's access is back