API reference

This is every endpoint, with what it's for, what to send and what you get back. All the examples are real requests you can paste into a terminal once EVENTTICKETS_KEY holds your test key.

New here? Start with the Quickstart, and skim API basics for keys, errors, retries and paging.

Events#

An event is what you sell tickets for: a one-off night, or one event over several days like a festival. Each one holds the venue and total capacity, its days, its ticket types (each with prices) and any add-ons, and you can group events on different dates into a series.

Create an event

POST/v1/events

Makes a new event as a draft, which nobody can buy yet, so you can check everything first. When you're ready, put it on sale with Change an event.

The event uses your account's currency and starts with one day (starts_at) and one ticket type, General admission, holding the prices you sent. For a multi-day event, add days with Add a day and passes or day tickets with Add a ticket type.

The response is the full event, including each price's breakdown.

Body

namestringrequired
What the event is called.
starts_atdaterequired
When it starts, for example 2026-11-14T22:00:00Z.
tiersarray of pricesrequired
At least one price (fields below), in the order they should sell, which become the prices of a General admission ticket type.
doors_atdateoptional
When doors open, if different.
venuestringoptional
Venue name.
addressstringoptional
Street address.
citystringoptional
City.
descriptionstringoptional
Longer text for your own pages.
capacityintegeroptional
The most tickets the whole event can sell across every tier, or leave it out for no limit.
max_per_orderintegeroptional
The most tickets one buyer can get in one go, from 1 to 50 (default 10).
fee_payerbuyer | organiseroptional
Who pays our booking fee (default buyer).
door_modesingle | reentry | in_outoptional
How re-entry works at the door (default single). With single, each ticket gets in once per day; with reentry, scanning again lets someone back in; with in_out, staff scan people in and out.
queue_modeauto | fixedoptional
How the on-sale queue works (default auto). With auto, the queue paces itself; with fixed, at most queue_active_limit buyers are in checkout at once.
queue_active_limitintegeroptional
How many buyers can be in checkout at once when queue_mode is fixed, from 1 to 100 (default 15). Ignored when queue_mode is auto.
series_ididoptional
Put the event in a series.
Request
curl https://api.eventtickets.dev/v1/events \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Harbour Nights",
    "starts_at": "2026-11-14T22:00:00Z",
    "venue": "The Harbour Rooms",
    "city": "Bristol",
    "capacity": 400,
    "tiers": [
      { "label": "Early bird", "price": 800, "capacity": 100 },
      { "label": "Standard",   "price": 1200 }
    ]
  }'
Response
{
  "id": "evt_3f9a1c2b7d4e5f60",
  "object": "event",
  "livemode": false,
  "name": "Harbour Nights",
  "slug": "harbour-nights",
  "description": null,
  "venue": "The Harbour Rooms",
  "address": null,
  "city": "Bristol",
  "starts_at": "2026-11-14T22:00:00+00:00",
  "doors_at": null,
  "ends_at": null,
  "timezone": "Europe/London",
  "currency": "gbp",
  "capacity": 400,
  "max_per_order": 10,
  "fee_payer": "buyer",
  "door_mode": "single",
  "queue_mode": "auto",
  "queue_active_limit": 15,
  "series_id": null,
  "status": "draft",
  "created_at": "2026-10-04T09:12:44+00:00",
  "buy_url": "https://pay.eventtickets.dev/e/evt_3f9a1c2b7d4e5f60",
  "tickets_issued": 0,
  "tickets_checked_in": 0,
  "sessions": [
    {
      "object": "session",
      "id": "ses_2a7c4e9b1d3f5a80",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Main",
      "starts_at": "2026-11-14T22:00:00+00:00",
      "doors_at": null,
      "ends_at": null
    }
  ],
  "ticket_types": [
    {
      "id": "tt_5d1e7f2a9b3c4d60",
      "object": "ticket_type",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "name": "General admission",
      "description": null,
      "session_ids": ["ses_2a7c4e9b1d3f5a80"],
      "position": 0,
      "hidden": false,
      "sold": 0,
      "active_tier_id": "tier_8a2b6c4d1e9f3a70"
    }
  ],
  "tiers": [
    {
      "id": "tier_8a2b6c4d1e9f3a70",
      "object": "tier",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Early bird",
      "price": 800,
      "currency": "gbp",
      "capacity": 100,
      "sold": 0,
      "state": "active",
      "active": true,
      "ends_at": null,
      "position": 0,
      "hidden": false,
      "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
      "booking_fee": 54,
      "buyer_pays": 854,
      "organiser_receives": 800
    }
  ],
  "addons": []
}

Needs the events:write permission on your key.

List events

GET/v1/events

Returns your events, newest first, which is handy for showing an events page on your site. List items don't include tiers, so get one event when you need those.

Query string

statusstringoptional
Only events with this status: draft, on_sale, paused, ended or cancelled.
limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl "https://api.eventtickets.dev/v1/events?status=on_sale" -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    { "id": "evt_3f9a1c2b7d4e5f60", "object": "event", "name": "Harbour Nights", "status": "on_sale", "...": "" }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Get one event

GET/v1/events/:id

Everything about one event: its days, its ticket types, their prices with how many have sold and which is on sale now ("active": true), and its add-ons. Each price has buyer_pays, so you can show the exact price including the booking fee.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "evt_3f9a1c2b7d4e5f60",
  "object": "event",
  "livemode": false,
  "name": "Harbour Nights",
  "slug": "harbour-nights",
  "description": null,
  "venue": "The Harbour Rooms",
  "address": null,
  "city": "Bristol",
  "starts_at": "2026-11-14T22:00:00+00:00",
  "doors_at": null,
  "ends_at": null,
  "timezone": "Europe/London",
  "currency": "gbp",
  "capacity": 400,
  "max_per_order": 10,
  "fee_payer": "buyer",
  "door_mode": "single",
  "queue_mode": "auto",
  "queue_active_limit": 15,
  "series_id": null,
  "status": "draft",
  "created_at": "2026-10-04T09:12:44+00:00",
  "buy_url": "https://pay.eventtickets.dev/e/evt_3f9a1c2b7d4e5f60",
  "tickets_issued": 0,
  "tickets_checked_in": 0,
  "sessions": [
    {
      "object": "session",
      "id": "ses_2a7c4e9b1d3f5a80",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Main",
      "starts_at": "2026-11-14T22:00:00+00:00",
      "doors_at": null,
      "ends_at": null
    }
  ],
  "ticket_types": [
    {
      "id": "tt_5d1e7f2a9b3c4d60",
      "object": "ticket_type",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "name": "General admission",
      "description": null,
      "session_ids": ["ses_2a7c4e9b1d3f5a80"],
      "position": 0,
      "hidden": false,
      "sold": 0,
      "active_tier_id": "tier_8a2b6c4d1e9f3a70"
    }
  ],
  "tiers": [
    {
      "id": "tier_8a2b6c4d1e9f3a70",
      "object": "tier",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Early bird",
      "price": 800,
      "currency": "gbp",
      "capacity": 100,
      "sold": 0,
      "state": "active",
      "active": true,
      "ends_at": null,
      "position": 0,
      "hidden": false,
      "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
      "booking_fee": 54,
      "buyer_pays": 854,
      "organiser_receives": 800
    }
  ],
  "addons": []
}

Needs the events:read permission on your key.

Change an event, or put it on sale

PATCH/v1/events/:id

Send only the fields you want to change, and everything else stays as it is. To edit tickets, prices or add-ons, use their endpoints below. series_id moves the event into a series, or out of one with null.

The allowed status moves are: draft → on_sale, on_sale ⇄ paused, and anything still running → ended or cancelled. Going on sale needs at least one visible ticket type with a visible price. A new organiser's live events can't go on sale until we've approved their first one: until then this returns 409 with the code account_not_approved, though test events are never held back.

