Workflow and voice
Update a branch's voice settings
Changes the settings sent with the Voice card’s checks and publishes them as a new version of the branch. The settings in sharedFields change only on Main, in a request of their own, without a new version. A branch changed since revision is refused with 409; read it again and retry. A protected branch is refused with 403. Needs a Full access key.
PUT
/
api
/
v2
/
agents
/
{agentId}
/
branches
/
{branchId}
/
voice
Update a branch's voice settings
curl --request PUT \
--url https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"revision": 1,
"settings": {
"duplexVoice": "<string>",
"model": "<string>",
"temperature": 0.5,
"transcriberLanguages": [
"<string>"
],
"silenceThresholdSeconds": 1.625,
"noiseSensitivity": 0.5,
"voiceId": "<string>",
"voiceName": "<string>",
"voiceLanguage": "<string>",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "<string>",
"initialMessage": "<string>",
"initialMessageInterruptible": true,
"errorMessage": "<string>",
"allowInterruptions": true,
"silenceTimeoutSeconds": 1805,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": {
"kind": "off"
},
"maxDurationMessage": "",
"transcriptionKeywords": [
"<string>"
]
},
"allowTextInput": true,
"retainRecordingsForever": true,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 60.5,
"dailyCallLimit": 1
},
"message": "<string>"
}
'import requests
url = "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
payload = {
"revision": 1,
"settings": {
"duplexVoice": "<string>",
"model": "<string>",
"temperature": 0.5,
"transcriberLanguages": ["<string>"],
"silenceThresholdSeconds": 1.625,
"noiseSensitivity": 0.5,
"voiceId": "<string>",
"voiceName": "<string>",
"voiceLanguage": "<string>",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "<string>",
"initialMessage": "<string>",
"initialMessageInterruptible": True,
"errorMessage": "<string>",
"allowInterruptions": True,
"silenceTimeoutSeconds": 1805,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": { "kind": "off" },
"maxDurationMessage": "",
"transcriptionKeywords": ["<string>"]
},
"allowTextInput": True,
"retainRecordingsForever": True,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 60.5,
"dailyCallLimit": 1
},
"message": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
revision: 1,
settings: {
duplexVoice: '<string>',
model: '<string>',
temperature: 0.5,
transcriberLanguages: ['<string>'],
silenceThresholdSeconds: 1.625,
noiseSensitivity: 0.5,
voiceId: '<string>',
voiceName: '<string>',
voiceLanguage: '<string>',
speed: 1.25,
stability: 0.5,
similarity: 0.5,
voiceInstructions: '<string>',
initialMessage: '<string>',
initialMessageInterruptible: true,
errorMessage: '<string>',
allowInterruptions: true,
silenceTimeoutSeconds: 1805,
conversationFlow: {
version: 1,
turnTimeoutSeconds: 15,
softTimeout: {kind: 'off'},
maxDurationMessage: '',
transcriptionKeywords: ['<string>']
},
allowTextInput: true,
retainRecordingsForever: true,
recordingRetentionDays: 1825,
maxConcurrentSessions: 1,
maxCallDurationMinutes: 60.5,
dailyCallLimit: 1
},
message: '<string>'
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'revision' => 1,
'settings' => [
'duplexVoice' => '<string>',
'model' => '<string>',
'temperature' => 0.5,
'transcriberLanguages' => [
'<string>'
],
'silenceThresholdSeconds' => 1.625,
'noiseSensitivity' => 0.5,
'voiceId' => '<string>',
'voiceName' => '<string>',
'voiceLanguage' => '<string>',
'speed' => 1.25,
'stability' => 0.5,
'similarity' => 0.5,
'voiceInstructions' => '<string>',
'initialMessage' => '<string>',
'initialMessageInterruptible' => true,
'errorMessage' => '<string>',
'allowInterruptions' => true,
'silenceTimeoutSeconds' => 1805,
'conversationFlow' => [
'version' => 1,
'turnTimeoutSeconds' => 15,
'softTimeout' => [
'kind' => 'off'
],
'maxDurationMessage' => '',
'transcriptionKeywords' => [
'<string>'
]
],
'allowTextInput' => true,
'retainRecordingsForever' => true,
'recordingRetentionDays' => 1825,
'maxConcurrentSessions' => 1,
'maxCallDurationMinutes' => 60.5,
'dailyCallLimit' => 1
],
'message' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
payload := strings.NewReader("{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}")
.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::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}"
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>"
}
}{
"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
Body
application/json
⌘I
Update a branch's voice settings
curl --request PUT \
--url https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"revision": 1,
"settings": {
"duplexVoice": "<string>",
"model": "<string>",
"temperature": 0.5,
"transcriberLanguages": [
"<string>"
],
"silenceThresholdSeconds": 1.625,
"noiseSensitivity": 0.5,
"voiceId": "<string>",
"voiceName": "<string>",
"voiceLanguage": "<string>",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "<string>",
"initialMessage": "<string>",
"initialMessageInterruptible": true,
"errorMessage": "<string>",
"allowInterruptions": true,
"silenceTimeoutSeconds": 1805,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": {
"kind": "off"
},
"maxDurationMessage": "",
"transcriptionKeywords": [
"<string>"
]
},
"allowTextInput": true,
"retainRecordingsForever": true,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 60.5,
"dailyCallLimit": 1
},
"message": "<string>"
}
'import requests
url = "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
payload = {
"revision": 1,
"settings": {
"duplexVoice": "<string>",
"model": "<string>",
"temperature": 0.5,
"transcriberLanguages": ["<string>"],
"silenceThresholdSeconds": 1.625,
"noiseSensitivity": 0.5,
"voiceId": "<string>",
"voiceName": "<string>",
"voiceLanguage": "<string>",
"speed": 1.25,
"stability": 0.5,
"similarity": 0.5,
"voiceInstructions": "<string>",
"initialMessage": "<string>",
"initialMessageInterruptible": True,
"errorMessage": "<string>",
"allowInterruptions": True,
"silenceTimeoutSeconds": 1805,
"conversationFlow": {
"version": 1,
"turnTimeoutSeconds": 15,
"softTimeout": { "kind": "off" },
"maxDurationMessage": "",
"transcriptionKeywords": ["<string>"]
},
"allowTextInput": True,
"retainRecordingsForever": True,
"recordingRetentionDays": 1825,
"maxConcurrentSessions": 1,
"maxCallDurationMinutes": 60.5,
"dailyCallLimit": 1
},
"message": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
revision: 1,
settings: {
duplexVoice: '<string>',
model: '<string>',
temperature: 0.5,
transcriberLanguages: ['<string>'],
silenceThresholdSeconds: 1.625,
noiseSensitivity: 0.5,
voiceId: '<string>',
voiceName: '<string>',
voiceLanguage: '<string>',
speed: 1.25,
stability: 0.5,
similarity: 0.5,
voiceInstructions: '<string>',
initialMessage: '<string>',
initialMessageInterruptible: true,
errorMessage: '<string>',
allowInterruptions: true,
silenceTimeoutSeconds: 1805,
conversationFlow: {
version: 1,
turnTimeoutSeconds: 15,
softTimeout: {kind: 'off'},
maxDurationMessage: '',
transcriptionKeywords: ['<string>']
},
allowTextInput: true,
retainRecordingsForever: true,
recordingRetentionDays: 1825,
maxConcurrentSessions: 1,
maxCallDurationMinutes: 60.5,
dailyCallLimit: 1
},
message: '<string>'
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'revision' => 1,
'settings' => [
'duplexVoice' => '<string>',
'model' => '<string>',
'temperature' => 0.5,
'transcriberLanguages' => [
'<string>'
],
'silenceThresholdSeconds' => 1.625,
'noiseSensitivity' => 0.5,
'voiceId' => '<string>',
'voiceName' => '<string>',
'voiceLanguage' => '<string>',
'speed' => 1.25,
'stability' => 0.5,
'similarity' => 0.5,
'voiceInstructions' => '<string>',
'initialMessage' => '<string>',
'initialMessageInterruptible' => true,
'errorMessage' => '<string>',
'allowInterruptions' => true,
'silenceTimeoutSeconds' => 1805,
'conversationFlow' => [
'version' => 1,
'turnTimeoutSeconds' => 15,
'softTimeout' => [
'kind' => 'off'
],
'maxDurationMessage' => '',
'transcriptionKeywords' => [
'<string>'
]
],
'allowTextInput' => true,
'retainRecordingsForever' => true,
'recordingRetentionDays' => 1825,
'maxConcurrentSessions' => 1,
'maxCallDurationMinutes' => 60.5,
'dailyCallLimit' => 1
],
'message' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice"
payload := strings.NewReader("{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.cntillion.com/api/v2/agents/{agentId}/branches/{branchId}/voice")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}")
.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::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"revision\": 1,\n \"settings\": {\n \"duplexVoice\": \"<string>\",\n \"model\": \"<string>\",\n \"temperature\": 0.5,\n \"transcriberLanguages\": [\n \"<string>\"\n ],\n \"silenceThresholdSeconds\": 1.625,\n \"noiseSensitivity\": 0.5,\n \"voiceId\": \"<string>\",\n \"voiceName\": \"<string>\",\n \"voiceLanguage\": \"<string>\",\n \"speed\": 1.25,\n \"stability\": 0.5,\n \"similarity\": 0.5,\n \"voiceInstructions\": \"<string>\",\n \"initialMessage\": \"<string>\",\n \"initialMessageInterruptible\": true,\n \"errorMessage\": \"<string>\",\n \"allowInterruptions\": true,\n \"silenceTimeoutSeconds\": 1805,\n \"conversationFlow\": {\n \"version\": 1,\n \"turnTimeoutSeconds\": 15,\n \"softTimeout\": {\n \"kind\": \"off\"\n },\n \"maxDurationMessage\": \"\",\n \"transcriptionKeywords\": [\n \"<string>\"\n ]\n },\n \"allowTextInput\": true,\n \"retainRecordingsForever\": true,\n \"recordingRetentionDays\": 1825,\n \"maxConcurrentSessions\": 1,\n \"maxCallDurationMinutes\": 60.5,\n \"dailyCallLimit\": 1\n },\n \"message\": \"<string>\"\n}"
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>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}