GET
/
3
/
authentication
/
guest_session
/
new
curl --request GET \
  --url https://api.themoviedb.org/3/authentication/guest_session/new \
  --header 'Authorization: Bearer <token>'
{
  "expires_at": "2024-12-15 14:11:03 UTC",
  "guest_session_id": "3803074424af57054b31a12f9890c412",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
create guest session
expires_at
string

This is the time when the guest session id will expire.

Example:

"2024-12-15 14:11:03 UTC"

guest_session_id
string

It represents a unique identifier for a session that is created for a guest user.

Example:

"3803074424af57054b31a12f9890c412"

success
boolean

This shows whether the output was a success or failure.

Example:

true