For developers
Webhooks
Artistover sends a signed POST to your URL when something happens on your account. Webhooks are part of the Business plan.
Set up an endpoint
Add your URL in Account, Webhooks, choose the events you want and copy the signing secret. Send a test event to check it works.
Check the signature
Every delivery carries the Artistover-Signature header with a timestamp and an HMAC-SHA256 signature of the timestamp and the raw body. Refuse deliveries older than 300 seconds.
import { createHmac, timingSafeEqual } from 'node:crypto';
// header: the Artistover-Signature header, body: the raw request body
export function verifyArtistoverSignature(header, body, secret) {
const parts = Object.fromEntries(header.split(',').map((part) => part.split('=')));
const age = Math.abs(Date.now() / 1000 - Number(parts.t));
if (!parts.t || !parts.v1 || age > 300) return false;
const expected = createHmac('sha256', secret).update(`${parts.t}.${body}`).digest('hex');
const given = Buffer.from(parts.v1, 'hex');
const want = Buffer.from(expected, 'hex');
return given.length === want.length && timingSafeEqual(given, want);
}Retries
Answer with a 2xx status within a few seconds. Otherwise Artistover tries again, up to 11 attempts over about three days, and switches off an endpoint that keeps failing. Each event has an id, so you can ignore one you have already handled.
Event types
Events
event.publishedEvent publishedevent.changedEvent changedevent.unpublishedEvent unlistedevent.cancelledEvent cancelledComing soonevent.deletedEvent deleted
Tickets
ticket.confirmedTicket confirmedticket.refundedTicket refundedComing soonticket.transferredTicket transferredComing soon
Guests
guest.checked_inGuest checked inwaitlist.joinedWaitlist joinedwaitlist.offeredWaitlist offer sentrsvp.answeredRSVP answeredComing soon
Bookings
booking.requestedBooking requestedbooking.acceptedBooking acceptedbooking.declinedBooking declinedbooking.cancelledBooking cancelledbooking.changedBooking changedbooking.completedBooking completedbooking.expiredBooking expired
Payments
payment.succeededPayment receivedpayment.refundedRefund issuedpayout.sentPayout sent
Reviews
review.receivedReview received
Listings
listing.publishedListing livelisting.unpublishedListing taken down
Messages
message.receivedMessage received