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

# Validate Request Token with login

> This endpoint allow users to validate a request token by entering a username and password.

<Info>
  You will be using your TMDB login details(username & password) here to validate request token
</Info>


## OpenAPI

````yaml post /3/authentication/token/validate_with_login
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/authentication/token/validate_with_login:
    post:
      tags:
        - AUTHENTICATION
      summary: Validate Request Token with login
      description: >-
        This endpoint allow users to validate a request token by entering a
        username and password.
      operationId: validateRequestTokenWithLogin
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                password:
                  description: the password to user's account
                  type: string
                  example: 33u4ut78
                request_token:
                  type: string
                  description: A temporary credential used in the authentication process.
                  example: 494a2598df9b563a3a54a2bbcde2a738654a5c49
                username:
                  type: string
                  description: the user's username
                  example: John Doe
            examples:
              Validate Request Token with login:
                value:
                  password: 33u4ut78
                  request_token: 494a2598df9b563a3a54a2bbcde2a738654a5c49
                  username: John Doe
      responses:
        '200':
          description: Validate Request Token with login
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Thu, 26 Dec 2024 15:24:09 GMT
            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 39721a78218c7c28e95e60fe0370079c.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: DjEVR8q2dU2AiqZXh8ZBHmII79IxS-u25adcVcBWsvzyiG4bUWEDCA==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            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/"ae5d1043453cbb97a3e41c17a22607f9"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                type: object
                properties:
                  expires_at:
                    type: string
                    example: 2024-12-26 16:17:26 UTC
                  request_token:
                    type: string
                    example: 494a2598df9b563a3a54a2bbcde2a738654a5c49
                  success:
                    type: boolean
                    example: true
              examples:
                Validate Request Token with login:
                  value:
                    expires_at: 2024-12-26 16:17:26 UTC
                    request_token: 494a2598df9b563a3a54a2bbcde2a738654a5c49
                    success: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````