Resources / Shows

Shows

A show is one date of a production: Late Night Sketch on Friday, December 5 at 8 PM. It carries what's on sale for that date, its ticket types with their all-in prices, and how many seats are left. Seats left are counted live, including seats held in open checkouts. Show a buyer all_in_cents: it's what they pay, fees and tax included. You can add dates here; moving or canceling a date happens in CocoScout, where its cast, staff, ticket buyers, and students are notified.

The object

production object
The production's id and name.
starts_at, ends_at string
ISO 8601, in the organization's time zone.
venue object or null
Location, room, and address. Null for an online show.
status string
on_sale, sold_out, scheduled, draft, paused, door_only, not_ticketed, past, or canceled.
seats_left, capacity integer or null
Across every ticket type. Null when there's no limit.
ticket_types array
Each with id, name, price_cents, all_in_cents, and seats_left. Hidden types appear only with a read-and-write key.
url string or null
The show's page on your box office.
embed_html string or null
A single show card for this date, ready to paste into a web page: its date, time, and a Buy tickets button. embed_view picks another widget. Add data-button-color, data-background-color, data-heading-color, or data-text-color to it for colors of its own; it starts in your ticket page colors.
embed_key string or null
The date as embed.js's data-date and short links write it, like dec-5.
The show object
{  "id": 4812,  "production": {    "id": 77,    "name": "Late Night Sketch"  },  "name": null,  "event_type": "show",  "starts_at": "2026-12-05T20:00:00-06:00",  "ends_at": "2026-12-05T21:30:00-06:00",  "venue": {    "location_id": 3,    "name": "The Basement",    "room": "Main room",    "address1": "1820 W Chicago Ave",    "city": "Chicago",    "state": "IL",    "postal_code": "60622"  },  "online": false,  "status": "on_sale",  "seats_left": 18,  "capacity": 68,  "ticket_types": [    {      "id": 912,      "name": "General",      "price_cents": 2000,      "all_in_cents": 2350,      "seats_left": 10,      "admits": 1,      "sold_where": "everywhere",      "hidden": false,      "on_sale": true    },    {      "id": 913,      "name": "Front row",      "price_cents": 3000,      "all_in_cents": 3450,      "seats_left": 0,      "admits": 1,      "sold_where": "everywhere",      "hidden": false,      "on_sale": true    }  ],  "url": "https://cocoscout.com/tickets/the-basement/late-night-sketch-dec-5-8pm",  "embed_html": "<div data-cocoscout-tickets=\"the-basement\" data-event=\"late-night-sketch-dec-5-8pm\"></div>…",  "embed_key": "dec-5",  "course_id": null,  "updated_at": "2026-12-01T14:02:11-06:00"}

List shows

GET /v1/shows

Your performances, soonest first: shows and anything with tickets. With no filters, every show from today on.

Query parameters

from, to date
Shows on or after from, and on or before to. from=all includes past shows.
production_id integer
One production's dates.
status string
For example on_sale, for a "Buy tickets" list.
event_type string
all includes rehearsals and meetings.
include_canceled boolean
Include canceled dates.
updated_since time
Only shows changed since then, for keeping a copy in sync.
embed_view string
Which ticket widget embed_html holds: link, button, single (the default), dates, tickets, full, or box-office.
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/shows \  -H "Authorization: Bearer cs_live_…"
Response 200
{  "data": [    {      "id": 4812,      "production": {        "id": 77,        "name": "Late Night Sketch"      },      "name": null,      "event_type": "show",      "starts_at": "2026-12-05T20:00:00-06:00",      "ends_at": "2026-12-05T21:30:00-06:00",      "venue": {        "location_id": 3,        "name": "The Basement",        "room": "Main room",        "address1": "1820 W Chicago Ave",        "city": "Chicago",        "state": "IL",        "postal_code": "60622"      },      "online": false,      "status": "on_sale",      "seats_left": 18,      "capacity": 68,      "ticket_types": [        {          "id": 912,          "name": "General",          "price_cents": 2000,          "all_in_cents": 2350,          "seats_left": 10,          "admits": 1,          "sold_where": "everywhere",          "hidden": false,          "on_sale": true        },        {          "id": 913,          "name": "Front row",          "price_cents": 3000,          "all_in_cents": 3450,          "seats_left": 0,          "admits": 1,          "sold_where": "everywhere",          "hidden": false,          "on_sale": true        }      ],      "url": "https://cocoscout.com/tickets/the-basement/late-night-sketch-dec-5-8pm",      "embed_html": "<div data-cocoscout-tickets=\"the-basement\" data-event=\"late-night-sketch-dec-5-8pm\"></div>…",      "embed_key": "dec-5",      "course_id": null,      "updated_at": "2026-12-01T14:02:11-06:00"    }  ],  "has_more": false,  "next": null}

