> ## 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.

# Account States

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



## OpenAPI

````yaml get /3/movie/{movie_id}/account_states
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/movie/{movie_id}/account_states:
    parameters:
      - name: movie_id
        in: path
        required: true
        schema:
          type: integer
          example: 12
    get:
      tags:
        - MOVIES
      summary: Account States
      description: >-
        This endpoint get the rating, watchlist and favourite status of an
        account.
      operationId: accountStates
      parameters:
        - name: session_id
          in: query
          schema:
            type: string
        - name: guest_session_id
          in: query
          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: Mon, 30 Dec 2024 09:43:42 GMT
            ETag:
              schema:
                type: string
                example: W/"fc31d2d220953f9717ba714de9acee92"
            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 4375274d19e6a104d814374704f49a08.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: 5dGrN-Q7J-aOhoo8NW83Bet-ob7EwMi8c_5tCk7v1jrSz78eg9If4Q==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            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: 1e2abae0e7f5cc95bb95993b25487393
          content:
            application/json:
              schema:
                type: object
                properties:
                  favorite:
                    type: boolean
                    example: false
                  id:
                    type: number
                    example: 12
                  rated:
                    type: object
                    properties:
                      value:
                        type: number
                        example: 8.5
                  watchlist:
                    type: boolean
                    example: false
              examples:
                Account States:
                  value:
                    favorite: false
                    id: 12
                    rated:
                      value: 8.5
                    watchlist: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````