curl --request GET \
--url https://api.themoviedb.org/3/authentication/guest_session/new \
--header 'Authorization: Bearer <token>'
{
"expires_at": "2024-12-18 23:05:48 UTC",
"guest_session_id": "7fb2bac1c0b5fac7d131dbb2c667e5f0",
"success": true
}
This endpoint allows you to create a guest session Id.
Check this section for more information about guest session.
curl --request GET \
--url https://api.themoviedb.org/3/authentication/guest_session/new \
--header 'Authorization: Bearer <token>'
{
"expires_at": "2024-12-18 23:05:48 UTC",
"guest_session_id": "7fb2bac1c0b5fac7d131dbb2c667e5f0",
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Guest SessionId
The response is of type object
.