Body

statusstringoptional
on_sale to start selling, paused to stop for now, or ended or cancelled to finish for good (both are final).
…optional
Any field from Create an event except tiers, and only what you send is changed. On a multi-day event, change days with the day endpoints instead of starts_at.
Request
curl -X PATCH https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "status": "on_sale" }'
Response
{ "id": "evt_3f9a1c2b7d4e5f60", "object": "event", "status": "on_sale", "...": "the full event" }

Needs the events:write permission on your key.

Sales and check-in numbers

GET/v1/events/:id/stats

This gives you the numbers for a dashboard or a "nearly sold out" banner. gross_sales is what buyers paid, fees is our booking fee and revenue is what you receive, while the ticket counts include guest list.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/stats -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "event_stats",
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "currency": "gbp",
  "capacity": 400,
  "tickets_issued": 212,
  "tickets_checked_in": 0,
  "orders_paid": 118,
  "orders_refunded": 2,
  "gross_sales": 226540,
  "fees": 12740,
  "revenue": 213800,
  "tiers": [
    { "id": "tier_8a2b6c4d1e9f3a70", "label": "Early bird", "sold": 100, "capacity": 100, "state": "sold_out" },
    { "id": "tier_9b3c7d5e2f0a4b81", "label": "Standard", "sold": 112, "capacity": null, "state": "active" }
  ]
}

Needs the events:read permission on your key.

Copy an event to new dates

POST/v1/events/:id/copies

Use this for a weekly night or a run of shows. Each copy is a separate draft event with the same details, door setting, days, ticket types, prices and add-ons, and nothing sold. The copies go in the event's series, or if it isn't in one, a series is made with the event's name.

Body

startsarray of datesrequired
Start times for the copies' first day, up to 52, and each copy's other days and price end dates move by the same amount.
Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/copies \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "starts": ["2026-11-12T19:30:00Z", "2026-11-19T19:30:00Z"] }'
Response
{
  "object": "series",
  "id": "ser_8b4d2f6a1c3e5b70",
  "name": "Comedy Thursdays",
  "url": "https://pay.eventtickets.dev/s/ser_8b4d2f6a1c3e5b70",
  "...": "",
  "created": [
    { "id": "evt_4a0b2d3c8e5f6a71", "object": "event", "status": "draft", "...": "" },
    { "id": "evt_5b1c3e4d9f6a7b82", "object": "event", "status": "draft", "...": "" }
  ]
}

Needs the events:write permission on your key.

Days#

These are an event's days, called sessions in the API. Every event has at least one and a multi-day event has several, with each ticket type saying which days it gets people in on. One QR code per ticket works on every day it covers, and the door checks it in once per day.

List an event's days

GET/v1/events/:id/sessions

Returns the days in date order, and the event's own starts_at and ends_at follow its first and last day.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/sessions -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "object": "session",
      "id": "ses_2a7c4e9b1d3f5a80",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Main",
      "starts_at": "2026-11-14T22:00:00+00:00",
      "doors_at": null,
      "ends_at": null
    }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Add a day

POST/v1/events/:id/sessions

Tickets already sold keep the days they were bought for, even if you add this day to their ticket type.

Body

labelstringrequired
What staff and buyers see, like Saturday or Night 2.
starts_atdaterequired
When it starts.
doors_atdateoptional
When doors open.
ends_atdateoptional
When it ends.
ticket_type_idsarray of idsoptional
Ticket types that should also get people in on this day, like a weekend pass.
Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/sessions \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Saturday",
    "starts_at": "2026-11-15T12:00:00Z",
    "ticket_type_ids": ["tt_5d1e7f2a9b3c4d60"]
  }'
Response
{ "object": "session", "id": "ses_3b8d5f0c2e4a6b91", "label": "Saturday", "...": "" }

Needs the events:write permission on your key.

Get one day

GET/v1/sessions/:id

One day of an event.

Request
curl https://api.eventtickets.dev/v1/sessions/ses_2a7c4e9b1d3f5a80 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "session",
  "id": "ses_2a7c4e9b1d3f5a80",
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "label": "Main",
  "starts_at": "2026-11-14T22:00:00+00:00",
  "doors_at": null,
  "ends_at": null
}

Needs the events:read permission on your key.

Change a day

PATCH/v1/sessions/:id

Send only what changes.

Body

labelstringoptional
A new name.
starts_atdateoptional
A new start.
doors_atdateoptional
A new doors time, or null.
ends_atdateoptional
A new end, or null.
Request
curl -X PATCH https://api.eventtickets.dev/v1/sessions/ses_2a7c4e9b1d3f5a80 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "label": "Friday" }'
Response
{ "object": "session", "id": "ses_2a7c4e9b1d3f5a80", "label": "Friday", "...": "" }

Needs the events:write permission on your key.

Remove a day

DELETE/v1/sessions/:id

You can only remove a day that no ticket covers (comps included), and an event always keeps at least one. If a ticket type only covers this day, you have to delete it first.

Request
curl -X DELETE https://api.eventtickets.dev/v1/sessions/ses_3b8d5f0c2e4a6b91 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "ses_3b8d5f0c2e4a6b91", "object": "session", "deleted": true }

Needs the events:write permission on your key.

Ticket types#

Ticket types are what buyers choose between, like General admission, VIP, Full pass or Saturday. Each one covers some of the event's days and has one or more prices that sell in order, like Early bird then Standard, and every event has at least one.

List an event's ticket types

GET/v1/events/:id/ticket_types

Returns them in the order buyers see them. active_tier_id is the price on sale now, and the prices themselves are the tiers with this ticket_type_id.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/ticket_types -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "tt_5d1e7f2a9b3c4d60",
      "object": "ticket_type",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "name": "General admission",
      "description": null,
      "session_ids": ["ses_2a7c4e9b1d3f5a80"],
      "position": 0,
      "hidden": false,
      "sold": 0,
      "active_tier_id": "tier_8a2b6c4d1e9f3a70"
    }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Add a ticket type with its prices

POST/v1/events/:id/ticket_types

Prices sell in the order you send them. Buyers can then choose this ticket on the event page, or you can pass its id when you create a checkout session.

Body

namestringrequired
What buyers see, like Weekend pass.
tiersarray of pricesrequired
Its prices in selling order, from 1 to 10, each taking label, price, and optionally capacity and ends_at (fields under Prices).
session_idsarray of idsoptional
The days it gets people in on, or leave it out for every day.
descriptionstringoptional
A line shown to buyers.
hiddenbooleanoptional
Hide it from buyers.
Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/ticket_types \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Saturday",
    "session_ids": ["ses_3b8d5f0c2e4a6b91"],
    "tiers": [
      { "label": "Early bird", "price": 2500, "capacity": 200 },
      { "label": "Standard",   "price": 3200 }
    ]
  }'
Response
{ "id": "tt_6e2f8a3b0c4d5e71", "object": "ticket_type", "name": "Saturday", "session_ids": ["ses_3b8d5f0c2e4a6b91"], "...": "" }

Needs the events:write permission on your key.

Get one ticket type

GET/v1/ticket_types/:id

One ticket type and how many have sold.

Request
curl https://api.eventtickets.dev/v1/ticket_types/tt_5d1e7f2a9b3c4d60 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "tt_5d1e7f2a9b3c4d60",
  "object": "ticket_type",
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "name": "General admission",
  "description": null,
  "session_ids": ["ses_2a7c4e9b1d3f5a80"],
  "position": 0,
  "hidden": false,
  "sold": 0,
  "active_tier_id": "tier_8a2b6c4d1e9f3a70"
}

Needs the events:read permission on your key.

