curl --request POST \
--url https://api.themoviedb.org/3/authentication/session/new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"request_token": "6fba9c19860de1b8dfd6458e0a79b9910fec13a5"
}'
{
"session_id": "7427e7f0d08c503a855b022dc5a2e124577150b8",
"success": true
}
This endpoint allows you to create a fully valid session ID once a user has validated the request token.
curl --request POST \
--url https://api.themoviedb.org/3/authentication/session/new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"request_token": "6fba9c19860de1b8dfd6458e0a79b9910fec13a5"
}'
{
"session_id": "7427e7f0d08c503a855b022dc5a2e124577150b8",
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Create session ID
The response is of type object
.