Workflow and voice
Get a branch's voice settings
What the branch’s calls run with: its head’s voice settings, with the settings every branch shares read from the agent. Archived branches too.
GET
/
api
/
v2
/
agents
/
{agentId}
/
branches
/
{branchId}
/
voice
Get a branch's voice settings
curl --request GET \
--url https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"agentId": "<string>",
"branchId": "<string>",
"isMain": true,
"revision": 123,
"versionId": "<string>",
"sharedFields": [
"allowInterruptions"
],
"settings": {
"pipelineMode": "duplex",
"realtimeModel": "openai/gpt-live-1",
"duplexVoice": "marin",
"model": "openai/gpt-5.4-mini",
"temperature": 0,
"transcriberLanguages": [
"auto"
],
"transcriberModel": "soniox-v5",
"silenceThresholdSeconds": 0.75,
"noiseSensitivity": 0.5,
"voiceId": "corey",
"voiceName": "Corey",
"voiceProvider": "centillion",
"voiceLanguage": "en-US",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "",
"initialMessage": "",
"initialMessageInterruptible": true,
"errorMessage": "The voice session encountered an error. Please try again.",
"allowInterruptions": true,
"silenceTimeoutSeconds": 300,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": {
"kind": "off"
},
"maxDurationMessage": "",
"turnEagerness": "patient",
"turnDetection": "silence",
"transcriptionKeywords": [
"<string>"
]
},
"allowTextInput": false,
"retainRecordingsForever": true,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 15,
"dailyCallLimit": 1
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
workspaceApiKeyworkspaceApiKeyHeader
Path Parameters
⌘I
Get a branch's voice settings
curl --request GET \
--url https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"agentId": "<string>",
"branchId": "<string>",
"isMain": true,
"revision": 123,
"versionId": "<string>",
"sharedFields": [
"allowInterruptions"
],
"settings": {
"pipelineMode": "duplex",
"realtimeModel": "openai/gpt-live-1",
"duplexVoice": "marin",
"model": "openai/gpt-5.4-mini",
"temperature": 0,
"transcriberLanguages": [
"auto"
],
"transcriberModel": "soniox-v5",
"silenceThresholdSeconds": 0.75,
"noiseSensitivity": 0.5,
"voiceId": "corey",
"voiceName": "Corey",
"voiceProvider": "centillion",
"voiceLanguage": "en-US",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "",
"initialMessage": "",
"initialMessageInterruptible": true,
"errorMessage": "The voice session encountered an error. Please try again.",
"allowInterruptions": true,
"silenceTimeoutSeconds": 300,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": {
"kind": "off"
},
"maxDurationMessage": "",
"turnEagerness": "patient",
"turnDetection": "silence",
"transcriptionKeywords": [
"<string>"
]
},
"allowTextInput": false,
"retainRecordingsForever": true,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 15,
"dailyCallLimit": 1
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}