Change a ticket type

PATCH/v1/ticket_types/:id

Tickets already sold keep the days they were bought for.

Body

namestringoptional
A new name.
descriptionstringoptional
A new description, or null.
session_idsarray of idsoptional
The days it covers from now on.
hiddenbooleanoptional
Hide it from buyers, or show it again.
Request
curl -X PATCH https://api.eventtickets.dev/v1/ticket_types/tt_5d1e7f2a9b3c4d60 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Full pass" }'
Response
{ "id": "tt_5d1e7f2a9b3c4d60", "object": "ticket_type", "name": "Full pass", "...": "" }

Needs the events:write permission on your key.

Delete a ticket type

DELETE/v1/ticket_types/:id

Deletes the ticket type and its prices. This only works when no tickets of this type exist and the event has another ticket type, so otherwise hide it instead.

Request
curl -X DELETE https://api.eventtickets.dev/v1/ticket_types/tt_6e2f8a3b0c4d5e71 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "tt_6e2f8a3b0c4d5e71", "object": "ticket_type", "deleted": true }

Needs the events:write permission on your key.

Prices (tiers)#

These are the prices of a ticket type, like Early bird then Standard, and in the API they're called tiers. Within a ticket type they sell one at a time, in order: when a price sells out or passes its end date, the next takes over by itself, and the last one keeps selling until the event's capacity is reached.

List an event's prices

GET/v1/events/:id/tiers

Every price of every ticket type, in selling order within each type. state is one of active (on sale now), upcoming, sold_out or ended.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/tiers -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "tier_8a2b6c4d1e9f3a70",
      "object": "tier",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "label": "Early bird",
      "price": 800,
      "currency": "gbp",
      "capacity": 100,
      "sold": 0,
      "state": "active",
      "active": true,
      "ends_at": null,
      "position": 0,
      "hidden": false,
      "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
      "booking_fee": 54,
      "buyer_pays": 854,
      "organiser_receives": 800
    }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Add a price

POST/v1/events/:id/tiers

Adds a price at the end of its ticket type's line, so it starts selling when the one before it sells out or ends.

Body

labelstringrequired
The name buyers see, like Early bird.
ticket_type_ididoptional
The ticket type this is a price of, which can't be changed later. Leave it out to use the event's first ticket type.
priceintegerrequired
Price of one ticket in pence, where 0 makes it free.
capacityintegeroptional
The most tickets this tier can sell, or leave it out for no tier limit.
ends_atdateoptional
When this tier stops selling, even if tickets are left.
hiddenbooleanoptional
Hide it from buyers without deleting it.
Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/tiers \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "label": "Final release", "price": 1500 }'
Response
{ "id": "tier_0c4d8e6f3a1b5c92", "object": "tier", "label": "Final release", "price": 1500, "state": "upcoming", "...": "" }

Needs the events:write permission on your key.

Change a price

PATCH/v1/tiers/:id

Send only what changes, and tickets already sold keep the name and price they were bought at.

Body

labelstringoptional
The name buyers see, like Early bird.
ticket_type_ididoptional
The ticket type this is a price of, which can't be changed later. Leave it out to use the event's first ticket type.
priceintegeroptional
Price of one ticket in pence, where 0 makes it free.
capacityintegeroptional
The most tickets this tier can sell, or leave it out for no tier limit.
ends_atdateoptional
When this tier stops selling, even if tickets are left.
hiddenbooleanoptional
Hide it from buyers without deleting it.
Request
curl -X PATCH https://api.eventtickets.dev/v1/tiers/tier_8a2b6c4d1e9f3a70 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "capacity": 150 }'
Response
{ "id": "tier_8a2b6c4d1e9f3a70", "object": "tier", "capacity": 150, "...": "" }

Needs the events:write permission on your key.

Delete a price

DELETE/v1/tiers/:id

This only works on a price with no tickets, and a ticket type always keeps at least one price. To stop selling a price that has sales, set "hidden": true instead.

Request
curl -X DELETE https://api.eventtickets.dev/v1/tiers/tier_0c4d8e6f3a1b5c92 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "tier_0c4d8e6f3a1b5c92", "object": "tier", "deleted": true }

Needs the events:write permission on your key.

Add-ons#

Add-ons are optional extras your buyers add at checkout, like parking, merch or a drinks token. We set the price and hold stock while the buyer pays, and those marked collect_at_door show up for door staff when any ticket on the order is scanned, so staff can mark them handed over.

List an event's add-ons

GET/v1/events/:id/addons

In the order buyers see them, with how many have sold.

Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/addons -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "add_3c8e1a5f7b2d4e90",
      "object": "addon",
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "name": "Parking",
      "description": "One car, all night",
      "price": 500,
      "currency": "gbp",
      "capacity": 80,
      "sold": 0,
      "max_per_order": 2,
      "collect_at_door": true,
      "position": 0,
      "hidden": false
    }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Add an add-on

POST/v1/events/:id/addons

Add-ons belong to the order, not to each ticket: two tickets and one parking is one parking, collectable with either ticket. Buyers choose them on the checkout page, and discount codes don't apply to them.

Body

namestringrequired
What buyers see, like Parking.
priceintegerrequired
Price of one in pence, where 0 makes it free.
descriptionstringoptional
A short line shown at checkout.
capacityintegeroptional
How many can be sold in total, or leave it out for no limit.
max_per_orderintegeroptional
The most one order can have, from 1 to 50 (default 10).
collect_at_doorbooleanoptional
Whether it's handed over at the door (default true).
hiddenbooleanoptional
Hide it from buyers.
Request
curl https://api.eventtickets.dev/v1/events/evt_3f9a1c2b7d4e5f60/addons \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Parking", "price": 500, "capacity": 80, "max_per_order": 2 }'
Response
{
  "id": "add_3c8e1a5f7b2d4e90",
  "object": "addon",
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "name": "Parking",
  "description": "One car, all night",
  "price": 500,
  "currency": "gbp",
  "capacity": 80,
  "sold": 0,
  "max_per_order": 2,
  "collect_at_door": true,
  "position": 0,
  "hidden": false
}

Needs the events:write permission on your key.

Get one add-on

GET/v1/addons/:id

One add-on and how many have sold.

Request
curl https://api.eventtickets.dev/v1/addons/add_3c8e1a5f7b2d4e90 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "add_3c8e1a5f7b2d4e90",
  "object": "addon",
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "name": "Parking",
  "description": "One car, all night",
  "price": 500,
  "currency": "gbp",
  "capacity": 80,
  "sold": 0,
  "max_per_order": 2,
  "collect_at_door": true,
  "position": 0,
  "hidden": false
}

Needs the events:read permission on your key.

Change an add-on

PATCH/v1/addons/:id

Orders already placed keep the name and price they were bought at.

Body

…optional
Any field from Add an add-on, and only what you send is changed.
Request
curl -X PATCH https://api.eventtickets.dev/v1/addons/add_3c8e1a5f7b2d4e90 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "capacity": 100 }'
Response
{ "id": "add_3c8e1a5f7b2d4e90", "object": "addon", "capacity": 100, "...": "" }

Needs the events:write permission on your key.

Delete an add-on

DELETE/v1/addons/:id

Only add-ons nobody has bought can be deleted; hide the others.

Request
curl -X DELETE https://api.eventtickets.dev/v1/addons/add_3c8e1a5f7b2d4e90 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "add_3c8e1a5f7b2d4e90", "object": "addon", "deleted": true }

Needs the events:write permission on your key.

Series#

A series groups separate events, like a weekly night or a tour, on one page where buyers pick a date. Each event in it keeps its own tickets, capacity, orders and door list.

List series

GET/v1/series

Returns your series, newest first. List items don't include their events, so get one series when you need those.

