curl --request GET \
--url https://api.themoviedb.org/3/authentication/token/new \
--header 'Authorization: Bearer <token>'
{
"expires_at": "2024-12-26 01:02:55 UTC",
"request_token": "6fba9c19860de1b8dfd6458e0a79b9910fec13a5",
"success": true
}
This endpoint allows you to create a temporary request token that can be used to validate a TMDB user login.
curl --request GET \
--url https://api.themoviedb.org/3/authentication/token/new \
--header 'Authorization: Bearer <token>'
{
"expires_at": "2024-12-26 01:02:55 UTC",
"request_token": "6fba9c19860de1b8dfd6458e0a79b9910fec13a5",
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Create request token
The response is of type object
.