Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

elevenlabs Voice Library API

Endpoints for browsing and adding shared voices from the public voice library.

elevenlabs Voice Library API is one of 22 APIs that elevenlabs publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Voice Library. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://api.elevenlabs.io.

2 operations 2 paths 5 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.elevenlabs.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

elevenlabs Voice Library API declares 1 security scheme for authenticating requests. An API key is passed in the header as xi-api-key (apiKeyAuth). By default, every request must be authenticated.

  • apiKeyAuth — ElevenLabs API key passed in the xi-api-key header for authentication.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Voice Library 2

Endpoints for browsing and adding shared voices from the public voice library.

GET
/v1/voice-library
List shared voices
listSharedVoices 4 params → 200401
POST
/v1/voice-library/{public_user_id}/{voice_id}/add
Add shared voice
addSharedVoice 2 params body → 200401404

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Voice (8 properties), VoiceSettings (4 properties), VoiceSample (4 properties), SharedVoiceListResponse (3 properties). Each schema is shown below with its type and property counts.

AddVoiceResponse
object
1 property
Voice
object
8 properties
SharedVoiceListResponse
object
3 properties
VoiceSample
object
4 properties
VoiceSettings
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elevenlabs-voice-library-api-openapi.yml Raw ↑

Other APIs elevenlabs publishes across the network.

elevenlabs Agents API
elevenlabs Audio Isolation API
elevenlabs Audio Native API
elevenlabs Chapters API
elevenlabs Conversations API
elevenlabs Dubbing API
elevenlabs Dubbing Resources API
elevenlabs Instant Voice Cloning API
elevenlabs Knowledge Base API
elevenlabs Music Generation API
elevenlabs Professional Voice Cloning API
elevenlabs Projects API