---
title: "Preview a designed-voice candidate"
method: GET
path: "/v1/voice/design/{id}/preview/{candidate_id}"
tags: ["Text To Speech (Speak)"]
---

# Preview a designed-voice candidate

`GET /v1/voice/design/{id}/preview/{candidate_id}`

## Request

- Base URL: `https://api.pyai.com`
- URL: `https://api.pyai.com/v1/voice/design/{id}/preview/{candidate_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Fetch a short-lived audio preview for a candidate owned by the authenticated organization. Cross-organization and malformed lookups return the same not-found response. Requires the `speak:design` scope.

## Path parameters

- `id` string, required
- `candidate_id` string, required

## Response `200`

Candidate preview audio.

## Other responses

- `401`: Missing or invalid API key (`code: unauthorized`)
- `404`: No such design candidate for this tenant

---

[API](https://skmtc.dev/pyai/apis/pyai-api.md) · [All operations](https://skmtc.dev/pyai/apis/pyai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pyai/apis/pyai-api/revisions/271a1539185b?raw)
