POST
/
3
/
authentication
/
token
/
validate_with_login
Validate request token (with Login)
curl --request POST \
  --url https://api.themoviedb.org/3/authentication/token/validate_with_login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "my_password",
  "request_token": "825b0375e94da6c9f829465e170ed3448a3ee4d9",
  "username": "my_username"
}'
{
  "expires_at": "2024-12-29 14:13:38 UTC",
  "request_token": "825b0375e94da6c9f829465e170ed3448a3ee4d9",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
password
string

A TMDB user's account password

Example:

"my_password"

request_token
string

A unique token created here that is used to generate a session_id

Example:

"825b0375e94da6c9f829465e170ed3448a3ee4d9"

username
string

A TMDB user's account username

Example:

"my_username"

Response

200 - application/json

Request successful

expires_at
string

The date and time (in UTC) when the token will expire.

Example:

"2024-12-29 14:13:38 UTC"

request_token
string

The validated token.

Example:

"825b0375e94da6c9f829465e170ed3448a3ee4d9"

success
boolean

Indicates whether the request was successful. Possible values - true or false

Example:

true