cURL
curl --request GET \ --url https://api.themoviedb.org/3/tv/{tv_id}/episode_groups \ --header 'Authorization: Bearer <token>'
{ "id": 1399, "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 } ] }
This endpoint get the episode group id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
This refers to a unique identifier for a specific TV show or series in the database.
""
episode id
1399
Show child attributes
[ { "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 } ]