Resources / Courses

Courses

A run of classes sold as one registration. Students keep a CocoScout account, so they register on CocoScout's page.

The object

status string
open, closed, completed, or cancelled (draft with include_drafts).
current_price_cents integer
What it costs today, early bird included.
spots_left integer or null
Null for no limit.
sessions array
Each class's show_id and time.
url string or null
Where students register.
The course object
{  "id": 22,  "title": "Sketch 101",  "subtitle": "Write and perform your first sketch",  "production": {    "id": 80,    "name": "Classes"  },  "status": "open",  "instructor": "Dana Ortiz",  "price_cents": 25000,  "current_price_cents": 22500,  "early_bird_price_cents": 22500,  "early_bird_until": "2026-12-15T23:59:00-06:00",  "capacity": 16,  "spots_left": 4,  "accepting_registrations": true,  "sessions": [    {      "show_id": 5101,      "starts_at": "2027-01-06T19:00:00-06:00",      "canceled": false    }  ],  "url": "https://cocoscout.com/c/SK101"}

List courses

GET /v1/courses

Courses that aren't drafts or archived.

Query parameters

status string
open…
include_drafts boolean
Drafts too.
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/courses \  -H "Authorization: Bearer cs_live_…"

Get a course

GET /v1/courses/{id}

One course.

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

List students

GET /v1/courses/{id}/registrations

Registrations: confirmed, cancelled, and refunded.

Query parameters

status string
One status.
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/courses/4812/registrations \  -H "Authorization: Bearer cs_live_…"