List voices
list available AI voices.
GET
https://api.centerfy.ai/webhooks/inbound/voices Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | API key; or Authorization: Bearer <key>. |
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
gender | string | No | optional filter; must be ‘male’ or ‘female’ (case-insensitive). Any other value → 400. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/voices?gender=" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.voices.list({
"gender": 0
});
console.log(result); centerfy voices list '{"gender":0}' MCP tool: centerfy_voices_list (see MCP server)
Response
{
"status": "success",
"voice_count": 2,
"voices": [
{
"name": "Marissa",
"gender": "female",
"description": "Warm, friendly female voice"
},
{
"name": "David",
"gender": "male",
"description": "Clear, professional male voice"
}
]
}Errors
400— if gender is not male or female.
Notes
Each voice’s name is the public identifier — pass it as voice_id when creating or updating an agent.