curl -X GET \
  <BASE_URL>/get-all-voices \
  -H 'X-API-Key: YOUR_API_KEY'

{
  "voices": {
    "voices": [
      {
        "labels": {
          "accent": "american",
          "age": "young",
          "description": "calm",
          "gender": "female",
          "use case": "narration"
        },
        "name": "Rachel",
        "preview_url": "https://storage.googleapis.com/eleven-public-prod/premade/voices/21m00Tcm4TlvDq8ikWAM/df6788f9-5c96-470d-8312-aab3b3d8f50a.mp3",
        "voice_id": "21m00Tcm4TlvDq8ikWAM"
      }
    ]
  }
}

Body

Get all the available voices and their details.

Response

voices
string

All the available voices, their names, and their details.

curl -X GET \
  <BASE_URL>/get-all-voices \
  -H 'X-API-Key: YOUR_API_KEY'

{
  "voices": {
    "voices": [
      {
        "labels": {
          "accent": "american",
          "age": "young",
          "description": "calm",
          "gender": "female",
          "use case": "narration"
        },
        "name": "Rachel",
        "preview_url": "https://storage.googleapis.com/eleven-public-prod/premade/voices/21m00Tcm4TlvDq8ikWAM/df6788f9-5c96-470d-8312-aab3b3d8f50a.mp3",
        "voice_id": "21m00Tcm4TlvDq8ikWAM"
      }
    ]
  }
}