Request
curl https://api.eventtickets.dev/v1/series -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    { "object": "series", "id": "ser_8b4d2f6a1c3e5b70", "name": "Comedy Thursdays", "url": "https://pay.eventtickets.dev/s/ser_8b4d2f6a1c3e5b70", "...": "" }
  ],
  "has_more": false
}

Needs the events:read permission on your key.

Create a series

POST/v1/series

A new series starts empty, so add events to it with series_id on Change an event, or make new dates with Copy an event to new dates. Then send buyers to its url.

Body

namestringrequired
Shown on the series page.
descriptionstringoptional
Shown on the series page.
Request
curl https://api.eventtickets.dev/v1/series \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Comedy Thursdays" }'
Response
{ "object": "series", "id": "ser_8b4d2f6a1c3e5b70", "name": "Comedy Thursdays", "events": [], "...": "" }

Needs the events:write permission on your key.

Get a series and its dates

GET/v1/series/:id

The series with its events in date order.

Request
curl https://api.eventtickets.dev/v1/series/ser_8b4d2f6a1c3e5b70 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "series",
  "id": "ser_8b4d2f6a1c3e5b70",
  "livemode": false,
  "name": "Comedy Thursdays",
  "slug": "comedy-thursdays",
  "description": null,
  "created_at": "2026-10-04T09:50:00+00:00",
  "url": "https://pay.eventtickets.dev/s/ser_8b4d2f6a1c3e5b70",
  "events": [
    { "id": "evt_3f9a1c2b7d4e5f60", "object": "event", "starts_at": "2026-11-05T19:30:00+00:00", "...": "" },
    { "id": "evt_4a0b2d3c8e5f6a71", "object": "event", "starts_at": "2026-11-12T19:30:00+00:00", "...": "" }
  ]
}

Needs the events:read permission on your key.

Change a series

PATCH/v1/series/:id

Send only what changes.

Body

namestringoptional
A new name.
descriptionstringoptional
A new description, or null.
Request
curl -X PATCH https://api.eventtickets.dev/v1/series/ser_8b4d2f6a1c3e5b70 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "description": "Stand-up every Thursday at 7:30." }'
Response
{
  "object": "series",
  "id": "ser_8b4d2f6a1c3e5b70",
  "livemode": false,
  "name": "Comedy Thursdays",
  "slug": "comedy-thursdays",
  "description": null,
  "created_at": "2026-10-04T09:50:00+00:00",
  "url": "https://pay.eventtickets.dev/s/ser_8b4d2f6a1c3e5b70",
  "events": [
    { "id": "evt_3f9a1c2b7d4e5f60", "object": "event", "starts_at": "2026-11-05T19:30:00+00:00", "...": "" },
    { "id": "evt_4a0b2d3c8e5f6a71", "object": "event", "starts_at": "2026-11-12T19:30:00+00:00", "...": "" }
  ]
}

Needs the events:write permission on your key.

Delete a series

DELETE/v1/series/:id

Its events are kept, just no longer grouped.

Request
curl -X DELETE https://api.eventtickets.dev/v1/series/ser_8b4d2f6a1c3e5b70 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "ser_8b4d2f6a1c3e5b70", "object": "series", "deleted": true }

Needs the events:write permission on your key.

Checkout#

A checkout session is one buyer's trip from your Buy button to paid tickets. You create it on your server and send the buyer to its url, and we handle the queue, the hold on their tickets, the card form and the ticket email.

Send a buyer to checkout

POST/v1/checkout_sessions

Redirect the buyer to the url in the response. You never send a price: it comes from the ticket type's current price, so it can't be changed in the browser. If the event has add-ons, the buyer picks them on the checkout page, and they appear in addons and amount_addons once chosen.

status starts as queued if the on-sale is busy, or open when the buyer's tickets are held for them (until held_until). It becomes complete when they pay, or expired if they don't. The amounts fill in once the buyer enters their details.

Body

event_ididrequired
The event they're buying for, which must be on sale.
quantityintegerrequired
How many tickets, from 1 to the event's max_per_order.
ticket_type_ididoptional
Which ticket type, like a full pass or a day ticket. You need it when the event sells more than one, and otherwise the event's only ticket type is used.
success_urlurloptional
Where to send the buyer as soon as their payment is confirmed, instead of our confirmation page, which they see otherwise with their tickets and wallet buttons. If you include {ORDER_ID} and {CHECKOUT_SESSION_ID}, we fill them in.
cancel_urlurloptional
Where the Back link on checkout goes.
sourcestringoptional
Where the buyer came from, like instagram, which shows in your analytics.
metadataobjectoptional
Up to 20 of your own key-value strings, like your customer id, which we copy onto the order and its webhooks.
Request
curl https://api.eventtickets.dev/v1/checkout_sessions \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: basket-4821-1" \
  -d '{
    "event_id": "evt_3f9a1c2b7d4e5f60",
    "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
    "quantity": 2,
    "success_url": "https://yoursite.com/thanks?order={ORDER_ID}",
    "source": "instagram",
    "metadata": { "customer_id": "4821" }
  }'
Response
{
  "id": "cs_4d8e2a6b1c9f7e30",
  "object": "checkout_session",
  "livemode": false,
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "status": "open",
  "quantity": 2,
  "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
  "tier_id": "tier_8a2b6c4d1e9f3a70",
  "tier_label": "Early bird",
  "unit_amount": 800,
  "currency": "gbp",
  "amount_subtotal": null,
  "amount_discount": null,
  "amount_addons": 0,
  "amount_fee": null,
  "amount_total": null,
  "buyer_email": null,
  "buyer_name": null,
  "success_url": "https://yoursite.com/thanks?order={ORDER_ID}",
  "cancel_url": null,
  "held_until": "2026-11-02T19:13:40+00:00",
  "metadata": { "customer_id": "4821" },
  "source": "instagram",
  "addons": [],
  "created_at": "2026-11-02T19:03:40+00:00",
  "url": "https://pay.eventtickets.dev/c/cs_4d8e2a6b1c9f7e30",
  "order_id": null
}

Needs the checkout:write permission on your key.

Check on a checkout

GET/v1/checkout_sessions/:id

When status is complete, order_id tells you which order it made. On your success_url page it's quicker to put {ORDER_ID} in the URL and get the order directly: see After payment. For anything important, rely on the order.paid webhook too.

Request
curl https://api.eventtickets.dev/v1/checkout_sessions/cs_4d8e2a6b1c9f7e30 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "cs_4d8e2a6b1c9f7e30", "object": "checkout_session", "status": "complete", "order_id": "ord_9c1e4b7a2d3f5e60", "...": "" }

Needs the checkout:write permission on your key.

Orders#

An order is one paid purchase: who bought, what they paid, and the tickets they got. Orders are created by checkout, and you can't create them directly.

List orders

GET/v1/orders

Returns orders newest first, each with its tickets, which is handy for exports and for catching up if your webhook endpoint was down.

Query string

event_ididoptional
Only orders for this event.
statusstringoptional
paid or refunded.
emailstringoptional
Only orders from this buyer email.
limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl "https://api.eventtickets.dev/v1/orders?event_id=evt_3f9a1c2b7d4e5f60&limit=50" -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    { "id": "ord_9c1e4b7a2d3f5e60", "object": "order", "status": "paid", "amount_total": 1708, "tickets": ["..."], "...": "" }
  ],
  "has_more": true
}

Needs the orders:read permission on your key.

Get one order

GET/v1/orders/:id

The amounts add up like this: amount_subtotal − amount_discount + amount_addons + amount_fee (when the buyer pays the fee) = amount_total, which is what the buyer was charged. addons lists the extras bought, and collected shows how many were handed over at the door.

