Open Box Office → Integrations with box-office editing access. Webhooks send supported changes to your own receiving endpoint. Named CRM connectors or a campaign builder are not implied by enabling a webhook.
Register a receiver
- Provide a public HTTPS endpoint on port 443.
- Choose the event types your receiver handles.
- Store the endpoint signing secret securely in the receiving application.
- Enable delivery and trigger a controlled event.
- Inspect delivery history and confirm the receiver processes it once.
Local/private network destinations, credentials in the URL, fragments and redirects are not supported. Use a public HTTPS test receiver when developing an integration.
| Event | Main purpose |
|---|---|
order.completed |
New completed order; historical imports suppress this event |
order.updated |
Tracked order-state updates |
ticket.updated |
Ticket status/performance reference updates |
membership.updated |
Membership identity/revocation update |
product.collected |
Collection or undo; inspect the payload's state |
marketing.changed |
Buyer preference, wording/source and timestamp |
Payloads are scoped event data/references, not a complete export of every related record. Newly registered endpoints do not automatically receive all historical events.
Verify the signature
The TicketRally-Signature header contains t=<unix-seconds>,v1=<hex-signature>.
The HMAC-SHA256 input is the ASCII timestamp, a literal dot and the exact raw request body.
Check a short clock tolerance and compare signatures in constant time before processing JSON.
import hashlib
import hmac
import json
import time
def verified_event(raw_body, signature_header, secret):
fields = dict(part.strip().split('=', 1) for part in signature_header.split(','))
stamp = fields['t']
if abs(time.time() - int(stamp)) > 300:
raise ValueError('Signature timestamp outside tolerance')
signed = stamp.encode('ascii') + b'.' + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
if not hmac.compare_digest(expected, fields['v1']):
raise ValueError('Invalid signature')
return json.loads(raw_body)
Your endpoint must reject malformed/missing headers as well, durably record the event ID, and coordinate that record with its side effects. Do not parse and reserialize the body before signature verification.
Delivery behavior
Return a successful 2xx promptly after durable acceptance. Failed deliveries retry with backoff, up to 12 attempts, with a maximum six-hour interval. Operators can inspect and retry eligible failed deliveries from management.
Disabling an endpoint stops future subscribed delivery; coordinate changes with the receiver. There is no automatic replay of all history or zero-downtime secret-rotation wizard.