Webhooks
VenuePilot tells your systems the moment something happens. When a show is announced, changed, withdrawn or cancelled, or when a ticket order is paid for or refunded, VenuePilot sends the news straight to a system you choose: your website, your mailing list, your accounting, your team's chat. Nobody has to export a spreadsheet or check for changes by hand, and every message comes with the full details of the show or the order.
Webhooks are a separate product from the Public API. The Public API is a read-only feed of announced events that your systems ask for when they need it. Webhooks push changes to you as they happen.
Getting webhooks
Webhooks are in beta, and available to venues as an upgrade. To have them switched on, 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. Once they are on, a member of the venue's team sets up each subscription in the VenuePilot admin under Settings › Webhooks: where to send deliveries, and which kinds of news to send.
What you can build
Each kind of news is a topic, and each delivery carries the event or the order it is about. Field names below are paths inside data.event or data.order, as in the Reference.
Keep your website or app in step with your calendar
Show your upcoming events on your own site or app, and keep them right without copying anything across: new announcements appear, changed times and line-ups update, and withdrawn or cancelled shows come down or are marked cancelled.
- Topics:
event.publishedwhen an event is announced (confirmed events only),event.updatedwhen its details change, a hold being confirmed included,event.unpublishedwhen its announcement is withdrawn, andevent.cancelledwhen it is cancelled. See Topics. - Fields it reads (Event bodies):
idas your key,name,date,startTime,doorTime,timezone,state,venue.name, and fromannounceDetail:announced,description,imagesorattachments,announceArtistsandticketsUrlType. - Decide what to show from
statefirst, thenannounceDetail.announced:CONFIRMED: list it whileannouncedistrue;event.updatedalso fires for confirmed events that are not announced yet.CANCELED(spelled with one L): if you already list it, mark it cancelled or take it down, as the venue prefers, whateverannouncedsays; a cancelled event can arrive withannouncedset tofalse. Never add a cancelled event you were not already listing: it may never have been public.DELETED: take it down.
- For the ticket link, use
announceDetail.ticketsUrlwhen it is set; otherwise use the top-levelticketsUrl, the VenuePilot checkout page, whenannounceDetail.ticketsUrlTypeisVENUEPILOT_CHECKOUT; otherwise show no link. - There is no topic for a deleted event: you see
DELETEDonly if a later body for that event arrives. Unconfirmed holds are sent only to a subscription with the hold-events option on, and only while its creator can still see holds; see Hold events.
Add buyers to your CRM or mailing list
When someone buys tickets, add them to the venue's CRM or mailing list, and only market to the ones who said yes.
- Topic:
order.completed. - Fields it reads (Order bodies): from the buyer's customer record,
customer.id,customer.email,customer.firstName,customer.lastName,customer.phoneNumber,customer.emailOptInandcustomer.smsOptIn; andevent.name. The opt-ins belong to the customer record, so market to its contact details, not the order's ownemailandphoneNumber. - Market to a channel only when its opt-in is
OPTED_IN.DECLINEDandNOT_ASKEDmean no marketing, and so does acustomerofnull. - The opt-ins are a snapshot from the time of the order, and orders can arrive late and out of order. Keep each customer's opt-ins by
customer.id. Let any delivery turn a channel off (DECLINEDorNOT_ASKED), but turn it on (OPTED_IN) only from a delivery whoseoccurred_atis newer than the one you last applied for that customer. A later opt-out reaches you only with a later delivery for that buyer, a new order or an existing one sent again, so keep your own unsubscribe handling. - Buyer details are the venue's customer data: store and protect them as such.
Record sales and refunds in accounting or reporting
Book every sale and every refund in the venue's accounting or reporting tools as it happens, with tax, fees and donations already split out.
- Topics:
order.completedandorder.refunded. - Fields it reads (Order bodies):
total,currency,taxFee,processingFee,platformFee,donation,appliedCredit,lineItems[].price,lineItems[].fee,purchasedAtandpaymentMethod; for each refund,refunds[].id,amount,creditAmount,taxFee,processingFee,donationandcreatedAt. - Book each sale once: an
order.completedcan come again with the same deliveryidwhen a payment is re-checked, so skip anidyou have already booked, and a sale whosepurchasedAtis before you started receiving webhooks. order.refundedfires for partial refunds too, and one delivery can carry several refunds. Book once perrefunds[].idyou have not seen, and skip refunds whoserefunds[].createdAtis before you started receiving webhooks:refundslists every refund on the order, old ones included.- Book refunds from
refunds, notrefundedAmount, which covers only the ticket part. A full refund'samountalso includes any refunded platform fee, which is not broken out.
Alert your team about cancellations and refunds
Post a message in a chat channel when a show is cancelled or an order is refunded, so the box office and front of house hear about it straight away.
- Topics:
event.cancelledandorder.refunded. - Fields it reads: for an event (Event bodies),
name,dateandvenue.name; for an order (Order bodies),id,event.name,refunds[].id,refunds[].amount,refunds[].reasonandrefunds[].issuedBy. - Post each thing once: for
event.cancelled, skip a delivery whoseidyou have already posted; fororder.refunded, post once perrefunds[].idyou have not seen, skipping refunds made before you started receiving webhooks. See Retries and duplicates. - Keep buyers' names and contact details out of the channel.
Without writing code
Automation tools, for example Zapier, Make or n8n, have a step that catches a webhook. Use the URL that step gives you as the subscription's destination, pick the topics, and map the fields into the tool's next steps: a row in a spreadsheet, a contact in a mailing list, a chat message.
That convenience has a cost: those tools may not verify the X-Webhook-Signature header, which proves a delivery came from VenuePilot. Anyone who learns the URL could then send a fake delivery. Keep the URL private, verify the signature in a code step where the tool allows one, and don't let an unverified delivery trigger anything you can't undo. The tool also leaves duplicates and out-of-order deliveries to you.
What webhooks don't cover
- No events for individual tickets, scans or guest lists; tickets change with their order.
- No topic for customers or opt-in changes, and none for deleted events.
- Order bodies never carry a ticket's token, its PDF or preview link, or its scans.
- Nothing is replayed: what happened while a subscription was stopped is not sent later. See What we do not promise.
For your developer
- The destination must be an absolute
https://URL on the public internet, not a private or loopback address. - Answer with any
2xxwithin 10 seconds, then do the work. See Responding. - Verify
X-Webhook-Signatureagainst the raw body on every request. See Verifying the signature. - Deliveries come in no particular order, and at least once. Compare
occurred_atto keep a record current (Telling a stale body from a fresh one), and deduplicate anything you must do only once onid(Retries and duplicates). - Branch on the envelope's
version, not on the fields you happen to see.
The Reference covers setting up a subscription, every topic and field, verifying signatures, responding, and retries.