agents
agents.test
conversations
data_sources
events
insights.workflows
insights.tools
custom_messages
prompts
session_labels
sessions.transcript
sessions.summary
sessions.full-summary
channels.targets
directory
dashboards
outbound.batches
- GETList Outbound Communication Batches
- PUTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
List Language Groups
Fetch language groups.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.languageGroups.list({});
// Handle the result
console.log(result);
}
run();
{
"items": [
{
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"language_code": "en-US",
"voice_provider": "OpenAI",
"voice_display_name": "Alloy",
"dtmf_code": 1
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "user@mail.com"
}
],
"page": 123,
"page_size": 123,
"total_pages": 123,
"total_count": 123
}
Authorizations
Query Parameters
x >= 0
x >= 0
name
, description
, skip_current_language_in_message
, updated_at
, last_updated_by
name
, description
, skip_current_language_in_message
, updated_at
, last_updated_by
asc
, desc
name
, description
, skip_current_language_in_message
, updated_at
, last_updated_by
Response
The name of the language group.
"Call Center 1 Languages"
Voice and DTMF configurations for each language in the group.
Voice and DTMF configurations for a language in a language group. List of available voices
and their supported languages can be fetched from GET /agents/voices/available/
.
BCP 47 code of the language
yue-HK
, en-US
, ko-KR
, zh-CN
, es-US
, th-TH
, vi-VN
TTS provider of the voice to use for the language
OpenAI
, ElevenLabs
, Google
Display name of the voice to use for the language
Alejandro
, Alice
, Alloy
, Ash
, Bill
, Brian
, Callum
, Charlie
, Charlotte
, Chris
, Clara
, Coral
, Daniel
, Echo
, Eric
, Fable
, George
, Isabella
, Jerry
, Jessica
, Laura
, Liam
, Lily
, Lina
, Mark
, Matilda
, Melanie
, Mila
, Nova
, Onyx
, River
, Roger
, Sarah
, Sage
, Shimmer
, Sienna
, Tara
, Will
DTMF code that should be used for the language in the menu generated from the language group
1
Whether a message using the language group to generate a language DTMF menu should skip the agent's current language in the menu.
The ID of the language group to update.
1
Timestamp of the last update to the language group.
Email of the user who last updated the language group.
"user@mail.com"
Description of the language group.
"Languages spoken by operators at Call Center 1"
Comments for the most recent edit to the language group.
"Added Spanish support."
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.languageGroups.list({});
// Handle the result
console.log(result);
}
run();
{
"items": [
{
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"language_code": "en-US",
"voice_provider": "OpenAI",
"voice_display_name": "Alloy",
"dtmf_code": 1
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "user@mail.com"
}
],
"page": 123,
"page_size": 123,
"total_pages": 123,
"total_count": 123
}