---
title: "Get a voice preview"
method: GET
path: "/ai/text-to-speech/voices/{voiceId}/preview"
tags: ["AI"]
---

# Get a voice preview

`GET /ai/text-to-speech/voices/{voiceId}/preview`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/ai/text-to-speech/voices/{voiceId}/preview`
- Auth: API key in header `Authorization`

Get a preview audio URL for a specific text-to-speech voice.

## Path parameters

- `voiceId` string, required

## Response `200`

OK

- object
  - `data` object: Success data
    - `preview_audio_url` string
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/rendley/apis/rendley-api.md) - [All operations](https://skmtc.dev/rendley/apis/rendley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rendley/apis/rendley-api/revisions/7eb8713bbf78?raw)
