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
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>"
}
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Limit the number of results. Minimum: 1, Maximum: 100
Default Response
The response is of type object[]
.