Request
curl https://api.eventtickets.dev/v1/orders/ord_9c1e4b7a2d3f5e60 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "ord_9c1e4b7a2d3f5e60",
  "object": "order",
  "livemode": false,
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "checkout_session_id": "cs_4d8e2a6b1c9f7e30",
  "status": "paid",
  "currency": "gbp",
  "amount_subtotal": 1600,
  "amount_discount": 0,
  "amount_addons": 500,
  "amount_fee": 123,
  "fee_payer": "buyer",
  "amount_total": 2223,
  "buyer_email": "ama@example.com",
  "buyer_name": "Ama Owusu",
  "paid_at": "2026-11-02T19:04:11+00:00",
  "refunded_at": null,
  "metadata": { "customer_id": "4821" },
  "created_at": "2026-11-02T19:04:11+00:00",
  "tickets": [
    {
      "id": "tkt_1b2c3d4e5f607182",
      "object": "ticket",
      "livemode": false,
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "order_id": "ord_9c1e4b7a2d3f5e60",
      "tier_id": "tier_8a2b6c4d1e9f3a70",
      "tier_label": "Early bird",
      "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
      "session_ids": ["ses_2a7c4e9b1d3f5a80"],
      "amount": 800,
      "type": "paid",
      "status": "valid",
      "holder_name": null,
      "holder_email": null,
      "note": null,
      "redeemed_at": null,
      "created_at": "2026-11-02T19:04:11+00:00",
      "url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53",
      "apple_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/apple",
      "google_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/google"
    },
    { "id": "tkt_2c3d4e5f60718293", "object": "ticket", "...": "same shape" }
  ],
  "addons": [
    { "object": "order_addon", "id": "oad_7e2a4c6b9d1f3a50", "addon_id": "add_3c8e1a5f7b2d4e90", "name": "Parking", "unit_amount": 500, "quantity": 1, "collect_at_door": true, "collected": 0 }
  ]
}

Needs the orders:read permission on your key.

Refund an order

POST/v1/orders/:id/refund

Gives the buyer all their money back, booking fee included, and cancels the tickets so they no longer scan, which puts them back on sale. We send an order.refunded webhook, and if you refund an order twice, the second time does nothing.

Request
curl -X POST https://api.eventtickets.dev/v1/orders/ord_9c1e4b7a2d3f5e60/refund \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Idempotency-Key: refund-ord_9c1e4b7a2d3f5e60"
Response
{ "id": "ord_9c1e4b7a2d3f5e60", "object": "order", "status": "refunded", "refunded_at": "2026-11-05T10:22:03+00:00", "...": "" }

Needs the orders:write permission on your key.

Email the tickets again

POST/v1/orders/:id/resend

Sends the order's tickets to the buyer's email address again, for when someone gets in touch saying "I can't find my tickets".

Request
curl -X POST https://api.eventtickets.dev/v1/orders/ord_9c1e4b7a2d3f5e60/resend -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "ord_9c1e4b7a2d3f5e60", "object": "order", "...": "" }

Needs the orders:write permission on your key.

Tickets#

One ticket gets one person in on each day in its session_ids. Paid tickets come from orders, while comps are free tickets you issue yourself, and each ticket has a url to its own page with the QR code.

List tickets

GET/v1/tickets

For example, everyone who has checked in so far, or the whole guest list for one night.

Query string

event_ididoptional
Only tickets for this event.
order_ididoptional
Only tickets from this order.
typestringoptional
paid or comp (a free ticket you issued).
statusstringoptional
valid (not used yet), redeemed (checked in) or void (cancelled).
emailstringoptional
Only tickets held by this email.
limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl "https://api.eventtickets.dev/v1/tickets?event_id=evt_3f9a1c2b7d4e5f60&status=redeemed" -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "tkt_1b2c3d4e5f607182",
      "object": "ticket",
      "livemode": false,
      "event_id": "evt_3f9a1c2b7d4e5f60",
      "order_id": "ord_9c1e4b7a2d3f5e60",
      "tier_id": "tier_8a2b6c4d1e9f3a70",
      "tier_label": "Early bird",
      "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
      "session_ids": ["ses_2a7c4e9b1d3f5a80"],
      "amount": 800,
      "type": "paid",
      "status": "valid",
      "holder_name": null,
      "holder_email": null,
      "note": null,
      "redeemed_at": null,
      "created_at": "2026-11-02T19:04:11+00:00",
      "url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53",
      "apple_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/apple",
      "google_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/google"
    }
  ],
  "has_more": false
}

Needs the tickets:read permission on your key.

Get one ticket

GET/v1/tickets/:id

redeemed_at is set when it was first scanned in. url is the ticket page with the QR code: treat it like the ticket itself and only share it with the holder.

apple_wallet_url and google_wallet_url add the ticket to Apple Wallet or Google Wallet, so you can link to them from your own pages with the official badges. Each is null when that wallet is turned off for the event or the ticket is void.

Request
curl https://api.eventtickets.dev/v1/tickets/tkt_1b2c3d4e5f607182 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "tkt_1b2c3d4e5f607182",
  "object": "ticket",
  "livemode": false,
  "event_id": "evt_3f9a1c2b7d4e5f60",
  "order_id": "ord_9c1e4b7a2d3f5e60",
  "tier_id": "tier_8a2b6c4d1e9f3a70",
  "tier_label": "Early bird",
  "ticket_type_id": "tt_5d1e7f2a9b3c4d60",
  "session_ids": ["ses_2a7c4e9b1d3f5a80"],
  "amount": 800,
  "type": "paid",
  "status": "valid",
  "holder_name": null,
  "holder_email": null,
  "note": null,
  "redeemed_at": null,
  "created_at": "2026-11-02T19:04:11+00:00",
  "url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53",
  "apple_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/apple",
  "google_wallet_url": "https://pay.eventtickets.dev/t/9f2c41e07ab35d18c6e4f0b2a1d97e53/wallet/google"
}

Needs the tickets:read permission on your key.

Issue comps

POST/v1/tickets

Issues free tickets that scan like paid ones. We email them to the holder straight away, and emailed tells you if that worked.

Body

event_ididrequired
Which event.
holder_namestringrequired
Who the tickets are for.
holder_emailstringrequired
Where we email them.
quantityintegeroptional
How many, from 1 to 20 (default 1).
ticket_type_ididoptional
Gives them this ticket type's days, like a Saturday ticket, and without it (or tier_id) the ticket covers every day.
tier_ididoptional
Shows a price's name on the ticket and applies its ticket type's days. Without it, the ticket says Comp.
notestringoptional
For your team only, like Press or DJ +1.
allow_over_capacitybooleanoptional
Issue the tickets even if the event is full (default false).
Request
curl https://api.eventtickets.dev/v1/tickets \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "event_id": "evt_3f9a1c2b7d4e5f60",
    "holder_name": "Kofi Mensah",
    "holder_email": "kofi@example.com",
    "quantity": 2,
    "note": "DJ +1"
  }'
Response
{
  "object": "list",
  "data": [
    { "id": "tkt_5e6f708192a3b4c5", "object": "ticket", "type": "comp", "amount": 0, "tier_label": "Comp", "...": "" },
    { "id": "tkt_6f708192a3b4c5d6", "object": "ticket", "type": "comp", "amount": 0, "tier_label": "Comp", "...": "" }
  ],
  "has_more": false,
  "emailed": true
}

Needs the tickets:write permission on your key.

Email a ticket again

POST/v1/tickets/:id/resend

Sends one ticket to its holder's email again. For paid orders, resending the order is usually easier.

Request
curl -X POST https://api.eventtickets.dev/v1/tickets/tkt_5e6f708192a3b4c5/resend -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "tkt_5e6f708192a3b4c5", "object": "ticket", "...": "" }

