Website API

Events: get all upcoming events for a given metro

Returns a list of upcoming events for a given metro.

Parameters

Name Description
metro_slug Only return events offered in this metro
format Only return events of this format
('class', 'class series', 'event', 'event series', 'workshop', 'workshop series')
only_paid Only return paid events (true/false)

Response Fields

Name Description
events[name] Event name
events[url] Event page URL
events[slug] Event slug
events[format] Event format
events[topic_slugs] Array of topic slugs associated with the program
events[subtopic_slugs] Array of subtopic slugs associated with the program
events[images] Event original and thumbnail URLs
events[overview] Course overview
events[starts_at] Course start date/time
events[ends_at] Course end date/time
events[price] Course price, in the minimum unit of the specified currency (eg. cents in USD)
events[currency] Course price currency
events[sold_out] Whether or not the course is sold out (boolean)
events[metro_id] Id of the metro in which this instance is being held
events[metro_slug] Slug of the metro in which this instance is being held
events[featured] Event marked as featured
events[delivery] Event delivery mode

Request

Headers

Authorization: [your_auth_token]
Accept: application/json

Route

GET /api/v1/website/events/new-york-city

Response

Headers

Content-Type: application/json

Status

200

Body