curl --request GET \
--url https://api.themoviedb.org/3/tv/{series_id}/episode_groups \
--header 'Authorization: Bearer <token>'{
"results": [
{
"description": "",
"episode_count": 102,
"group_count": 9,
"id": "5e9077d2e640d600151f32bd",
"name": "Aired Order",
"network": {
"id": 49,
"logo_path": "/tuomPhY2UtuPTqqFnKMVHvSb724.png",
"name": "HBO",
"origin_country": "US"
},
"type": 1
}
],
"id": 1399
}This endpoint is used to get the episode groups that have been added to a TV show
curl --request GET \
--url https://api.themoviedb.org/3/tv/{series_id}/episode_groups \
--header 'Authorization: Bearer <token>'{
"results": [
{
"description": "",
"episode_count": 102,
"group_count": 9,
"id": "5e9077d2e640d600151f32bd",
"name": "Aired Order",
"network": {
"id": 49,
"logo_path": "/tuomPhY2UtuPTqqFnKMVHvSb724.png",
"name": "HBO",
"origin_country": "US"
},
"type": 1
}
],
"id": 1399
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The series ID for tv.