Skip to main content
GET
/
3
/
authentication
/
guest_session
/
new
Create guest session
curl --request GET \
  --url https://api.themoviedb.org/3/authentication/guest_session/new \
  --header 'Authorization: Bearer <token>'
{
  "expires_at": "2024-12-08 11:32:49 UTC",
  "guest_session_id": "0145215ad484b24c4b3f2ed0f5b77217",
  "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

Request successful

expires_at
string

The date and time (in UTC) when the guest session will expire.

Example:

"2024-12-08 11:32:49 UTC"

guest_session_id
string

A unique identifier for the guest session created.

Example:

"0145215ad484b24c4b3f2ed0f5b77217"

success
boolean

Indicates whether the request was successful. Possible values - true or false.

Example:

true

I