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

# Play a voice sample

> A voice's short sample, from the previewUrl in GET /v1/voices.



## OpenAPI

````yaml scripts/api/sources/openapi.json GET /voices/preview/{token}
openapi: 3.1.0
info:
  title: Summer API
  version: '1'
  description: >-
    Curated, tested game-dev models: 3D, images, video, voice, sound and music,
    into your Summer assets.
servers:
  - url: https://www.summerengine.com/v1
security:
  - bearer: []
paths:
  /voices/preview/{token}:
    get:
      summary: Play a voice sample
      description: A voice sample from a previewUrl of GET /v1/voices. Public.
      operationId: voices_preview
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: MP3 audio.
          content:
            audio/mpeg:
              schema:
                type: string
                format: binary
        '404':
          description: Not a sample Summer serves.
      security: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        A Summer sign-in: an OAuth 2.1 access token, valid one hour. Sign in
        once with npx -y summer-engine login, then print a token with summer
        token. Each app you sign in spends your paid credits up to the limit you
        set in Connected apps.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.