> ## 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 of an account.



## OpenAPI

````yaml api-reference/openapi3.json get /3/movie/{movie_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/movie/{movie_id}/account_states:
    get:
      tags:
        - MOVIES
      summary: Account States
      description: >-
        This endpoint get the rating, watchlist and favourite status of an
        account.
      operationId: accountStates
      parameters:
        - $ref: '#/components/parameters/session_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
            example: ''
        - $ref: '#/components/parameters/movie_id'
      responses:
        '200':
          description: New Request
          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: Fri, 03 Jan 2025 22:38:15 GMT
            ETag:
              schema:
                type: string
                example: W/"6f4c4f7d52d5617763d9607ffecf6edf"
            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 db72f6ab1d9d27534c6158ca17e3af1c.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: vGk7DhxuWZD5Sk-d5Ob1gkWaiNkq8rfYRnBqVxDKOeQixD3oHOYmGQ==
            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: 9fa3a7fe7f91802f9503b9b0e54a4945
          content:
            application/json:
              schema:
                type: object
                properties:
                  favorite:
                    type: boolean
                    example: false
                    description: >-
                      This indicates whether the user has marked this movie as a
                      favorite. A value of false means the movie is not
                      currently a favorite for the user.
                  id:
                    type: number
                    example: 558449
                    description: >-
                      This is the unique identifier for the movie within the
                      database.
                  rated:
                    type: boolean
                    example: false
                    description: >-
                      This signifies whether the user has rated this movie. A
                      value of false suggests that the user has not provided a
                      rating for the movie.
                  watchlist:
                    type: boolean
                    example: false
                    description: >-
                      This shows whether the user has added the movie to their
                      watchlist. A value of false indicates that the movie is
                      not on the user's watchlist.
              examples:
                New Request:
                  value:
                    favorite: false
                    id: 558449
                    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: ''
    movie_id:
      name: movie_id
      in: path
      required: true
      description: This is a unique identifier for a movie.
      schema:
        type: integer
        example: ''
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````