Needs the tickets:write permission on your key.

Cancel a comp

POST/v1/tickets/:id/void

The ticket stops scanning at once. Paid tickets can't be cancelled this way: refund their order so the buyer gets their money back.

Request
curl -X POST https://api.eventtickets.dev/v1/tickets/tkt_5e6f708192a3b4c5/void -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "tkt_5e6f708192a3b4c5", "object": "ticket", "status": "void", "...": "" }

Needs the tickets:write permission on your key.

Discount codes#

Discount codes are what your buyers type at checkout to get money off each ticket. A use only counts once the order is paid, so abandoned checkouts don't use up a limited code.

Create a code

POST/v1/coupons

Codes are unique in your account. Once you've made one, its code and discount can't change, so turn it off and make a new one instead.

Body

codestringrequired
What buyers type, made of 3 to 32 letters, numbers, dashes or underscores. It isn't case sensitive.
discount_typepercent | fixedrequired
Take a percentage off, or a fixed amount off each ticket.
discount_valueintegerrequired
For percent, from 1 to 100, and for fixed, the pence off each ticket (250 is £2.50).
event_ididoptional
Limits the code to this event, or leave it out for every event.
labelstringoptional
A note for your team, like Student rate.
max_usesintegeroptional
How many orders can use it, or leave it out for no limit.
require_email_domainstringoptional
Only buyers whose email ends in this, like ac.uk for students.
expires_atdateoptional
When it stops working.
Request
curl https://api.eventtickets.dev/v1/coupons \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "STUDENT25",
    "label": "Student rate",
    "discount_type": "percent",
    "discount_value": 25,
    "max_uses": 200,
    "require_email_domain": "ac.uk"
  }'
Response
{
  "id": "cpn_6e2f8a4c1b3d9e50",
  "object": "coupon",
  "livemode": false,
  "event_id": null,
  "code": "STUDENT25",
  "label": "Student rate",
  "discount_type": "percent",
  "discount_value": 25,
  "require_email_domain": "ac.uk",
  "max_uses": 200,
  "used_count": 0,
  "active": true,
  "expires_at": null,
  "created_at": "2026-10-04T09:30:00+00:00"
}

Needs the coupons:write permission on your key.

List codes

GET/v1/coupons

All your codes, newest first, with how many times each has been used.

Query string

limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl https://api.eventtickets.dev/v1/coupons -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "cpn_6e2f8a4c1b3d9e50",
      "object": "coupon",
      "livemode": false,
      "event_id": null,
      "code": "STUDENT25",
      "label": "Student rate",
      "discount_type": "percent",
      "discount_value": 25,
      "require_email_domain": "ac.uk",
      "max_uses": 200,
      "used_count": 0,
      "active": true,
      "expires_at": null,
      "created_at": "2026-10-04T09:30:00+00:00"
    }
  ],
  "has_more": false
}

Needs the coupons:read permission on your key.

Get one code

GET/v1/coupons/:id

One code and its usage so far.

Request
curl https://api.eventtickets.dev/v1/coupons/cpn_6e2f8a4c1b3d9e50 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "cpn_6e2f8a4c1b3d9e50",
  "object": "coupon",
  "livemode": false,
  "event_id": null,
  "code": "STUDENT25",
  "label": "Student rate",
  "discount_type": "percent",
  "discount_value": 25,
  "require_email_domain": "ac.uk",
  "max_uses": 200,
  "used_count": 0,
  "active": true,
  "expires_at": null,
  "created_at": "2026-10-04T09:30:00+00:00"
}

Needs the coupons:read permission on your key.

Change or turn off a code

PATCH/v1/coupons/:id

Send only what changes.

Body

activebooleanoptional
false turns the code off straight away; true turns it back on.
max_usesintegeroptional
A new limit, which can't be lower than the uses so far.
expires_atdateoptional
A new end date, or null for none.
labelstringoptional
A new note for your team.
Request
curl -X PATCH https://api.eventtickets.dev/v1/coupons/cpn_6e2f8a4c1b3d9e50 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "active": false }'
Response
{ "id": "cpn_6e2f8a4c1b3d9e50", "object": "coupon", "active": false, "...": "" }

Needs the coupons:write permission on your key.

Check a code without using it

POST/v1/coupons/preview

Use this to show "£9.00 with your code" on your own site before checkout. If the code can't be used you get "valid": false and a reason written for the buyer, like "That code has expired." The buyer still enters the code at checkout.

Body

event_ididrequired
The event the buyer wants.
codestringrequired
What the buyer typed.
emailstringrequired
The buyer's email, for codes limited to an email domain.
tier_ididoptional
Include it to get the price before and after the discount.
Request
curl https://api.eventtickets.dev/v1/coupons/preview \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "event_id": "evt_3f9a1c2b7d4e5f60",
    "code": "student25",
    "email": "sam@bristol.ac.uk",
    "tier_id": "tier_9b3c7d5e2f0a4b81"
  }'
Response
{
  "object": "coupon_preview",
  "valid": true,
  "coupon": { "id": "cpn_6e2f8a4c1b3d9e50", "code": "STUDENT25", "...": "" },
  "unit_amount": 1200,
  "unit_amount_after_discount": 900
}

Needs the coupons:read permission on your key.

Fans#

Your fan list is everyone who has bought from you, joined a pre-sale or waitlist, or signed up on your page, with one fan per person however many times they come back. Use these endpoints to add people from your own site or another tool, keep tags in step, and pass unsubscribes across.

List your fans

GET/v1/fans

Your fans, newest first. A test key only sees fans from test mode, like people who signed up on your page while it was showing test events.

Query string

emailstringoptional
Only the fan with this exact email address, which is the quickest way to check whether someone is on your list.
tagstringoptional
Only fans with this tag.
subscribedtrue | falseoptional
true for fans you can email, false for those who've unsubscribed or only gave a phone number.
limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl "https://api.eventtickets.dev/v1/fans?tag=vip" -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "con_8a2f6c1e4b9d3a70",
      "object": "fan",
      "livemode": false,
      "email": "sam@example.com",
      "phone": null,
      "name": "Sam Taylor",
      "source": "instagram",
      "tags": ["vip", "bristol"],
      "unsubscribed_at": null,
      "created_at": "2026-10-12T18:22:05+00:00",
      "subscribed": true
    }
  ],
  "has_more": false
}

Needs the fans:read permission on your key.

Add a fan

POST/v1/fans

If someone with that email or phone is already on your list you get them back with "created": false instead of a duplicate, so it's safe to call on every sign-up from your own site. Adding a fan this way never re-subscribes someone who unsubscribed, because only they can do that by joining your list again.

Only add people who've agreed to hear from you. If you'd rather we handle the form and the welcome email, use your join link or sign-up card instead.

Body

emailstringoptional
Their email address. You need an email or a phone number, and only fans with an email can get campaigns.
phonestringoptional
Their mobile number with its country code, like +44 7700 900123.
namestringoptional
Their name, up to 120 characters.
sourcestringoptional
Where they came from, like website or instagram, which shows on their fan page in the dashboard.
tagsstring[]optional
Up to 20 labels, like vip or bristol. They're lowercased and added to any tags the fan already has.
Request
curl https://api.eventtickets.dev/v1/fans \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "sam@example.com",
    "name": "Sam Taylor",
    "source": "website",
    "tags": ["vip"]
  }'
Response
{ "id": "con_8a2f6c1e4b9d3a70", "object": "fan", "created": true, "...": "" }

Needs the fans:write permission on your key.

Sign people up from your own form

POSThttps://pay.eventtickets.dev/join/:page/signup

