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>
create session (with login)
The response is of type object.
object