curl --request POST \
--url https://api.themoviedb.org/authentication/session/new \
--header 'Content-Type: application/json' \
--data '{
"request_token": "{{request_token}}"
}'
{
"session_id": "000c5b62c270a55ef8c64ee02ba56ba2fded1f55",
"success": true
}
This endpoint creates a session ID for the user after validating the request token.
curl --request POST \
--url https://api.themoviedb.org/authentication/session/new \
--header 'Content-Type: application/json' \
--data '{
"request_token": "{{request_token}}"
}'
{
"session_id": "000c5b62c270a55ef8c64ee02ba56ba2fded1f55",
"success": true
}
"63365ecd10409ee95d673fd7f8c095e3"
Create User Session Example
The response is of type object
.