> ## Documentation Index
> Fetch the complete documentation index at: https://ileolami.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Favorite TV

> This endpoint get user's list of favorite tv shows.



## OpenAPI

````yaml get /3/account/{account_id}/favorite/tv
openapi: 3.0.3
info:
  title: The Movie Database
  description: Reference
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: ACCOUNT
  - name: AUTHENTICATION
  - name: CERTIFICATION
  - name: CHANGES
  - name: COLLECTION
  - name: COMPANIES
  - name: CONFIGURATION
  - name: CREDITS
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSION
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORK
  - name: PEOPLE
  - name: PEOPLE LISTS
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODES GROUPS
  - name: WATCH PROVIDERS
paths:
  /3/account/{account_id}/favorite/tv:
    parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: integer
        description: user's account id
    get:
      tags:
        - ACCOUNT
      summary: Favorite TV
      description: This endpoint get user's list of favorite tv shows.
      operationId: favoriteTv
      parameters:
        - name: language
          in: query
          schema:
            type: string
            default: en-US
          description: langaugae based on region
        - name: page
          in: query
          schema:
            type: integer
            default: 1
          description: page number to retrieve specific paginated results.
        - name: session_id
          in: query
          schema:
            type: string
          description: ' session ID for authentication or tracking purposes'
        - name: sort_by
          in: query
          schema:
            type: string
          description: 'Sort the results either in ascending order or descending order '
      responses:
        '200':
          description: Favorite TV
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: number
                    example: 1
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        adult:
                          type: boolean
                          example: false
                        backdrop_path:
                          type: string
                          example: /fQsIJQxE1D0Y0NpWSKwo489y5px.jpg
                        first_air_date:
                          type: string
                          example: '2023-11-22'
                        genre_ids:
                          type: array
                          items:
                            type: number
                            example: 10764
                          example:
                            - 10764
                        id:
                          type: number
                          example: 204082
                        name:
                          type: string
                          example: 'Squid Game: The Challenge'
                        origin_country:
                          type: array
                          items:
                            type: string
                            example: GB
                          example:
                            - GB
                        original_language:
                          type: string
                          example: en
                        original_name:
                          type: string
                          example: 'Squid Game: The Challenge'
                        overview:
                          type: string
                          example: >-
                            In this reality competition show inspired by "Squid
                            Game," 456 players put their skills to the ultimate
                            test for a life-changing $4.56 million prize.
                        popularity:
                          type: number
                          example: 1656.181
                        poster_path:
                          type: string
                          example: /y85L9DWoaM2MYNg1p8QRywxXJsa.jpg
                        vote_average:
                          type: number
                          example: 6.5
                        vote_count:
                          type: number
                          example: 369
                    example:
                      - adult: false
                        backdrop_path: /fQsIJQxE1D0Y0NpWSKwo489y5px.jpg
                        first_air_date: '2023-11-22'
                        genre_ids:
                          - 10764
                        id: 204082
                        name: 'Squid Game: The Challenge'
                        origin_country:
                          - GB
                        original_language: en
                        original_name: 'Squid Game: The Challenge'
                        overview: >-
                          In this reality competition show inspired by "Squid
                          Game," 456 players put their skills to the ultimate
                          test for a life-changing $4.56 million prize.
                        popularity: 1656.181
                        poster_path: /y85L9DWoaM2MYNg1p8QRywxXJsa.jpg
                        vote_average: 6.5
                        vote_count: 369
                  total_pages:
                    type: number
                    example: 1
                  total_results:
                    type: number
                    example: 1
              examples:
                Favorite TV:
                  value:
                    page: 1
                    results:
                      - adult: false
                        backdrop_path: /fQsIJQxE1D0Y0NpWSKwo489y5px.jpg
                        first_air_date: '2023-11-22'
                        genre_ids:
                          - 10764
                        id: 204082
                        name: 'Squid Game: The Challenge'
                        origin_country:
                          - GB
                        original_language: en
                        original_name: 'Squid Game: The Challenge'
                        overview: >-
                          In this reality competition show inspired by "Squid
                          Game," 456 players put their skills to the ultimate
                          test for a life-changing $4.56 million prize.
                        popularity: 1656.181
                        poster_path: /y85L9DWoaM2MYNg1p8QRywxXJsa.jpg
                        vote_average: 6.5
                        vote_count: 369
                    total_pages: 1
                    total_results: 1
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````