Crunch Ticket API
Read your events, orders, attendees and subscribers, make draft events, check people in, and get a webhook the moment a ticket sells. Every plan includes the API. Make a key in Crunch Ticket under Integrations → Developers (Owners and Admins).
Getting Started
- Base URL
https://app.crunchticket.com/api/v1- Sign In
- Send your key in the header
Authorization: Bearer ctk_…. Keys are never accepted in the address, so they don't end up in logs. - Access
- Read Only keys can read everything below. Read and Write keys can also make draft events and check people in.
- Limits
- 120 requests a minute per key. Over that you get 429 with a Retry-After header. Each response has X-RateLimit-Limit and X-RateLimit-Remaining.
- Money
- Amounts are whole cents (5450 is $54.50). Times are ISO 8601 in UTC, and each event has its time zone.
- Test or Live
- You get orders from the mode Crunch Ticket is running in (live when we take real payments).
curl https://app.crunchticket.com/api/v1/orders?limit=10 \
-H "Authorization: Bearer ctk_your_key"Lists and Pages
Lists are newest first. Use limit (1 to 100, 25 if left out) and page. Add updated_since or created_since (an ISO date) to get only what changed.
{
"data": [ { "id": 812, "object": "order", "number": "CT-7Q2K9", "status": "paid", ... } ],
"page": 1,
"limit": 10,
"has_more": true
}Endpoints
| Request | Key | What It Does |
|---|---|---|
GET/me | Read | Your organization and this key. |
GET/events | Read | Your events, newest first. Options: status=published|draft|canceled |
GET/events/{id} | Read | One event. |
GET/events/{id}/ticket_types | Read | An event's tickets, prices and how many are sold. |
POST/events | Write | Make a draft event with a General Admission ticket, to finish in Crunch Ticket. Options: title, start, end (required); summary, description, timezone, venue_type, venue_name, address_line1, city, state, postal_code, online_url |
GET/orders | Read | Paid and refunded orders, with their attendees. Options: event_id, status=paid|refunded |
GET/orders/{id} | Read | One order. |
GET/attendees | Read | Valid tickets on paid orders. Options: event_id, checked_in=true|false |
POST/attendees/{id}/check_in | Write | Check a ticket in, with the same rules as the door scanner. |
GET/subscribers | Read | People who chose Email Me About Future Events. Options: subscribed=true|false |
GET/webhooks | Read | Webhooks this key added. |
POST/webhooks | Read | Subscribe a URL to events (Zapier REST hooks). Returns the signing secret once. Options: url, event or events[] |
DELETE/webhooks/{id} | Read | Unsubscribe. |
GET/samples/{event} | Read | An example payload for a webhook event. |
Errors
401 a missing or revoked key · 403 the API is off for your organization, or the key can't do that · 404 not found (or not yours) · 409 a check-in that didn't go through (the message says why) · 422 a field to fix · 429 too many requests.
{ "error": { "code": "invalid_key", "message": "Send a valid API key: Authorization: Bearer ctk_…" } }Webhooks
Add a webhook under Integrations → Developers, or with POST /webhooks. We POST JSON to your https:// address. Answer with any 2xx within 10 seconds. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours. After 50 failures in a row we turn the webhook off and note it in your Activity Log. Answering 410 Gone removes the webhook.
| Event | When |
|---|---|
order.paid | An order was paid (or a free order was completed). |
order.refunded | An order was fully or partly refunded. |
attendee.checked_in | A ticket was checked in at the door. |
event.published | An event was published. |
event.updated | A published event's details changed. |
event.canceled | An event was canceled. |
subscriber.added | A buyer ticked Email Me About Future Events and joined your Audience. |
subscriber.unsubscribed | Someone unsubscribed from your Audience. |
POST https://your-server.example/crunch
Crunch-Event: order.paid
Crunch-Delivery: 4417
Crunch-Signature: t=1795723536,v1=5f1c...e9
{
"id": "evt_k2m8w1q0x7c3v5b9n4z6",
"type": "order.paid",
"created": "2026-11-26T20:33:05+00:00",
"organization_id": 12,
"data": { "id": 812, "object": "order", ... }
}Check the Signature
Crunch-Signature has a time (t) and an HMAC-SHA256 (v1) of "t.body" made with your webhook's signing secret. Check it before you trust a message, and turn away old times so a copied message can't be replayed. The same message may arrive twice; use its id to skip repeats.
import crypto from 'node:crypto';
// rawBody: the request body exactly as received (a string, before JSON.parse)
function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
const expected = crypto.createHmac('sha256', secret).update(parts.t + '.' + rawBody).digest('hex');
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300; // within 5 minutes
return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}$raw = file_get_contents('php://input');
parse_str(str_replace(',', '&', $_SERVER['HTTP_CRUNCH_SIGNATURE'] ?? ''), $sig);
$expected = hash_hmac('sha256', ($sig['t'] ?? '') . '.' . $raw, getenv('CRUNCH_WEBHOOK_SECRET'));
$ok = abs(time() - (int) ($sig['t'] ?? 0)) < 300 && hash_equals($expected, $sig['v1'] ?? '');Your Responsibilities
The API gives you your buyers' names and email addresses. Use them only as the Crunch Ticket Terms and Privacy Policy allow: for your events, and email marketing only to people who chose Email Me About Future Events. Keep keys private, revoke ones you don't use, and don't share buyer data with anyone who isn't helping you run your events.