> ## Documentation Index
> Fetch the complete documentation index at: https://developer.demand-iq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get presentation slides and Q&A settings

> Returns the slide payload and Q&A settings for a presentation. The presentation viewer fetches this behind the intro or loading screen so the initial page load stays small. Requires an `x-presentation-token` scoped to this presentation. Expired tokens are rejected with `401` — reload the presentation page to obtain a fresh one. Audio and image URLs in the response are freshly signed on every call and expire, so the response is marked `Cache-Control: private, no-store` and must not be cached.



## OpenAPI

````yaml /openapi.json get /api/presentations/{presentationId}/content
openapi: 3.0.0
info:
  title: AI Presentations API
  version: 1.0.0
  description: >-
    REST API for AI Presentations — an AI-powered presentation platform with
    narrated slides, live Q&A, and deck management.


    **Authentication**: Most endpoints require a session cookie obtained from
    `POST /api/auth/login`. Presentation playback endpoints (`/api/qa`,
    `/api/narration/*`) also accept a `presentationId` for unauthenticated
    viewer access.
  contact:
    name: Demand IQ
    url: https://demand-iq.com
servers:
  - url: https://app.demand-iq.com
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: Decks
    description: Manage presentation decks
  - name: Slides
    description: Manage slides within a deck
  - name: FAQs
    description: Manage pre-built Q&A pairs
  - name: Branding
    description: Colors, logo, and call-to-action configuration
  - name: Q&A
    description: Live question answering and Q&A settings
  - name: Narration
    description: Text-to-speech synthesis
  - name: Presentations
    description: Create and manage personalized presentation instances
  - name: Generation
    description: AI-powered content generation from slide images
  - name: Images
    description: Image upload and management
  - name: Voices
    description: Available TTS voices
  - name: Utility
    description: Health check and diagnostics
  - name: Authentication
    description: Session-based login, logout, and identity
  - name: Company
    description: Organization contact info and knowledge base
  - name: Notifications
    description: Event subscriptions and delivery log
  - name: Contracts
    description: Contract template import and e-signature
  - name: Fonts
    description: Available Google Fonts for branding
  - name: Roof Measurements
    description: Request and track automated roof measurements
  - name: Actions
    description: Voice/text command detection for presentation control
  - name: Appointments
    description: Appointment scheduling for presentation viewers
  - name: Activity
    description: Recent presentation activity feed
  - name: Onboarding
    description: >-
      Per-user product onboarding milestones (ENG-641). Milestone endpoints are
      idempotent and are called by the app UI — they should not be treated as
      tenant-integration surface.
paths:
  /api/presentations/{presentationId}/content:
    get:
      tags:
        - Presentations
      summary: Get presentation slides and Q&A settings
      description: >-
        Returns the slide payload and Q&A settings for a presentation. The
        presentation viewer fetches this behind the intro or loading screen so
        the initial page load stays small. Requires an `x-presentation-token`
        scoped to this presentation. Expired tokens are rejected with `401` —
        reload the presentation page to obtain a fresh one. Audio and image URLs
        in the response are freshly signed on every call and expire, so the
        response is marked `Cache-Control: private, no-store` and must not be
        cached.
      parameters:
        - in: path
          name: presentationId
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Presentation content
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - not_started
                      - pending
                      - generating
                      - ready
                      - failed
                  slides:
                    type: array
                    items:
                      $ref: '#/components/schemas/PresentationSlide'
                  qaSettings:
                    $ref: '#/components/schemas/PresentationQaSettings'
                required:
                  - id
                  - status
                  - slides
        '401':
          description: Missing, invalid, or expired presentation token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: Presentation no longer available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - presentationToken: []
components:
  schemas:
    PresentationSlide:
      type: object
      description: >-
        A slide as served to the presentation viewer. Media URLs are presigned
        and expire, so responses containing this schema must not be cached.
      properties:
        id:
          type: string
        deckSlideId:
          type: string
          format: uuid
        slideId:
          type: string
        title:
          type: string
        bullets:
          type: array
          items:
            type: string
        narrationScript:
          type: string
        audioUrl:
          type: string
          description: >-
            Presigned URL for the slide's narration audio. Expires after a short
            window.
        heroImg:
          type: string
          description: Presigned URL for the slide image. Expires after a short window.
        wordTimings:
          type: array
          items:
            $ref: '#/components/schemas/WordTiming'
        position:
          type: integer
        slideType:
          type: string
          enum:
            - standard
            - product_pricing_v1
          description: Defaults to `standard` when omitted.
        productData:
          $ref: '#/components/schemas/ProductSlideData'
      required:
        - id
        - slideId
        - title
        - bullets
        - narrationScript
        - position
    PresentationQaSettings:
      type: object
      description: >-
        Q&A prompt configuration as served to the presentation viewer, with
        presigned audio URLs.
      properties:
        resumePromptText:
          type: string
          description: >-
            Spoken prompt asking if the viewer wants to continue the
            presentation
        resumePromptAudioUrl:
          type: string
          nullable: true
          description: Presigned URL for the resume prompt audio
        resumePromptWordTimings:
          type: array
          items:
            $ref: '#/components/schemas/WordTiming'
          nullable: true
        resumePromptVoiceId:
          type: string
          nullable: true
        transitionPromptText:
          type: string
          description: Spoken bridge from Q&A back into the presentation
        transitionPromptAudioUrl:
          type: string
          nullable: true
          description: Presigned URL for the transition prompt audio
        transitionPromptWordTimings:
          type: array
          items:
            $ref: '#/components/schemas/WordTiming'
          nullable: true
        transitionPromptVoiceId:
          type: string
          nullable: true
      required:
        - resumePromptText
        - transitionPromptText
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    WordTiming:
      type: object
      properties:
        word:
          type: string
        startTime:
          type: number
          description: Start time in milliseconds
        endTime:
          type: number
          description: End time in milliseconds
      required:
        - word
        - startTime
        - endTime
    ProductSlideData:
      type: object
      description: Good/better/best product pricing tiers for a product pricing slide.
      properties:
        good:
          type: object
          nullable: true
        better:
          type: object
          nullable: true
        best:
          type: object
          nullable: true
        subtitle:
          type: string
          nullable: true
        brandLogo:
          type: string
          nullable: true
          deprecated: true
          description: >-
            Deprecated. The product pricing slide always renders the deck's
            branding logo (set via `PUT /api/decks/{deckId}/branding`). This
            field is still accepted and stored, but the viewer and editor ignore
            it.
        disclaimer:
          type: string
          nullable: true
        defaultSelectedTier:
          type: string
          enum:
            - good
            - better
            - best
          nullable: true
  securitySchemes:
    presentationToken:
      type: apiKey
      in: header
      name: x-presentation-token
      description: >-
        HMAC-signed token scoped to a specific presentation. Obtained from `POST
        /api/presentations/{presentationId}/events-token`.

````