Pro
This reference is open to everyone. Calls need an API key, and keys come with Pro at no extra charge.
Compare plans →
Resources / Passes
Passes
Punch cards, seasons, and multi-show passes.
The object
kind string
dated, punch_card, or season.
status string
draft, on_sale, or closed.
price_cents, all_in_cents integer
Its price.
credits integer or null
Admissions it holds.
sold, left integer
Sold so far, and left to sell.
The pass object
{ "id": 14, "name": "Five-show punch card", "kind": "punch_card", "status": "on_sale", "price_cents": 8000, "all_in_cents": 8650, "credits": 5, "sold": 31, "left": null, "url": "https://cocoscout.com/tickets/the-basement/passes/five-show"}
List passes
GET
/v1/passes
Every pass.
Query parameters
status string
on_sale…
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/passes \ -H "Authorization: Bearer cs_live_…"
Get a pass
GET
/v1/passes/{id}
One pass.
curl
curl https://api.cocoscout.com/v1/passes/4812 \ -H "Authorization: Bearer cs_live_…"