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

# Show embed session

> Returns a session you created earlier, including its URL and whether it has expired.



## OpenAPI

````yaml /car-api-reference/openapi.json get /embed-sessions/{id}
openapi: 3.0.1
info:
  title: OpenAPI For Motor Insurance
  description: API's that you need to use to issue insurance policies to your clients
  license:
    name: MIT
  version: 1.0.0
servers:
  - x-fern-server-name: Sandbox
    url: https://sandbox.yasmina.ai/api/v1/car-comp
  - x-fern-server-name: Production
    url: https://production.yasmina.ai/api/v1/car-comp
security:
  - Oauth2: []
paths:
  /embed-sessions/{id}:
    get:
      tags:
        - Embed sessions
      summary: Show embed session
      description: >-
        Returns a session you created earlier, including its URL and whether it
        has expired.
      parameters:
        - name: id
          in: path
          required: true
          description: The session id returned when it was created.
          schema:
            type: integer
      responses:
        '200':
          description: The session
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: The session id, for reading it back later.
                    example: 1
                  quote_request_id:
                    type: integer
                    description: >-
                      The quote request the embed was opened on. Yours to keep;
                      you never send it back.
                    example: 42
                  platform:
                    type: string
                    enum:
                      - web
                      - webview
                    description: What the session was opened for.
                  embed_url:
                    type: string
                    description: >-
                      Put this in an iframe or a WebView. Belongs to one
                      customer and expires after an hour.
                    example: >-
                      https://.../embed?session=8TJLiR0YhE8ikWSH3N16br2Q4qDg0ozGu18c5c3E
                  expires_at:
                    type: string
                    format: date-time
                    description: When the URL stops working.
                  parent_origin:
                    type: string
                    nullable: true
                    description: The site allowed to frame it. Null for a webview.
                  deep_link:
                    type: string
                    nullable: true
                    description: Where the app is reopened. Null for the web.
                  locale:
                    type: string
                    nullable: true
                  expired:
                    type: boolean
                    description: Whether the URL has stopped working.
                  first_opened_at:
                    type: string
                    format: date-time
                    nullable: true
                    description: When the customer first opened it, if they have.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: '40101'
              message:
                type: string
                example: Unauthenticated
    NotFound:
      description: Record not found
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: '40401'
              message:
                type: string
                example: Not found
  securitySchemes:
    Oauth2:
      description: JWT Authorization header using the Bearer scheme
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          scopes: {}

````