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

# Account States

> This endpoint get the rating, watchlist and favourite status.



## OpenAPI

````yaml api-reference/openapi3.json get /3/tv/{series_id}/account_states
openapi: 3.0.3
info:
  title: The Movie Database
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: AUTHENTICATION
  - name: ACCOUNT
  - name: CERTIFICATIONS
  - name: CHANGES
  - name: COLLECTIONS
  - name: COMPANY
  - name: CONFIGURATION
  - name: CREDIT
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSIONS
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORKS
  - name: PEOPLE LIST
  - name: PEOPLE
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODE GROUP
  - name: WATCH PROVIDERS
paths:
  /3/tv/{series_id}/account_states:
    get:
      tags:
        - TV SERIES
      summary: Account States
      description: This endpoint get the rating, watchlist and favourite status.
      operationId: accountStates1
      parameters:
        - $ref: '#/components/parameters/session_id'
        - $ref: '#/components/parameters/series_id'
        - name: guest_session_id
          in: query
          description: >-
            It represents a unique identifier for a session that is created for
            a guest user.
          schema:
            type: string
      responses:
        '200':
          description: account states
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=0
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Sun, 05 Jan 2025 19:16:13 GMT
            ETag:
              schema:
                type: string
                example: W/"6768a0780e0c6a6707d516f538f3d876"
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 e3e94284a800d30d02bd662be67e1bf2.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: mgFxetG7ykZrLgwMIWSamCs7n8sycZjqKewJGSnlLKiZjne_IhOKRg==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: IAD89-C3
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: MISS
            x-memc-age:
              schema:
                type: string
                example: '0'
            x-memc-expires:
              schema:
                type: string
                example: '0'
            x-memc-key:
              schema:
                type: string
                example: a2c6e6449bc8c5460c3b86d3ce9303c0
          content:
            application/json:
              schema:
                type: object
                properties:
                  favorite:
                    type: boolean
                    example: false
                  id:
                    type: number
                    example: 1396
                  rated:
                    type: boolean
                    example: false
                  watchlist:
                    type: boolean
                    example: false
              examples:
                account states:
                  value:
                    favorite: false
                    id: 1396
                    rated: false
                    watchlist: false
components:
  parameters:
    session_id:
      name: session_id
      in: query
      description: >-
        A token that represents a logged-in user's session after they have
        authenticated with their TMDB account.
      schema:
        type: string
        example: ''
    series_id:
      name: series_id
      in: path
      required: true
      description: >-
        This refers to a unique identifier assigned to a television series
        within the database.
      schema:
        type: integer
        example: ''
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````