---
title: "Retrieve Voice Sample Audio"
method: GET
path: "/v1/voices/pvc/{voice_id}/samples/{sample_id}/audio"
tags: ["pvc-voices"]
---

# Retrieve Voice Sample Audio

`GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/audio`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/voices/pvc/{voice_id}/samples/{sample_id}/audio`
- Auth: none declared

Retrieve the first 30 seconds of voice sample audio with or without noise removal.

## Path parameters

- `voice_id` string, required: Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
- `sample_id` string, required: Sample ID to be used

## Query parameters

- `remove_background_noise` boolean: If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Response `200`

Successful Response

- VoiceSamplePreviewResponseModel
  - `audio_base_64` string, required: The base64 encoded audio.
  - `voice_id` string, required: The ID of the voice.
  - `sample_id` string, required: The ID of the sample.
  - `media_type` string, required: The media type of the audio.
  - `duration_secs` number, nullable: The duration of the audio in seconds.

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-08** `5b595807512c`: 1 breaking, 2 info
  - removed the request body
  - api operation id `Retrieve_voice_sample_audio_v1_voices_pvc__voice_id__samples__sample_id__audio_get` removed and replaced with `get_pvc_sample_audio`
  - added the new optional `query` request parameter `remove_background_noise`
- **2025-05-16** `503db4198a44`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/voices/pvc/:voice_id/samples/:sample_id/audio/get.md)

---

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