Get a show

GET /v1/shows/{id}

One date.

Query parameters

embed_view string
Which ticket widget embed_html holds: link, button, single (the default), dates, tickets, full, or box-office.
curl
curl https://api.cocoscout.com/v1/shows/4812 \  -H "Authorization: Bearer cs_live_…"
Response 200
{  "id": 4812,  "production": {    "id": 77,    "name": "Late Night Sketch"  },  "name": null,  "event_type": "show",  "starts_at": "2026-12-05T20:00:00-06:00",  "ends_at": "2026-12-05T21:30:00-06:00",  "venue": {    "location_id": 3,    "name": "The Basement",    "room": "Main room",    "address1": "1820 W Chicago Ave",    "city": "Chicago",    "state": "IL",    "postal_code": "60622"  },  "online": false,  "status": "on_sale",  "seats_left": 18,  "capacity": 68,  "ticket_types": [    {      "id": 912,      "name": "General",      "price_cents": 2000,      "all_in_cents": 2350,      "seats_left": 10,      "admits": 1,      "sold_where": "everywhere",      "hidden": false,      "on_sale": true    },    {      "id": 913,      "name": "Front row",      "price_cents": 3000,      "all_in_cents": 3450,      "seats_left": 0,      "admits": 1,      "sold_where": "everywhere",      "hidden": false,      "on_sale": true    }  ],  "url": "https://cocoscout.com/tickets/the-basement/late-night-sketch-dec-5-8pm",  "embed_html": "<div data-cocoscout-tickets=\"the-basement\" data-event=\"late-night-sketch-dec-5-8pm\"></div>…",  "embed_key": "dec-5",  "course_id": null,  "updated_at": "2026-12-01T14:02:11-06:00"}

A show's sales

GET /v1/shows/{id}/sales

Sold, comps, sold elsewhere, checked in, and money, by ticket type.

curl
curl https://api.cocoscout.com/v1/shows/4812/sales \  -H "Authorization: Bearer cs_live_…"
Response 200
{  "show_id": 4812,  "ticketed": true,  "capacity": 68,  "sold": 42,  "paid": 36,  "comps": 6,  "sold_elsewhere": 4,  "checked_in": 0,  "gross_cents": 98700,  "net_cents": 93120,  "tax_cents": 0,  "refunded_cents": 0,  "by_channel": {    "online": 31,    "embed": 5,    "comp": 6  },  "ticket_types": [    {      "id": 912,      "name": "General",      "sold": 38,      "comps": 6,      "sold_elsewhere": 4,      "seats_left": 10,      "gross_cents": 76000    }  ]}

Add a show

POST /v1/shows Read-and-write key

A new date for a production. If the production's ticketing includes it, it goes on sale with the production's ticket types and schedule.

Body

production_id integer required
Whose date it is.
starts_at time required
When it starts.
duration_minutes integer
How long it runs. Left out, as long as the production's latest date.
location_id integer
Where. Left out, the same place and room as the production's latest date.
room_id integer
Which room at that location.
name string
A name for this date, if it has its own.
event_type string
show unless it's something else.
curl
curl -X POST https://api.cocoscout.com/v1/shows \  -H "Authorization: Bearer cs_live_…" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: $(uuidgen)" \  -d '{    "production_id": 4812,    "starts_at": "2026-12-12T20:00:00-06:00"  }'

Change a show's sales

PUT /v1/shows/{id}/ticketing Read-and-write key

Pause, resume, or close sales (door only), or switch the date to its own prices.

Body

status string
on_sale, paused, or closed.
own_prices boolean
true gives the date its own ticket types; false goes back to the production's.
curl
curl -X PUT https://api.cocoscout.com/v1/shows/4812/ticketing \  -H "Authorization: Bearer cs_live_…" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: $(uuidgen)" \  -d '{}'

Record sales elsewhere

PUT /v1/shows/{id}/sold_elsewhere Read-and-write key

Tickets another site sold for this date, by ticket type. The whole truth for that site: a type left out sold nothing there. Feeds that site's row in Show Financials.

Body

source string
One of your ticket sources by name, like Hot Tix (or source_id).
ticket_types array required
Each with ticket_type_id, tickets, and amount_cents.
curl
curl -X PUT https://api.cocoscout.com/v1/shows/4812/sold_elsewhere \  -H "Authorization: Bearer cs_live_…" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: $(uuidgen)" \  -d '{    "ticket_types": [      {        "ticket_type_id": 912,        "tickets": 6,        "amount_cents": 9000      }    ]  }'