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

# Get Audio From Sample

`GET /v1/voices/{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/{voice_id}/samples/{sample_id}/audio`
- Auth: none declared

Returns the audio corresponding to a sample attached to a voice.

## 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, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.

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

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-08** `5b595807512c`: 1 info
  - api operation id `Get_audio_from_sample_v1_voices__voice_id__samples__sample_id__audio_get` removed and replaced with `get_audio_from_sample`
- **2025-05-16** `503db4198a44`: 2 info
  - `header` request parameter `xi-api-key` list-of-types was widened by adding types `null`
  - for the `header` request parameter `xi-api-key`, the type was generalized from `string` to no type

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/voices/: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/0e2bfc751634?raw)
