sessions

Schedule a class session; repeat_weeks repeats it weekly at the same local time

post/sessions

Request

  • Base URL: https://daybag.io/api/v1
  • URL: https://daybag.io/api/v1/sessions
  • Auth: HTTP bearer

Request body

offering_idstring uuid required
starts_atstring required

ISO 8601 instant, e.g. 2026-10-03T15:00:00Z

ends_atstring

When it ends, each weekly repeat as long; without it, the class's length after starts_at

repeat_weeksinteger
capacityinteger nullable

Override the class's seats

teacherstring uuid nullable

Who teaches it: a member's user id (Settings → Team); null for nobody. Anyone not on your team answers 400 not_a_member

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.