> ## Documentation Index
> Fetch the complete documentation index at: https://sirjosh.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create guest session

> This endpoint create a user guest session.



## OpenAPI

````yaml api-reference/openapi3.json get /3/authentication/guest_session/new
openapi: 3.0.3
info:
  title: The Movie Database
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: AUTHENTICATION
  - name: ACCOUNT
  - name: CERTIFICATIONS
  - name: CHANGES
  - name: COLLECTIONS
  - name: COMPANY
  - name: CONFIGURATION
  - name: CREDIT
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSIONS
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORKS
  - name: PEOPLE LIST
  - name: PEOPLE
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODE GROUP
  - name: WATCH PROVIDERS
paths:
  /3/authentication/guest_session/new:
    get:
      tags:
        - AUTHENTICATION
      summary: Create guest session
      description: This endpoint create a user guest session.
      operationId: createGuestSession
      responses:
        '200':
          description: create guest session
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=0
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Sat, 14 Dec 2024 14:11:03 GMT
            ETag:
              schema:
                type: string
                example: W/"11b1640a9cd8f46d61b85c37e8568714"
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 c974a69619205281e0e6b8e73f95e4b4.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: zzF2JGG23NA6LKqS3ddW_lhZ6KgITPrvfqzKsFvSiZOvCaQlU5kxew==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: IAD89-C3
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
          content:
            application/json:
              schema:
                type: object
                properties:
                  expires_at:
                    type: string
                    example: 2024-12-15 14:11:03 UTC
                    description: This is the time when the guest session id will expire.
                  guest_session_id:
                    type: string
                    example: 3803074424af57054b31a12f9890c412
                    description: >-
                      It represents a unique identifier for a session that is
                      created for a guest user.
                  success:
                    type: boolean
                    example: true
                    description: This shows whether the output was a success or failure.
              examples:
                create guest session:
                  value:
                    expires_at: 2024-12-15 14:11:03 UTC
                    guest_session_id: 3803074424af57054b31a12f9890c412
                    success: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````