Resources / Tickets

Tickets

One admission each, by the code in its QR. Listed for one show, it's the guest list.

The object

code string
What the door scans.
status string
valid, checked_in, refunded, void, or exchanged.
ticket_type object
Its type's id and name.
holder_name string
Whose it is.
checked_in_at string or null
When it was used.
The ticket object
{  "code": "T9XK2M",  "status": "valid",  "ticket_type": {    "id": 912,    "name": "General"  },  "show_id": 4812,  "holder_name": "Jordan Lee",  "price_cents": 2000,  "url": "https://cocoscout.com/tickets/v/T9XK2M",  "order_code": "K7Q2"}

List tickets

GET /v1/tickets

Tickets held (valid or checked in) unless status says otherwise.

Query parameters

show_id integer
One show's guest list.
checked_in boolean
Only those in, or not in.
status string
Another status.
updated_since time
Changed since then.
limit integer
Up to 200 a page, 50 by default.
after string
The last page's `next`, for the page after it.
curl
curl https://api.cocoscout.com/v1/tickets \  -H "Authorization: Bearer cs_live_…"

Get a ticket

GET /v1/tickets/{code}

One ticket by its code.

curl
curl https://api.cocoscout.com/v1/tickets/T9XK2M \  -H "Authorization: Bearer cs_live_…"

Check a ticket in

POST /v1/tickets/{code}/check_in Read-and-write key

The same answers the door phone gets: admitted, already, wrong_show, or not_valid.

curl
curl -X POST https://api.cocoscout.com/v1/tickets/T9XK2M/check_in \  -H "Authorization: Bearer cs_live_…"
Response 201
{  "result": "admitted",  "message": "Admitted — General",  "ticket": {    "code": "T9XK2M",    "status": "checked_in",    "ticket_type": {      "id": 912,      "name": "General"    },    "show_id": 4812,    "holder_name": "Jordan Lee",    "price_cents": 2000,    "url": "https://cocoscout.com/tickets/v/T9XK2M",    "checked_in_at": "2026-12-05T19:41:00-06:00"  }}

Take a check-in back

DELETE /v1/tickets/{code}/check_in Read-and-write key

For a ticket checked in by mistake.

curl
curl -X DELETE https://api.cocoscout.com/v1/tickets/T9XK2M/check_in \  -H "Authorization: Bearer cs_live_…"