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

> This endpoint add a movie to a list.



## OpenAPI

````yaml api-reference/openapi3.json post /3/list/{list_id}/add_item
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/list/{list_id}/add_item:
    post:
      tags:
        - LISTS
      summary: Add Movie
      description: This endpoint add a movie to a list.
      operationId: addMovie
      parameters:
        - $ref: '#/components/parameters/session_id'
        - $ref: '#/components/parameters/list_id'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                media_id:
                  type: number
                  example: 18
                  description: >-
                    This is the value been sent to the server. And it represent
                    an identifier for a specific piece of media.
            examples:
              Add Movie:
                value:
                  media_id: 18
      responses:
        '201':
          description: add movie
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: string
                example: '94'
            Date:
              schema:
                type: string
                example: Fri, 03 Jan 2025 21:13:09 GMT
            Server:
              schema:
                type: string
                example: openresty
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 08f45c153a856ff7955174d0e6f60744.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: Ha5DlLldGWFxP1EJZ7ahBWno8DXLe077doH6GfcdCpX93p-4Ly5bkQ==
            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/"04302547257ccb7e68844cdd59055002"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/listProperty'
              examples:
                add movie:
                  value:
                    status_code: 12
                    status_message: The item/record was updated successfully.
                    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: ''
    list_id:
      name: list_id
      in: query
      required: true
      description: This is the unique identifier of the list been created
      schema:
        type: number
        example: ''
  schemas:
    listProperty:
      type: object
      properties:
        status_code:
          type: number
          example: 12
          description: >-
            An integer value representing the status of the response. A value of
            1 is often used to denote a generic success response.
        status_message:
          type: string
          example: The item/record was updated successfully.
          description: A string providing a brief indication of the status of the request.
        success:
          type: boolean
          example: true
          description: A boolean value indicating whether the request was successful.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````