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

# Add Rating

> This endpoint rate a TV episode and save it to your rated list.



## OpenAPI

````yaml api-reference/openapi3.json post /3/tv/{series_id}/season/{season_number}/episode/{episode_number}/rating
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}/season/{season_number}/episode/{episode_number}/rating:
    post:
      tags:
        - TV EPISODES
      summary: Add Rating
      description: This endpoint rate a TV episode and save it to your rated list.
      operationId: addRating2
      parameters:
        - 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
        - $ref: '#/components/parameters/session_id'
        - $ref: '#/components/parameters/season_number'
        - $ref: '#/components/parameters/series_id'
        - $ref: '#/components/parameters/episode_number'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: number
                  example: 8.5
                  description: The rating score for the TV episode
            examples:
              Add Rating:
                value:
                  value: 8.5
      responses:
        '201':
          description: add rating
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: string
                example: '60'
            Date:
              schema:
                type: string
                example: Mon, 06 Jan 2025 00:24:19 GMT
            Server:
              schema:
                type: string
                example: openresty
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 157ebd6865840045fc8b5ed1cce7e466.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: '-w4FPdnENP0BIcubjvAVGRbacbN5yYvuWEhJf-0Fyp_tSe8DADKZpw=='
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: IAD89-C3
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            cache-control:
              schema:
                type: string
                example: public, max-age=0
            etag:
              schema:
                type: string
                example: W/"4543905c5703940a323f39bb4fdcba82"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: number
                    example: 1
                  status_message:
                    type: string
                    example: Success.
                  success:
                    type: boolean
                    example: true
              examples:
                add rating:
                  value:
                    status_code: 1
                    status_message: Success.
                    success: true
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: ''
    season_number:
      name: season_number
      in: path
      required: true
      description: >-
        This refers to the numerical identifier assigned to a specific season of
        a TV series.
      schema:
        type: integer
        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: ''
    episode_number:
      name: episode_number
      in: path
      required: true
      description: >-
        This refers to the unique number assigned to a specific episode within a
        season of a television series.
      schema:
        type: integer
        example: ''
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````