---
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`

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

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/versions/e77a0a530a82/schema)
