cURL
curl --request GET \ --url https://api.hyra.io/activity/sessions/{workspaceId}/upcoming \ --header 'Authorization: Bearer <token>'
[ { "_id": "<string>", "schedule": { "_id": "<string>", "name": "<string>", "public_start_offset": 123, "public_slock_offset": 123, "publish_to_discord": true, "game_link": "<string>" }, "start": "<string>", "host": { "exists": true, "id": "<string>", "username": "<string>", "display_name": "<string>" }, "co_host": { "exists": true, "id": "<string>", "username": "<string>", "display_name": "<string>" } } ]
Get upcoming sessions
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Limit the number of results. Minimum: 1, Maximum: 100
Offset the results by amount minutes
Filter by host ID
Filter by co-host ID
Default Response
Show child attributes