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

# Details

> Get a movie or TV credit details by ID.



## OpenAPI

````yaml api-reference/openapi.json get /3/credit/{{credit_id}}
openapi: 3.0.3
info:
  title: Themoviedb API
  description: >-
    Version 3 (stable) of The Movie Database (TMDB) API offers a concise list of
    available methods for movies, TV shows, actors, and images.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
  - url: https://api.themoviedb.org/3
security: []
tags:
  - name: Account
  - name: Authentication
    description: >-
      # How do I generate a session id?


      As outlined in the [getting started
      guide](https://developer.themoviedb.org/docs/getting-started), the basics
      to getting a user authenticated look like this:


      1. **Create a new request token**  

      2. **Get the user to authorize the request token**  

      3. **Create a new session id with the authorized request token**  


      Steps 1 and 3 should be fairly easy to understand, but let's walk through
      each to ensure clarity.


      ## Step 1: Create a request token


      The first step as a developer is to request a new token. This is a
      **temporary token** required to ask the user for permission to access
      their account. This token will automatically expire **after 60 minutes**
      if it's not used.


      ## Step 2: Ask the user for permission


      With a request token in hand, forward your user to the following URL:


      ```

      https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}

      ```


      You can also pass this URL a `redirect_to` parameter, like so:


      ```

      https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}?redirect_to=http://www.yourapp.com/approved

      ```


      Once the user has approved your request token, they will either be
      redirected to the URL you specified in the `redirect_to` parameter or to
      the `/authenticate/allow` path on TMDB. If they aren't redirected to a
      custom URL, the page will also include an `Authentication-Callback`
      header. This header contains the API call for step #3. You can either
      manually generate it or simply use the one we return.


      ## Step 3: Create a session ID


      By calling the **new session method** with the request token that has been
      approved by the user in Step 2, we will return a **new session_id**. This
      session can now be used to write user data. You should treat this key
      **like a password** and keep it secret.


      ## What about guest sessions?


      A **guest session** can be used to rate movies **without** requiring a
      registered TMDB user account. For more information about how to create a
      guest session, see
      [here](https://developer.themoviedb.org/docs/authentication).
  - name: Certification
  - name: Changes
  - name: Collections
  - name: Companies
  - name: Configuration
  - name: Credits
  - name: Discover
  - name: Find
  - name: Genres
  - name: Guest Session
  - name: Keywords
  - name: List
    description: >-
      ## v3 or v4 list? 😕


      You may have noticed that the a v4 version of our list API exists. While
      these v3 list methods continue to work, all of the new features you can
      see on our website are only available if you switch to the v4 lists.


      **What are some of the improvements in v4?**


      - You can import "unlimited" items in a single request
          
      - You can use mixed type (movie and TV) lists
          
      - You can use private lists
          
      - You can add and use comments per item
          
      - There are more sort options
          
      - They are faster
          
      - Check the v4 documentation for more information.
  - name: Movie Lists
  - name: Movies
  - name: Networks
  - name: People Lists
  - name: People
  - name: Reviews
  - name: Search
  - name: Trending
  - name: TV Series Lists
  - name: TV Series
  - name: TV Seasons
  - name: TV Episodes
  - name: TV Episode Groups
  - name: Watch Providers
paths:
  /3/credit/{{credit_id}}:
    parameters:
      - name: credit_id
        in: path
        required: true
        schema:
          type: string
    get:
      tags:
        - Credits
      summary: Details
      description: Get a movie or TV credit details by ID.
      operationId: details3
      responses:
        '200':
          description: Details
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=17696
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Sun, 05 Jan 2025 21:55:17 GMT
            ETag:
              schema:
                type: string
                example: W/"7e58bfa66cec9b4184ff2cfa88f2f8a8"
            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 95e16d4ec89b0a07da1a8770b0f15cfa.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: UdYylqVloPWb7_Hch_0NtBAZTrOEdLjX7aQI0sRd1No5I-Jk3RSo3A==
            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: HIT
            x-memc-age:
              schema:
                type: string
                example: '5594'
            x-memc-expires:
              schema:
                type: string
                example: '17696'
            x-memc-key:
              schema:
                type: string
                example: 9a3b8db8e8d1e7ab0f6e2856123baa77
          content:
            application/json:
              schema:
                type: object
                properties:
                  credit_type:
                    type: string
                    example: cast
                  department:
                    type: string
                    example: Acting
                  id:
                    type: string
                    example: 5e5cc7f055c926001952b30b
                  job:
                    type: string
                    example: Actor
                  media:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                      backdrop_path:
                        type: string
                        example: /pwpw1veVNW2Sls5sGbA9mqMYN49.jpg
                      character:
                        type: string
                        example: Woo Moo-Chi
                      genre_ids:
                        type: array
                        items:
                          type: number
                          example: 28
                        example:
                          - 28
                          - 12
                          - 35
                          - 14
                      id:
                        type: number
                        example: 591120
                      media_type:
                        type: string
                        example: movie
                      original_language:
                        type: string
                        example: ko
                      original_title:
                        type: string
                        example: '해적: 도깨비 깃발'
                      overview:
                        type: string
                        example: >-
                          A gutsy crew of Joseon pirates and bandits battle
                          stormy waters, puzzling clues and militant rivals in
                          search of royal gold lost at sea.
                      popularity:
                        type: number
                        example: 24.176
                      poster_path:
                        type: string
                        example: /50UQeTrUM7ErXzkvqCsV6EXcM3g.jpg
                      release_date:
                        type: string
                        example: '2022-01-26'
                      title:
                        type: string
                        example: 'The Pirates: The Last Royal Treasure'
                      video:
                        type: boolean
                        example: false
                      vote_average:
                        type: number
                        example: 6.6
                      vote_count:
                        type: number
                        example: 197
                  media_type:
                    type: string
                    example: movie
                  person:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                      gender:
                        type: number
                        example: 2
                      id:
                        type: number
                        example: 1257899
                      known_for_department:
                        type: string
                        example: Acting
                      media_type:
                        type: string
                        example: person
                      name:
                        type: string
                        example: Kang Ha-neul
                      original_name:
                        type: string
                        example: 강하늘
                      popularity:
                        type: number
                        example: 33.13
                      profile_path:
                        type: string
                        example: /9V9H2mzk9XLMVPr0HtZHPCbM0Q2.jpg
              examples:
                Details:
                  value:
                    credit_type: cast
                    department: Acting
                    id: 5e5cc7f055c926001952b30b
                    job: Actor
                    media:
                      adult: false
                      backdrop_path: /pwpw1veVNW2Sls5sGbA9mqMYN49.jpg
                      character: Woo Moo-Chi
                      genre_ids:
                        - 28
                        - 12
                        - 35
                        - 14
                      id: 591120
                      media_type: movie
                      original_language: ko
                      original_title: '해적: 도깨비 깃발'
                      overview: >-
                        A gutsy crew of Joseon pirates and bandits battle stormy
                        waters, puzzling clues and militant rivals in search of
                        royal gold lost at sea.
                      popularity: 24.176
                      poster_path: /50UQeTrUM7ErXzkvqCsV6EXcM3g.jpg
                      release_date: '2022-01-26'
                      title: 'The Pirates: The Last Royal Treasure'
                      video: false
                      vote_average: 6.6
                      vote_count: 197
                    media_type: movie
                    person:
                      adult: false
                      gender: 2
                      id: 1257899
                      known_for_department: Acting
                      media_type: person
                      name: Kang Ha-neul
                      original_name: 강하늘
                      popularity: 33.13
                      profile_path: /9V9H2mzk9XLMVPr0HtZHPCbM0Q2.jpg

````