This is the endpoint behind your sign-up card, and it's the one to use when you want a sign-up form in your own design. It takes no key and accepts requests from any website, so your form can post to it straight from the browser. :page is your page's link name, the harbour-nights in pay.eventtickets.dev/harbour-nights.

Unlike adding a fan with your key, this counts as the person joining your list themselves. They get your welcome email, and someone who unsubscribed in the past is put back on the list because they've asked to join again. created is false when they were already on your list, and emailed says whether the welcome email went out.

To keep bots off your list, it turns away requests that come from scripts rather than browsers, and allows 10 sign-ups a minute from one network. Errors don't use the API's usual shape: you get { "error": "…", "field": "email" } with a message you can show next to the form, like "Enter a valid email address."

Body

emailstringoptional
Their email address. Send an email or a phone number, and only fans with an email get the welcome email and campaigns.
phonestringoptional
Their mobile number with its country code, like +44 7700 900123.
namestringoptional
Their name.
srcstringoptional
Where they signed up, like footer or competition, which shows as their source.
Request
curl https://pay.eventtickets.dev/join/harbour-nights/signup \
  -H "Content-Type: application/json" \
  -d '{ "email": "sam@example.com", "name": "Sam Taylor", "src": "footer" }'
Response
{ "ok": true, "created": true, "emailed": true }

No API key needed, so you can call it straight from a web page.

A sign-up form on your own site
<form id="join">
  <input name="email" type="email" placeholder="Your email" required />
  <button>Join the list</button>
  <p id="join-message"></p>
</form>

<script>
  document.getElementById("join").addEventListener("submit", async (e) => {
    e.preventDefault();
    const message = document.getElementById("join-message");
    const res = await fetch("https://pay.eventtickets.dev/join/harbour-nights/signup", {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ email: e.target.email.value, src: "footer" }),
    });
    const data = await res.json();
    message.textContent = res.ok ? "You're on the list. Check your inbox for a welcome email." : data.error;
  });
</script>

Get one fan

GET/v1/fans/:id

One fan and their tags. To see what they've bought, list orders and match on their email.

Request
curl https://api.eventtickets.dev/v1/fans/con_8a2f6c1e4b9d3a70 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "con_8a2f6c1e4b9d3a70",
  "object": "fan",
  "livemode": false,
  "email": "sam@example.com",
  "phone": null,
  "name": "Sam Taylor",
  "source": "instagram",
  "tags": ["vip", "bristol"],
  "unsubscribed_at": null,
  "created_at": "2026-10-12T18:22:05+00:00",
  "subscribed": true
}

Needs the fans:read permission on your key.

Tag or unsubscribe a fan

PATCH/v1/fans/:id

An unsubscribed fan stays on your list so you keep the record of who they are, but no campaign will email them again.

Body

tagsstring[]optional
Their new tags, replacing the ones they have. Send [] to clear them.
subscribedfalseoptional
Unsubscribes them from your emails, for when they've opted out somewhere else. It can't be set back to true.
Request
curl -X PATCH https://api.eventtickets.dev/v1/fans/con_8a2f6c1e4b9d3a70 \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "subscribed": false }'
Response
{ "id": "con_8a2f6c1e4b9d3a70", "object": "fan", "subscribed": false, "...": "" }

Needs the fans:write permission on your key.

Remove a fan

DELETE/v1/fans/:id

This takes them off your fan list and leaves their orders and tickets alone. They'll come back onto the list if they buy again, so to stop emailing someone, unsubscribe them instead.

Request
curl -X DELETE https://api.eventtickets.dev/v1/fans/con_8a2f6c1e4b9d3a70 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "con_8a2f6c1e4b9d3a70", "object": "fan", "deleted": true }

Needs the fans:write permission on your key.

Campaigns#

A campaign is an email to some or all of your fans, sent in your name with an unsubscribe link at the bottom. The dashboard's builder lets you lay out images and event cards, while the API sends a simpler email with a heading, your text and one button.

Send a campaign

POST/v1/campaigns

We work out who gets it when you create the campaign, so recipient_count is known straight away and fans who join afterwards aren't included. Only fans with an email who haven't unsubscribed are counted, and one campaign can go to up to 25,000 fans.

The status comes back as sending, or scheduled with a future send_at, and turns to sent once every email has gone. Always send an Idempotency-Key with this request, because a retry without one would email your fans twice.

Body

subjectstringrequired
The subject line, up to 200 characters.
headingstringrequired
The big line at the top of the email.
bodystringrequired
What the email says, as plain text, with a blank line between paragraphs.
audienceobjectrequired
Who gets it, from the list below.
button_labelstringoptional
The button's text, like Get tickets, sent together with button_url.
button_urlstringoptional
Where the button goes, starting with https://.
send_atdateoptional
When to send it. Leave it out to send within a minute.
Request
curl https://api.eventtickets.dev/v1/campaigns \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: dec-onsale-vip" \
  -d '{
    "subject": "Harbour Nights is back on 12 December",
    "heading": "Early access starts now",
    "body": "Tickets go on general sale on Friday, but you can buy yours today.",
    "button_label": "Get tickets",
    "button_url": "https://pay.eventtickets.dev/harbour-nights",
    "audience": { "kind": "tag", "tag": "vip" }
  }'
Response
{ "id": "cmp_4c7e1a9b3d5f2e80", "object": "campaign", "status": "sending", "recipient_count": 1240, "...": "" }

Needs the campaigns:write permission on your key.

{ "kind": "all" }
Everyone on your list you can email.
{ "kind": "event", "event_id": "evt_…" }
Fans of one event: its buyers, plus anyone who joined its pre-sale or waitlist.
{ "kind": "tag", "tag": "vip" }
Fans with this tag.
{ "kind": "attended", "event_id": "evt_…" }
Buyers who were scanned in, once the event has started.
{ "kind": "no_show", "event_id": "evt_…" }
Buyers who weren't scanned in, once the event has started.
{ "kind": "repeat", "min": 2 }
Fans with at least 2, 3 or 5 paid orders.
{ "kind": "top_spenders" }
The top tenth of your buyers by what they've spent.

List campaigns

GET/v1/campaigns

Your campaigns, newest first, including the automatic on-sale alerts, which have "kind": "onsale".

Query string

limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl https://api.eventtickets.dev/v1/campaigns -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "cmp_4c7e1a9b3d5f2e80",
      "object": "campaign",
      "livemode": false,
      "subject": "Harbour Nights is back on 12 December",
      "status": "sent",
      "kind": "manual",
      "scheduled_at": null,
      "recipient_count": 1240,
      "sent_count": 1236,
      "failed_count": 1,
      "skipped_count": 3,
      "created_at": "2026-11-03T10:00:00+00:00",
      "sent_at": "2026-11-03T10:04:12+00:00",
      "audience": { "kind": "tag", "tag": "vip" }
    }
  ],
  "has_more": false
}

Needs the campaigns:read permission on your key.

Get a campaign and its results

GET/v1/campaigns/:id

The results show what the campaign brought in, with orders and revenue counted from buyers who reached checkout through one of its links. Treat opened as a floor, because many mail apps block the image we use to spot opens.

Request
curl https://api.eventtickets.dev/v1/campaigns/cmp_4c7e1a9b3d5f2e80 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "cmp_4c7e1a9b3d5f2e80",
  "object": "campaign",
  "status": "sent",
  "...": "",
  "results": {
    "delivered": 1236,
    "opened": 512,
    "clicked": 188,
    "orders": 41,
    "revenue": [{ "currency": "gbp", "amount": 98400 }]
  }
}

Needs the campaigns:read permission on your key.

Cancel a campaign

DELETE/v1/campaigns/:id

You can cancel a scheduled campaign any time before it goes out. Once it has started sending it can't be called back, so it keeps its record and results.

