cURL
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": "test123", "request_token": "9cd2a6e7bb16e67e55bc695c87d9d63e0727057b", "username": "johnny_appleseed" } '
{ "expires_at": "2024-12-14 17:06:53 UTC", "request_token": "9cd2a6e7bb16e67e55bc695c87d9d63e0727057b", "success": true }
This endpoint create the session id with its login details.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The password used to create the account.
"test123"
A temporary credential used in the authentication process.
"9cd2a6e7bb16e67e55bc695c87d9d63e0727057b"
The username used to create the account
"johnny_appleseed"
create session (with login)
This is when the request token will expire.
"2024-12-14 17:06:53 UTC"
This is the success or failure of our request.
true