Skip to main content
POST
https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1
/
list-voices
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/list-voices \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "voices": [
    {
      "id": "alloy",
      "name": "Alloy",
      "description": "Neutral, professional",
      "provider": "openai",
      "is_custom": false
    },
    {
      "id": "nova",
      "name": "Nova",
      "description": "Bright, energetic",
      "provider": "openai",
      "is_custom": false
    },
    {
      "id": "21m00Tcm4TlvDq8ikWAM",
      "name": "Rachel",
      "description": "Warm, conversational female voice",
      "provider": "elevenlabs",
      "preview_url": "https://api.elevenlabs.io/v1/voices/21m00Tcm4TlvDq8ikWAM/preview.mp3",
      "is_custom": false
    },
    {
      "id": "pNInz6obpgDQGcFmaJgB",
      "name": "Dr. Smith",
      "description": "Warm, professional male voice",
      "provider": "elevenlabs",
      "preview_url": "https://api.elevenlabs.io/v1/voices/pNInz6obpgDQGcFmaJgB/preview.mp3",
      "is_custom": true
    }
  ]
}
Retrieve all voices available for your AI agents, including built-in voices and your custom cloned voices.

Request Body

provider
string
Filter by provider: openai or elevenlabs.
include_builtin
boolean
default:true
Whether to include built-in voices in the response.

Response

voices
array
Array of voice objects.

Voice Object

id
string
Voice identifier to use in agent configuration.
name
string
Voice display name.
provider
string
Voice provider: openai or elevenlabs.
preview_url
string
URL to preview the voice (if available).
is_custom
boolean
Whether this is a custom cloned voice.
curl -X POST https://mtxbiyilvgwhbdptysex.supabase.co/functions/v1/list-voices \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "voices": [
    {
      "id": "alloy",
      "name": "Alloy",
      "description": "Neutral, professional",
      "provider": "openai",
      "is_custom": false
    },
    {
      "id": "nova",
      "name": "Nova",
      "description": "Bright, energetic",
      "provider": "openai",
      "is_custom": false
    },
    {
      "id": "21m00Tcm4TlvDq8ikWAM",
      "name": "Rachel",
      "description": "Warm, conversational female voice",
      "provider": "elevenlabs",
      "preview_url": "https://api.elevenlabs.io/v1/voices/21m00Tcm4TlvDq8ikWAM/preview.mp3",
      "is_custom": false
    },
    {
      "id": "pNInz6obpgDQGcFmaJgB",
      "name": "Dr. Smith",
      "description": "Warm, professional male voice",
      "provider": "elevenlabs",
      "preview_url": "https://api.elevenlabs.io/v1/voices/pNInz6obpgDQGcFmaJgB/preview.mp3",
      "is_custom": true
    }
  ]
}