Returns the upcoming sessions of a class (a service of type CLASS) with their seat availability, grouped by day. Public counterpart of the class inventory.
A class that has no upcoming sessions, including one that has no sessions yet, returns 200 with an empty days map. 404 is returned only when the id is not an active class of your account: it is unknown, deleted, a service rather than a class, or belongs to another account.
Security
BearerAuth
- Production serverhttps://developer.setmore.com/api/v2/slots/class/{class-key}
curl -i -X GET \
'https://developer.setmore.com/api/v2/slots/class/svc_123456?timezone=America%2FNew_York' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "data": { "days": { … } } }