Request
curl -X DELETE https://api.eventtickets.dev/v1/campaigns/cmp_4c7e1a9b3d5f2e80 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "cmp_4c7e1a9b3d5f2e80", "object": "campaign", "deleted": true }

Needs the campaigns:write permission on your key.

Webhook endpoints#

Webhook endpoints are the URLs on your server we send events to. Most people add them in the dashboard, but you can also set them up from code with the endpoints below, and how webhooks themselves work is covered on the Webhooks page.

Add an endpoint

POST/v1/webhook_endpoints

The response includes secret, which you use to check each webhook really came from us. Store it now, because the API never returns it again (you can still reveal it in the dashboard). You can have up to 10 endpoints in each mode.

Body

urlurlrequired
Where to send events, which for a live endpoint must be a public https:// address.
eventsarray of stringsrequired
Which events to send, like ["order.paid"], or ["*"] for all of them.
descriptionstringoptional
A note for your team.
Request
curl https://api.eventtickets.dev/v1/webhook_endpoints \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://yoursite.com/webhooks/eventtickets",
    "events": ["order.paid", "order.refunded"],
    "description": "Website orders"
  }'
Response
{
    "id": "we_7f3a9c1e5b2d4a80",
  "object": "webhook_endpoint",
  "livemode": false,
  "url": "https://yoursite.com/webhooks/eventtickets",
  "description": "Website orders",
  "events": ["order.paid", "order.refunded"],
  "created_at": "2026-10-04T09:40:00+00:00",
  "disabled": false,
  "secret": "whsec_Qm9yZ2V0IHRoaXMgaXMgYW4gZXhhbXBsZQ"
}

Needs the webhooks:write permission on your key.

List endpoints

GET/v1/webhook_endpoints

Your endpoints in this mode, without their secrets.

Query string

limitintegeroptional
How many to return, from 1 to 100 (default 20).
starting_afteridoptional
The id of the last object you received, to get the next page (see API basics › Lists).
Request
curl https://api.eventtickets.dev/v1/webhook_endpoints -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "we_7f3a9c1e5b2d4a80",
      "object": "webhook_endpoint",
      "livemode": false,
      "url": "https://yoursite.com/webhooks/eventtickets",
      "description": "Website orders",
      "events": ["order.paid", "order.refunded"],
      "created_at": "2026-10-04T09:40:00+00:00",
      "disabled": false
    }
  ],
  "has_more": false
}

Needs the webhooks:read permission on your key.

Get one endpoint

GET/v1/webhook_endpoints/:id

One endpoint and the events it receives.

Request
curl https://api.eventtickets.dev/v1/webhook_endpoints/we_7f3a9c1e5b2d4a80 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "id": "we_7f3a9c1e5b2d4a80",
  "object": "webhook_endpoint",
  "livemode": false,
  "url": "https://yoursite.com/webhooks/eventtickets",
  "description": "Website orders",
  "events": ["order.paid", "order.refunded"],
  "created_at": "2026-10-04T09:40:00+00:00",
  "disabled": false
}

Needs the webhooks:read permission on your key.

Delete an endpoint

DELETE/v1/webhook_endpoints/:id

Stops all deliveries to this URL, including any waiting to be retried.

Request
curl -X DELETE https://api.eventtickets.dev/v1/webhook_endpoints/we_7f3a9c1e5b2d4a80 -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{ "id": "we_7f3a9c1e5b2d4a80", "object": "webhook_endpoint", "deleted": true }

Needs the webhooks:write permission on your key.

Branding#

Branding controls how your event pages, checkout, confirmation page, tickets and ticket emails look and read to buyers, using the same settings as Settings › Customisation in the dashboard. It belongs to your organisation, so test and live keys see and change the same settings.

Get your branding

GET/v1/branding

Every setting is listed, and null means you're using ours, like our lime accent or our wording. logo_url is read-only here, so upload your logo in the dashboard.

Request
curl https://api.eventtickets.dev/v1/branding -H "Authorization: Bearer $EVENTTICKETS_KEY"
Response
{
  "object": "branding",
  "name": "Harbour Nights",
  "logo_url": null,
  "support_email": "hello@harbournights.com",
  "email_theme": "light",
  "email_accent": null,
  "checkout": {
    "theme": "dark",
    "accent": "#1D4ED8",
    "show_name": true,
    "text": {
      "checkout_message": "All sales are final. Doors open at 10pm.",
      "details_button": null,
      "pay_button": "Buy now for {amount}",
      "terms_url": "https://harbournights.com/terms",
      "confirmation_heading": "See you on the dance floor.",
      "confirmation_message": null,
      "confirmation_button_label": null,
      "confirmation_button_url": null
    }
  }
}

Needs the branding:read permission on your key.

Change colours and wording

PATCH/v1/branding

Send only what you want to change. Inside checkout.text, only the keys you send change, and null puts one back to our wording. Buyers see changes straight away, including anyone already on checkout when they next load a page.

Our "Ticketing by EventTickets" badge isn't a setting: it shows on every page in your colours.

Body

checkout.themestringoptional
light or dark, applied to your event, series, checkout, confirmation and ticket pages.
checkout.accentstringoptional
Colour for main buttons and highlights, like #1D4ED8, or null for our lime. Text on it switches between dark and light to stay readable.
checkout.show_namebooleanoptional
Show your organisation name next to your logo, or set false if your logo already includes it.
checkout.text.checkout_messagestringoptional
A note under the event name on checkout, up to 500 characters, with line breaks kept.
checkout.text.details_buttonstringoptional
The button after the buyer's details, up to 40 characters. Ours says Continue to payment.
checkout.text.pay_buttonstringoptional
The card step button, up to 40 characters, where {amount} becomes the total. Ours says Pay {amount}.
checkout.text.terms_urlurloptional
Adds a line under the buttons saying buyers agree to your terms and conditions, linked here.
checkout.text.confirmation_headingstringoptional
The confirmation page heading, up to 60 characters. Ours says You're in.
checkout.text.confirmation_messagestringoptional
A note under the buyer's tickets on the confirmation page, up to 500 characters.
checkout.text.confirmation_button_labelstringoptional
Adds a button to the confirmation page, like Join our mailing list. Set where it goes with confirmation_button_url.
checkout.text.confirmation_button_urlurloptional
Where that button goes.
support_emailstringoptional
Contact email shown to buyers on your pages and emails, or null to hide it.
email_themestringoptional
light or dark, for ticket emails.
email_accentstringoptional
Ticket email and wallet pass colour, like #1D4ED8, or null for our lime.
Request
curl -X PATCH https://api.eventtickets.dev/v1/branding \
  -H "Authorization: Bearer $EVENTTICKETS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "checkout": {
      "theme": "dark",
      "accent": "#1D4ED8",
      "text": {
        "pay_button": "Buy now for {amount}",
        "confirmation_heading": "See you on the dance floor."
      }
    }
  }'
Response
{
  "object": "branding",
  "name": "Harbour Nights",
  "logo_url": null,
  "support_email": "hello@harbournights.com",
  "email_theme": "light",
  "email_accent": null,
  "checkout": {
    "theme": "dark",
    "accent": "#1D4ED8",
    "show_name": true,
    "text": {
      "checkout_message": "All sales are final. Doors open at 10pm.",
      "details_button": null,
      "pay_button": "Buy now for {amount}",
      "terms_url": "https://harbournights.com/terms",
      "confirmation_heading": "See you on the dance floor.",
      "confirmation_message": null,
      "confirmation_button_label": null,
      "confirmation_button_url": null
    }
  }
}

Needs the branding:write permission on your key.

Stuck? Every error message says what went wrong and usually how to fix it. See API basics › Errors for the full list of error codes.