Voice catalog
GET
https://api.voice-agent.gowajee.ai/voice-demo/catalogLists every AI voice currently available. Pass a voice’s voiceKey in ttsVoiceKeys when you
start a campaign. See Scheduling → Voices.
This endpoint is public: no API key needed. Note the path: it is not under /api.
Call it from your server, not from a web page. Browsers on other websites are blocked by CORS.
Request
Section titled “Request”curl "https://api.voice-agent.gowajee.ai/voice-demo/catalog"const { voices } = await fetch('https://api.voice-agent.gowajee.ai/voice-demo/catalog').then((r) => r.json());const femaleKeys = voices.filter((v) => v.gender === 'female' && v.isNative).map((v) => v.voiceKey);voices = requests.get("https://api.voice-agent.gowajee.ai/voice-demo/catalog", timeout=30).json()["voices"]female_keys = [v["voiceKey"] for v in voices if v["gender"] == "female" and v["isNative"]]Response
Section titled “Response”The response has no success/data envelope.
{ "voices": [ { "voiceKey": "nicha", "displayName": "Nicha", "gender": "female", "isNative": true }, { "voiceKey": "beer", "displayName": "Beer", "gender": "male", "isNative": true }, { "voiceKey": "carmen", "displayName": "Carmen", "gender": "female", "isNative": false } ], "categories": [ { "categoryKey": "debt-collection", "label": "ทวงหนี้", "sentences": [{ "sentenceId": "debt-01", "textFemale": "…", "textMale": "…" }] } ]}| Field | Type | Description |
|---|---|---|
voices |
object[] | Every available voice, in Gowajee’s display order (the same order as on Voice Lab). |
voices[].voiceKey |
string | The value to send in ttsVoiceKeys. |
voices[].displayName |
string | The voice’s name. |
voices[].gender |
"female" or "male" |
With a male voice, Gowajee’s own built-in text uses ครับ instead of ค่ะ. Lines in your agent’s script are not converted, so use a male version of the script for male voices. See Voices. |
voices[].isNative |
boolean | false for voices that speak Thai with a foreign accent. |
categories |
object[] | The sample sentences shown on Voice Lab. You can ignore them. |