Recursive OpenAPI-style shape with 'type', 'properties', 'required', 'items', ...etc. Please refer to the OpenAPI Outcome Response Instructions above for more information.
Example:
{ "type": "object", "properties": { "test": { "type": "number", "description": "Hello world from Hamsa AI!" } }, "required": ["test"] }
Set the params you define in the greeting message or preamble fields here, the key is the same as the param and the value is the param value. Press 'Add new property' below to set the param name then press enter, after that add the value.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hamsa API","colors":{"primary":"#1B5E3A","light":"#B4FD83","dark":"#2D7A4F"},"logo":{"light":"https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/logo/hamsa_logo_light.svg?fit=max\u0026auto=format\u0026n=B5KuRhzUCER4_1Wi\u0026q=85\u0026s=2576c2f27fed68b31fa686aca13e6fbf","dark":"https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/logo/hamsa_logo_dark.svg?fit=max\u0026auto=format\u0026n=B5KuRhzUCER4_1Wi\u0026q=85\u0026s=b89ad21e4d97ee72de3045482602bf53"},"favicon":"https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/favicon.svg?fit=max\u0026auto=format\u0026n=B5KuRhzUCER4_1Wi\u0026q=85\u0026s=f369c0501b06a15339575e7c72e2494a","navbar":{"links":[{"href":"https://tryhamsa.com/contact/","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://agents.tryhamsa.com/"}},"footer":{"socials":{"github":"https://github.com/hamsa-ai","linkedin":"https://www.linkedin.com/company/tryhamsa","website":"https://tryhamsa.com"}},"integrations":{"posthog":{"apiKey":"phc_3TCeimn6ufgVchZQ08TCRlIfu7Lwyaa8xGtBA67ym66","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hamsa-452fa79a","hasAudioNarration":false,"actualSubdomain":"hamsa-452fa79a","customDomains":["docs.tryhamsa.com"],"gitSource":{"type":"github","owner":"hamsa-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aba7d75e5024a36fdb35844","collectionId":"530fa5de-69cb-481c-80ed-ee186974aa4b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aba7d75e5024a36fdb35844"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aba7d75e5024a36fdb35844","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":103},{"language":"default","tag":"Agents Platform","count":77},{"language":"default","tag":"Agents","count":25},{"language":"default","tag":"Overview","count":20},{"language":"default","tag":"Flow Agent","count":18},{"language":"default","tag":"Media Platform","count":15},{"language":"default","tag":"Variables","count":13},{"language":"default","tag":"Developers","count":13},{"language":"default","tag":"Web Tools Routes","count":12},{"language":"default","tag":"Nodes","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar>div>div>div>div:nth-child(3)>div{display:none!important}[data-theme=light] .btn-primary,[data-theme=light] .sidebar a.active,[data-theme=light] .sidebar a[aria-current=page],[data-theme=light] [style*=background][style*=\"#B4FD83\"],[data-theme=light] [style*=background][style*=\"rgb(180, 253, 131)\"],[data-theme=light] button[class*=primary],[data-theme=light] nav a.active,[data-theme=light] nav a[aria-current=page]{background-color:#2d7a4f!important;color:#fff!important}[data-theme=dark] .btn-primary,[data-theme=dark] .sidebar a.active,[data-theme=dark] .sidebar a[aria-current=page],[data-theme=dark] [style*=background][style*=\"#B4FD83\"],[data-theme=dark] [style*=background][style*=\"rgb(180, 253, 131)\"],[data-theme=dark] button[class*=primary],[data-theme=dark] nav a.active,[data-theme=dark] nav a[aria-current=page]{background-color:#b4fd83!important;color:#1a1a1a!important}"}],"page":{"pagePath":"api-reference/endpoint/update-voice-agent","slug":"/api-reference/endpoint/update-voice-agent","pageMetadata":{"title":"Update Voice Agent Route","description":null,"deprecated":true,"version":null,"sidebarTitle":"Update voice agent","openapi":"/api-reference/openapi.json patch /v1/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/update-voice-agent","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Voice Agent Route","description":null,"deprecated":true,"version":null,"sidebarTitle":"Update voice agent","openapi":"/api-reference/openapi.json patch /v1/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/update-voice-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update an existing voice agent","deprecated":true,"parameters":["748ffdfb-0f62-469e-bc9c-9a0905c94242"],"requestBody":"32582a0f-3d16-44e6-a641-af6db3fd4538","responses":{"200":"5b0995ec-ca15-41f2-8408-55e059e2d529","400":"c9a3dd92-ea82-4da1-b980-4aaff65bfc4b","401":"a55feaa5-762f-4c91-82f0-c18f95268392","403":"e49ced71-8e91-4a17-9eb2-a8f8be0953b5","404":"fc19972b-a19e-491f-a455-e12f4ba241b1","500":"842d47b0-e6b2-4e3c-9435-7aad1691b892"},"security":["50336a02-0af6-4972-ad1c-34d38d09fe1f"],"x-mint":{"metadata":{"title":"Update Voice Agent Route"},"href":"/api-reference/endpoint/update-voice-agent"},"method":"patch","type":"path","servers":["ff17730e-9c86-4caa-bbcc-7af173285799"],"path":"/v1/voice-agents/{voiceAgentId}","baseUrlOptions":["https://api.tryhamsa.com"],"title":"Update an existing voice agent","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"748ffdfb-0f62-469e-bc9c-9a0905c94242":{"name":"voiceAgentId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"agentName":{"type":"string","uniqueKey":"agentName","typeLabel":"string"},"greetingMessage":{"oneOf":[{"description":"Greeting Message can be customized by adding params like: {{name}}, to make the message more personal!","type":"string","uniqueKey":"greetingMessage.oneOf.0","typeLabel":"string"},{"description":"Greeting Message can be customized by adding params like: {{name}}, to make the message more personal!","type":"null","uniqueKey":"greetingMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"greetingMessage","typeLabel":"string | null"},"greetingMessageType":{"oneOf":[{"type":"string","uniqueKey":"greetingMessageType.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"greetingMessageType.oneOf.1","typeLabel":"null"}],"uniqueKey":"greetingMessageType","typeLabel":"string | null"},"preamble":{"description":"Preamble can be customized by adding params like: {{agentName}}, to make the prompt more specific and context aware!","type":"string","uniqueKey":"preamble","typeLabel":"string"},"lang":{"type":"string","enum":["ar","en"],"uniqueKey":"lang","typeLabel":"enum\u003cstring>"},"pokeMessages":{"description":"The messages to say to the user when he doesn't respond!","type":"array","items":{"type":"string","uniqueKey":"pokeMessages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"pokeMessages","typeLabel":"string[]"},"realTime":{"type":"boolean","uniqueKey":"realTime","typeLabel":"boolean"},"silenceThreshold":{"type":"integer","uniqueKey":"silenceThreshold","typeLabel":"integer"},"interrupt":{"type":"boolean","uniqueKey":"interrupt","typeLabel":"boolean"},"outcome":{"oneOf":[{"description":"A prompt to take the conversation and transform it to anything you like, like creating an article out of the conversation!","type":"string","uniqueKey":"outcome.oneOf.0","typeLabel":"string"},{"description":"A prompt to take the conversation and transform it to anything you like, like creating an article out of the conversation!","type":"null","uniqueKey":"outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"outcome","typeLabel":"string | null"},"outcomeResponseShape":{"type":"object","title":"Outcome Response Schema","description":"Recursive OpenAPI-style shape with 'type', 'properties', 'required', 'items', ...etc. Please refer to the `OpenAPI Outcome Response Instructions` above for more information.","example":{"type":"object","properties":{"test":{"type":"number","description":"Hello world from Hamsa AI!"}},"required":["test"]},"additionalProperties":true,"uniqueKey":"outcomeResponseShape","typeLabel":"Outcome Response Schema · object"},"webhookUrl":{"oneOf":[{"type":"string","format":"uri","example":"https://example.com/webhook","uniqueKey":"webhookUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","example":"https://example.com/webhook","uniqueKey":"webhookUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhookUrl","typeLabel":"string\u003curi> | null"},"webhookAuth":{"type":"object","description":"Authorization header to be sent in this format: `Authorization: [authKey] [authSecret]`","properties":{"authKey":{"oneOf":[{"type":"string","example":"Token","uniqueKey":"webhookAuth.authKey.oneOf.0","typeLabel":"string"},{"type":"null","example":"Token","uniqueKey":"webhookAuth.authKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhookAuth.authKey","typeLabel":"string | null"},"authSecret":{"oneOf":[{"type":"string","example":"Secret","uniqueKey":"webhookAuth.authSecret.oneOf.0","typeLabel":"string"},{"type":"null","example":"Secret","uniqueKey":"webhookAuth.authSecret.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhookAuth.authSecret","typeLabel":"string | null"}},"uniqueKey":"webhookAuth","typeLabel":"object"},"voiceId":{"description":"For trying voices and choosing one by yourself, or event cloning a voice, please visit Hamsa Agents platform voices tab [here](https://agents.tryhamsa.com/app/voices).","type":"string","uniqueKey":"voiceId","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"isTemplate":{"type":"boolean","uniqueKey":"isTemplate","typeLabel":"boolean"},"icon":{"type":"string","uniqueKey":"icon","typeLabel":"string"},"tools":{"type":"object","properties":{"genderDetection":{"type":"boolean","default":false,"uniqueKey":"tools.genderDetection","typeLabel":"boolean"},"smartCallEnd":{"type":"boolean","default":false,"uniqueKey":"tools.smartCallEnd","typeLabel":"boolean"}},"uniqueKey":"tools","typeLabel":"object"},"params":{"description":"Set the params you define in the greeting message or preamble fields here, the key is the same as the param and the value is the param value. Press 'Add new property' below to set the param name then press enter, after that add the value.","type":"object","uniqueKey":"params","typeLabel":"object"},"alignment":{"type":"object","properties":{"greetingMessage":{"type":"string","default":"ltr","uniqueKey":"alignment.greetingMessage","typeLabel":"string"},"preamble":{"type":"string","default":"ltr","uniqueKey":"alignment.preamble","typeLabel":"string"}},"uniqueKey":"alignment","typeLabel":"object"},"knowledgeBaseItemsIds":{"type":"array","items":{"type":"string","uniqueKey":"knowledgeBaseItemsIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"knowledgeBaseItemsIds","typeLabel":"string[]"},"webToolsIds":{"type":"array","items":{"type":"string","uniqueKey":"webToolsIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"webToolsIds","typeLabel":"string[]"},"voiceDictionaryIds":{"type":"array","items":{"type":"string","uniqueKey":"voiceDictionaryIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"voiceDictionaryIds","typeLabel":"string[]"},"userInactivityTimeout":{"type":"number","minimum":5,"maximum":30,"uniqueKey":"userInactivityTimeout","typeLabel":"number"},"maxCallDuration":{"type":"number","minimum":30,"maximum":600,"uniqueKey":"maxCallDuration","typeLabel":"number"},"responseDelay":{"type":"number","minimum":100,"maximum":1500,"uniqueKey":"responseDelay","typeLabel":"number"},"backgroundNoise":{"type":"boolean","uniqueKey":"backgroundNoise","typeLabel":"boolean"},"waitForUserToSpeakFirst":{"type":"integer","minimum":0,"maximum":2,"uniqueKey":"waitForUserToSpeakFirst","typeLabel":"integer"},"thinkingVoice":{"type":"boolean","uniqueKey":"thinkingVoice","typeLabel":"boolean"},"speakerIdentification":{"type":"boolean","uniqueKey":"speakerIdentification","typeLabel":"boolean"},"llmConfig":{"type":"object","description":"Configuration for the LLM (Large Language Model) used by the voice agent","properties":{"provider":{"type":"string","enum":["OpenAI","Gemini","deepmyst","Custom","Groq"],"description":"The LLM provider to use","default":"OpenAI","example":"OpenAI","uniqueKey":"llmConfig.provider","typeLabel":"enum\u003cstring>"},"modelName":{"type":"string","description":"The model name to use. Valid models depend on the provider: OpenAI (GPT-5, GPT-5-Mini, GPT-5-Nano, GPT-4.1, GPT-4.1-Mini, GPT-4.1-Nano, GPT-4o, GPT-4o-mini), Gemini (Gemini 2.5-Pro, Gemini 2.5-Flash, gemini-3-flash-preview), deepmyst (gpt-4.1-optimize, gpt-4.1-mini-optimize), Groq (openai/gpt-oss-120b, openai/gpt-oss-20b)","default":"GPT-4.1","example":"GPT-4.1","uniqueKey":"llmConfig.modelName","typeLabel":"string"},"baseUrl":{"type":"string","description":"Custom base URL for the LLM API. Required when provider is 'Custom'","example":"https://api.custom-llm.com/v1","uniqueKey":"llmConfig.baseUrl","typeLabel":"string"},"apiKey":{"type":"string","description":"API key for authentication with the LLM provider. Required when provider is 'Custom'","example":"sk-...","uniqueKey":"llmConfig.apiKey","typeLabel":"string"},"temperature":{"type":"number","minimum":0,"maximum":1,"description":"Controls randomness in the model's responses. Lower values make output more deterministic, higher values make it more creative. Note: GPT-5, GPT-5-Mini, and GPT-5-Nano models require temperature to be exactly 1.","default":0.2,"example":0.2,"uniqueKey":"llmConfig.temperature","typeLabel":"number"}},"uniqueKey":"llmConfig","typeLabel":"object"},"webToolsOverrides":{"type":"object","uniqueKey":"webToolsOverrides","typeLabel":"object"},"agenticRag":{"type":"boolean","uniqueKey":"agenticRag","typeLabel":"boolean"},"languageDialectSwitcher":{"type":"boolean","uniqueKey":"languageDialectSwitcher","typeLabel":"boolean"},"noiseCancellation":{"type":"string","uniqueKey":"noiseCancellation","typeLabel":"string"},"cancelNoisePer":{"oneOf":[{"type":"string","uniqueKey":"cancelNoisePer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"cancelNoisePer.oneOf.1","typeLabel":"null"}],"uniqueKey":"cancelNoisePer","typeLabel":"string | null"},"minInterruptionDuration":{"type":"number","minimum":0.2,"maximum":1.5,"uniqueKey":"minInterruptionDuration","typeLabel":"number"},"vadActivationThreshold":{"type":"number","minimum":0.2,"maximum":0.9,"uniqueKey":"vadActivationThreshold","typeLabel":"number"},"enableAutoGainControl":{"type":"boolean","uniqueKey":"enableAutoGainControl","typeLabel":"boolean"},"sendDenoisedToStt":{"type":"boolean","uniqueKey":"sendDenoisedToStt","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentName":"\u003cstring>","greetingMessage":"\u003cstring>","greetingMessageType":"\u003cstring>","preamble":"\u003cstring>","pokeMessages":["\u003cstring>"],"realTime":true,"silenceThreshold":123,"interrupt":true,"outcome":"\u003cstring>","outcomeResponseShape":{"type":"object","properties":{"test":{"type":"number","description":"Hello world from Hamsa AI!"}},"required":["test"]},"webhookUrl":"https://example.com/webhook","webhookAuth":{"authKey":"Token","authSecret":"Secret"},"voiceId":"\u003cstring>","description":"\u003cstring>","isTemplate":true,"icon":"\u003cstring>","tools":{"genderDetection":false,"smartCallEnd":false},"params":{},"alignment":{"greetingMessage":"ltr","preamble":"ltr"},"knowledgeBaseItemsIds":["\u003cstring>"],"webToolsIds":["\u003cstring>"],"voiceDictionaryIds":["\u003cstring>"],"userInactivityTimeout":17.5,"maxCallDuration":315,"responseDelay":800,"backgroundNoise":true,"waitForUserToSpeakFirst":1,"thinkingVoice":true,"speakerIdentification":true,"llmConfig":{"provider":"OpenAI","modelName":"GPT-4.1","baseUrl":"https://api.custom-llm.com/v1","apiKey":"sk-...","temperature":0.2},"webToolsOverrides":{},"agenticRag":true,"languageDialectSwitcher":true,"noiseCancellation":"\u003cstring>","cancelNoisePer":"\u003cstring>","minInterruptionDuration":0.85,"vadActivationThreshold":0.55,"enableAutoGainControl":true,"sendDenoisedToStt":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5b0995ec-ca15-41f2-8408-55e059e2d529":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","default":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","default":"success","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"data.id","typeLabel":"string"},"agentName":{"type":"string","uniqueKey":"data.agentName","typeLabel":"string"},"greetingMessage":{"type":"string","uniqueKey":"data.greetingMessage","typeLabel":"string"},"greetingMessageType":{"oneOf":[{"type":"string","enum":["STATIC","PROMPT"],"uniqueKey":"data.greetingMessageType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["STATIC","PROMPT"],"uniqueKey":"data.greetingMessageType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.greetingMessageType","typeLabel":"enum\u003cstring> | null"},"description":{"type":"string","uniqueKey":"data.description","typeLabel":"string"},"preamble":{"type":"string","uniqueKey":"data.preamble","typeLabel":"string"},"lang":{"type":"string","uniqueKey":"data.lang","typeLabel":"string"},"pokeMessages":{"type":"array","items":{"type":"string","uniqueKey":"data.pokeMessages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.pokeMessages","typeLabel":"string[]"},"realTime":{"type":"boolean","uniqueKey":"data.realTime","typeLabel":"boolean"},"silenceThreshold":{"type":"integer","uniqueKey":"data.silenceThreshold","typeLabel":"integer"},"interrupt":{"type":"boolean","uniqueKey":"data.interrupt","typeLabel":"boolean"},"type":{"type":"string","uniqueKey":"data.type","typeLabel":"string"},"outcome":{"oneOf":[{"type":"string","uniqueKey":"data.outcome.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.outcome","typeLabel":"string | null"},"outcomeResponseShape":{"oneOf":[{"type":"object","example":{"type":"object","properties":{"test":{"type":"number","description":"Hello world from Hamsa AI!"}},"required":["test"]},"uniqueKey":"data.outcomeResponseShape.oneOf.0","typeLabel":"object"},{"type":"null","example":{"type":"object","properties":{"test":{"type":"number","description":"Hello world from Hamsa AI!"}},"required":["test"]},"uniqueKey":"data.outcomeResponseShape.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.outcomeResponseShape","typeLabel":"object | null"},"projectId":{"type":"string","uniqueKey":"data.projectId","typeLabel":"string"},"apiKeyId":{"type":"string","uniqueKey":"data.apiKeyId","typeLabel":"string"},"voiceId":{"oneOf":[{"type":"string","uniqueKey":"data.voiceId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.voiceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.voiceId","typeLabel":"string | null"},"voiceRecordId":{"oneOf":[{"type":"string","uniqueKey":"data.voiceRecordId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.voiceRecordId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.voiceRecordId","typeLabel":"string | null"},"voiceRecord":{"oneOf":[{"type":"object","description":"The voice record object which is connected to this agent.","uniqueKey":"data.voiceRecord.oneOf.0","typeLabel":"object"},{"type":"null","description":"The voice record object which is connected to this agent.","uniqueKey":"data.voiceRecord.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.voiceRecord","typeLabel":"object | null"},"collectionId":{"oneOf":[{"type":"string","uniqueKey":"data.collectionId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.collectionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.collectionId","typeLabel":"string | null"},"isTemplate":{"type":"boolean","uniqueKey":"data.isTemplate","typeLabel":"boolean"},"icon":{"oneOf":[{"type":"string","uniqueKey":"data.icon.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.icon","typeLabel":"string | null"},"webhookUrl":{"oneOf":[{"type":"string","format":"uri","example":"https://example.com/webhook","uniqueKey":"data.webhookUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","example":"https://example.com/webhook","uniqueKey":"data.webhookUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.webhookUrl","typeLabel":"string\u003curi> | null"},"webhookAuth":{"type":"object","description":"Authorization header to be sent in this format: `Authorization: [authKey] [authSecret]`","properties":{"authKey":{"oneOf":[{"type":"string","example":"Token","uniqueKey":"data.webhookAuth.authKey.oneOf.0","typeLabel":"string"},{"type":"null","example":"Token","uniqueKey":"data.webhookAuth.authKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.webhookAuth.authKey","typeLabel":"string | null"},"authSecret":{"oneOf":[{"type":"string","example":"Secret","uniqueKey":"data.webhookAuth.authSecret.oneOf.0","typeLabel":"string"},{"type":"null","example":"Secret","uniqueKey":"data.webhookAuth.authSecret.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.webhookAuth.authSecret","typeLabel":"string | null"}},"uniqueKey":"data.webhookAuth","typeLabel":"object"},"params":{"type":"object","description":"The parameters that are created for this agent.","uniqueKey":"data.params","typeLabel":"object"},"alignment":{"type":"object","properties":{"greetingMessage":{"type":"string","uniqueKey":"data.alignment.greetingMessage","typeLabel":"string"},"preamble":{"type":"string","uniqueKey":"data.alignment.preamble","typeLabel":"string"}},"uniqueKey":"data.alignment","typeLabel":"object"},"tools":{"type":"object","properties":{"genderDetection":{"type":"boolean","uniqueKey":"data.tools.genderDetection","typeLabel":"boolean"},"smartCallEnd":{"type":"boolean","uniqueKey":"data.tools.smartCallEnd","typeLabel":"boolean"}},"uniqueKey":"data.tools","typeLabel":"object"},"webToolsIds":{"type":"array","items":{"type":"string","uniqueKey":"data.webToolsIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.webToolsIds","typeLabel":"string[]"},"voiceDictionaryIds":{"type":"array","items":{"type":"string","uniqueKey":"data.voiceDictionaryIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.voiceDictionaryIds","typeLabel":"string[]"},"knowledgeBaseItemsIds":{"type":"array","items":{"type":"string","uniqueKey":"data.knowledgeBaseItemsIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.knowledgeBaseItemsIds","typeLabel":"string[]"},"webToolsOverrides":{"type":"object","uniqueKey":"data.webToolsOverrides","typeLabel":"object"},"userInactivityTimeout":{"type":"number","uniqueKey":"data.userInactivityTimeout","typeLabel":"number"},"maxCallDuration":{"type":"number","uniqueKey":"data.maxCallDuration","typeLabel":"number"},"responseDelay":{"type":"number","uniqueKey":"data.responseDelay","typeLabel":"number"},"backgroundNoise":{"type":"boolean","uniqueKey":"data.backgroundNoise","typeLabel":"boolean"},"waitForUserToSpeakFirst":{"type":"integer","uniqueKey":"data.waitForUserToSpeakFirst","typeLabel":"integer"},"thinkingVoice":{"type":"boolean","uniqueKey":"data.thinkingVoice","typeLabel":"boolean"},"speakerIdentification":{"type":"boolean","uniqueKey":"data.speakerIdentification","typeLabel":"boolean"},"llmConfig":{"type":"object","description":"Configuration for the LLM (Large Language Model) used by the voice agent","properties":{"provider":{"type":"string","enum":["OpenAI","Gemini","deepmyst","Custom","Groq"],"description":"The LLM provider to use","default":"OpenAI","example":"OpenAI","uniqueKey":"data.llmConfig.provider","typeLabel":"enum\u003cstring>"},"modelName":{"type":"string","description":"The model name to use. Valid models depend on the provider: OpenAI (GPT-5, GPT-5-Mini, GPT-5-Nano, GPT-4.1, GPT-4.1-Mini, GPT-4.1-Nano, GPT-4o, GPT-4o-mini), Gemini (Gemini 2.5-Pro, Gemini 2.5-Flash, gemini-3-flash-preview), deepmyst (gpt-4.1-optimize, gpt-4.1-mini-optimize), Groq (openai/gpt-oss-120b, openai/gpt-oss-20b)","default":"GPT-4.1","example":"GPT-4.1","uniqueKey":"data.llmConfig.modelName","typeLabel":"string"},"baseUrl":{"type":"string","description":"Custom base URL for the LLM API. Required when provider is 'Custom'","example":"https://api.custom-llm.com/v1","uniqueKey":"data.llmConfig.baseUrl","typeLabel":"string"},"apiKey":{"type":"string","description":"API key for authentication with the LLM provider. Required when provider is 'Custom'","example":"sk-...","uniqueKey":"data.llmConfig.apiKey","typeLabel":"string"},"temperature":{"type":"number","minimum":0,"maximum":1,"description":"Controls randomness in the model's responses. Lower values make output more deterministic, higher values make it more creative. Note: GPT-5, GPT-5-Mini, and GPT-5-Nano models require temperature to be exactly 1.","default":0.2,"example":0.2,"uniqueKey":"data.llmConfig.temperature","typeLabel":"number"}},"uniqueKey":"data.llmConfig","typeLabel":"object"},"noiseCancellation":{"type":"string","uniqueKey":"data.noiseCancellation","typeLabel":"string"},"cancelNoisePer":{"oneOf":[{"type":"string","uniqueKey":"data.cancelNoisePer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.cancelNoisePer.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.cancelNoisePer","typeLabel":"string | null"},"agenticRag":{"type":"boolean","uniqueKey":"data.agenticRag","typeLabel":"boolean"},"languageDialectSwitcher":{"type":"boolean","uniqueKey":"data.languageDialectSwitcher","typeLabel":"boolean"},"minInterruptionDuration":{"type":"number","uniqueKey":"data.minInterruptionDuration","typeLabel":"number"},"vadActivationThreshold":{"type":"number","uniqueKey":"data.vadActivationThreshold","typeLabel":"number"},"enableAutoGainControl":{"type":"boolean","uniqueKey":"data.enableAutoGainControl","typeLabel":"boolean"},"sendDenoisedToStt":{"type":"boolean","uniqueKey":"data.sendDenoisedToStt","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"success","data":{"id":"\u003cstring>","agentName":"\u003cstring>","greetingMessage":"\u003cstring>","greetingMessageType":"STATIC","description":"\u003cstring>","preamble":"\u003cstring>","lang":"\u003cstring>","pokeMessages":["\u003cstring>"],"realTime":true,"silenceThreshold":123,"interrupt":true,"type":"\u003cstring>","outcome":"\u003cstring>","outcomeResponseShape":{"type":"object","properties":{"test":{"type":"number","description":"Hello world from Hamsa AI!"}},"required":["test"]},"projectId":"\u003cstring>","apiKeyId":"\u003cstring>","voiceId":"\u003cstring>","voiceRecordId":"\u003cstring>","voiceRecord":{},"collectionId":"\u003cstring>","isTemplate":true,"icon":"\u003cstring>","webhookUrl":"https://example.com/webhook","webhookAuth":{"authKey":"Token","authSecret":"Secret"},"params":{},"alignment":{"greetingMessage":"\u003cstring>","preamble":"\u003cstring>"},"tools":{"genderDetection":true,"smartCallEnd":true},"webToolsIds":["\u003cstring>"],"voiceDictionaryIds":["\u003cstring>"],"knowledgeBaseItemsIds":["\u003cstring>"],"webToolsOverrides":{},"userInactivityTimeout":123,"maxCallDuration":123,"responseDelay":123,"backgroundNoise":true,"waitForUserToSpeakFirst":123,"thinkingVoice":true,"speakerIdentification":true,"llmConfig":{"provider":"OpenAI","modelName":"GPT-4.1","baseUrl":"https://api.custom-llm.com/v1","apiKey":"sk-...","temperature":0.2},"noiseCancellation":"\u003cstring>","cancelNoisePer":"\u003cstring>","agenticRag":true,"languageDialectSwitcher":true,"minInterruptionDuration":123,"vadActivationThreshold":123,"enableAutoGainControl":true,"sendDenoisedToStt":true,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c9a3dd92-ea82-4da1-b980-4aaff65bfc4b":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a55feaa5-762f-4c91-82f0-c18f95268392":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e49ced71-8e91-4a17-9eb2-a8f8be0953b5":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fc19972b-a19e-491f-a455-e12f4ba241b1":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"842d47b0-e6b2-4e3c-9435-7aad1691b892":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"50336a02-0af6-4972-ad1c-34d38d09fe1f":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token \u003capi-key>'","scopes":[]}}},"servers":{"ff17730e-9c86-4caa-bbcc-7af173285799":{"url":"https://api.tryhamsa.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token \u003capi-key>'","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token \u003capi-key>'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hamsa-452fa79a","siteName":"Hamsa API","title":"Update Voice Agent Route - Hamsa API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T14:45:18.218Z","originalFileLocation":"api-reference/endpoint/update-voice-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Hamsa API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Voice Agent Route - Hamsa API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hamsa API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hamsa-452fa79a.mintlify.app/_mintlify/api/og/v2?division=Voice+Agents\u0026amp;title=Update+Voice+Agent+Route\u0026amp;theme=36084cdf444b71ec535ab394\u0026amp;signature=26e0de78e06e5a6479ce3aba815ec5af42da99f1bf3a612f9f318a7924331cf6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Voice Agent Route - Hamsa API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hamsa-452fa79a.mintlify.app/_mintlify/api/og/v2?division=Voice+Agents\u0026amp;title=Update+Voice+Agent+Route\u0026amp;theme=36084cdf444b71ec535ab394\u0026amp;signature=26e0de78e06e5a6479ce3aba815ec5af42da99f1bf3a612f9f318a7924331cf6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hamsa-452fa79a/11pr1mz1Eztynfhz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hamsa API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B5E3A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/update-voice-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tryhamsa.com/#organization\",\"name\":\"Hamsa API\",\"url\":\"https://docs.tryhamsa.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hamsa-452fa79a/B5KuRhzUCER4_1Wi/logo/hamsa_logo_light.svg?fit=max\u0026auto=format\u0026n=B5KuRhzUCER4_1Wi\u0026q=85\u0026s=2576c2f27fed68b31fa686aca13e6fbf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tryhamsa.com#website\",\"name\":\"Hamsa API\",\"url\":\"https://docs.tryhamsa.com\",\"publisher\":{\"@id\":\"https://docs.tryhamsa.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent#webpage\",\"url\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent\",\"name\":\"Update Voice Agent Route\",\"dateModified\":\"2026-09-28T14:45:18.218Z\",\"isPartOf\":{\"@id\":\"https://docs.tryhamsa.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deprecated APIs\",\"item\":\"https://docs.tryhamsa.com/api-reference/endpoint/create-voice-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Voice Agents\",\"item\":\"https://docs.tryhamsa.com/api-reference/endpoint/create-voice-agent\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Voice Agent Route\",\"item\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent#apireference\",\"headline\":\"Update Voice Agent Route\",\"name\":\"Update Voice Agent Route\",\"url\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tryhamsa.com/api-reference/endpoint/update-voice-agent#webpage\"},\"dateModified\":\"2026-09-28T14:45:18.218Z\",\"publisher\":{\"@id\":\"https://docs.tryhamsa.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tryhamsa.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hamsa API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hamsa API","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"list-timeline","pages":[{"title":"Overview","href":"/overview/introduction"}]},{"tab":"Text to Speech","icon":"message-waveform","pages":[{"title":"Text to Speech","href":"/text-to-speech/introduction"}]},{"tab":"Speech to Text","icon":"head-side-speak","pages":[{"title":"Speech to Text","href":"/speech-to-text/introduction"}]},{"tab":"Agents Platform","icon":"user-robot","pages":[{"title":"Agents Platform","href":"/agents/dashboard/introduction"}]},{"tab":"Media Platform","icon":"photo-film-music","pages":[{"title":"Media Platform","href":"/media/introduction"}]},{"tab":"Developers","icon":"square-terminal","pages":[{"title":"Developers","href":"/developers/apis/quick-start"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Speech-to-Text Routes","pages":[]},{"group":"Text to Speech Routes","pages":[{"title":"Generate Text to Speech Route","deprecated":null,"version":null,"sidebarTitle":"Generate tts","openapi":"/api-reference/openapi.json post /v1/jobs/text-to-speech","href":"/api-reference/endpoint/generate-tts"},{"title":"Preload Cloned TTS Voice","deprecated":null,"version":null,"sidebarTitle":"Preload cloned tts voice","openapi":"/api-reference/openapi.json post /v2/tts/voices/custom/preload","href":"/api-reference/endpoint/preload-cloned-tts-voice"},{"title":"Create TTS history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/tts/histories","href":"/api-reference/create-tts-history"},{"title":"List TTS histories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/histories","href":"/api-reference/list-tts-histories"},{"title":"Get TTS history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/histories/{id}","href":"/api-reference/get-tts-history"},{"title":"Delete TTS history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/tts/histories/{id}","href":"/api-reference/delete-tts-history"}]},{"group":"Real Time Routes","pages":[{"title":"Generate Text to Speech File Data","deprecated":null,"version":null,"sidebarTitle":"Rt generate tts","openapi":"/api-reference/openapi.json post /v1/realtime/tts","href":"/api-reference/endpoint/rt-generate-tts"},{"title":"Generate Streamed Text to Speech File Data","deprecated":null,"version":null,"sidebarTitle":"Rt generate tts stream","openapi":"/api-reference/openapi.json post /v1/realtime/tts-stream","href":"/api-reference/endpoint/rt-generate-tts-stream"},{"title":"Generate Speech to Text Transcription","deprecated":null,"version":null,"sidebarTitle":"Rt generate stt","openapi":"/api-reference/openapi.json post /v1/realtime/stt","href":"/api-reference/endpoint/rt-generate-stt"}]},{"group":"Phone Numbers Routes","pages":[{"title":"Add Phone Number to a User Route","deprecated":null,"version":null,"sidebarTitle":"Add phone number","openapi":"/api-reference/openapi.json post /v1/voice-agents/phone-number","href":"/api-reference/endpoint/add-phone-number"},{"title":"Get Phone Number by its ID Route","deprecated":null,"version":null,"sidebarTitle":"Get phone number","openapi":"/api-reference/openapi.json get /v1/voice-agents/phone-number","href":"/api-reference/endpoint/get-phone-number"},{"title":"Delete Phone Number","deprecated":null,"version":null,"sidebarTitle":"Delete phone number","openapi":"/api-reference/openapi.json delete /v1/voice-agents/phone-number","href":"/api-reference/endpoint/delete-phone-number"},{"title":"Assign Phone Number to a Voice Agent Route","deprecated":null,"version":null,"sidebarTitle":"Assign phone number","openapi":"/api-reference/openapi.json post /v1/voice-agents/assign-number","href":"/api-reference/endpoint/assign-phone-number"},{"title":"Unassign Phone Number to a Voice Agent Route","deprecated":null,"version":null,"sidebarTitle":"Unassign phone number","openapi":"/api-reference/openapi.json post /v1/voice-agents/unassign","href":"/api-reference/endpoint/unassign-phone-number"},{"title":"List User Phone Numbers Route","deprecated":null,"version":null,"sidebarTitle":"List phone numbers","openapi":"/api-reference/openapi.json get /v1/voice-agents/phone-number/list","href":"/api-reference/endpoint/list-phone-numbers"},{"title":"Create an Outbound Call","deprecated":null,"version":null,"sidebarTitle":"Call phone number","openapi":"/api-reference/openapi.json post /v1/voice-agents/phone-number/call","href":"/api-reference/endpoint/call-phone-number"}]},{"group":"Voice Agents Routes","pages":[{"title":"Clone Voice Agent Route","deprecated":null,"version":null,"sidebarTitle":"Clone voice agent","openapi":"/api-reference/openapi.json post /v1/voice-agents/clone","href":"/api-reference/endpoint/clone-voice-agent"},{"title":"Create Voice Agent","deprecated":null,"version":null,"sidebarTitle":"Create voice agent v2","openapi":"/api-reference/openapi.json post /v2/voice-agents","href":"/api-reference/endpoint/create-voice-agent-v2"},{"title":"List Voice Agents","deprecated":null,"version":null,"sidebarTitle":"List voice agents v2","openapi":"/api-reference/openapi.json get /v2/voice-agents","href":"/api-reference/endpoint/list-voice-agents-v2"},{"title":"Get Voice Agent","deprecated":null,"version":null,"sidebarTitle":"Get voice agent v2","openapi":"/api-reference/openapi.json get /v2/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/get-voice-agent-v2"},{"title":"Update Voice Agent","deprecated":null,"version":null,"sidebarTitle":"Update voice agent v2","openapi":"/api-reference/openapi.json patch /v2/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/update-voice-agent-v2"}]},{"group":"Voice Cloning","pages":[{"title":"List TTS voices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/voices","href":"/api-reference/list-tts-voices"},{"title":"Create TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/tts/voices","href":"/api-reference/create-tts-voice"},{"title":"List dialects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/dialects","href":"/api-reference/list-dialects"},{"title":"Favorite a TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/tts/voices/{id}/favourite","href":"/api-reference/favorite-a-tts-voice"},{"title":"Delete TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/tts/voices/{id}","href":"/api-reference/delete-tts-voice"},{"title":"Get TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/voices/{id}","href":"/api-reference/get-tts-voice"},{"title":"Preview TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/tts/voices/preview","href":"/api-reference/preview-tts-voice"},{"title":"Get default TTS voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tts/voices/default/current","href":"/api-reference/get-default-tts-voice"},{"title":"Extract transcription from voice audio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/tts/voices/extract-transcription","href":"/api-reference/extract-transcription-from-voice-audio"}]},{"group":"Call Conversations","pages":[{"title":"List Call Records (Minimal)","deprecated":null,"version":null,"sidebarTitle":"List minimal calls","openapi":"/api-reference/openapi.json get /v1/voice-agents/conversations/minimal-list","href":"/api-reference/endpoint/list-minimal-calls"},{"title":"Get Conversation by ID","deprecated":null,"version":null,"sidebarTitle":"Get conversation","openapi":"/api-reference/openapi.json get /v1/voice-agents/conversation/{conversationId}","href":"/api-reference/endpoint/get-conversation"},{"title":"Terminate Conversation","deprecated":null,"version":null,"sidebarTitle":"Terminate conversation","openapi":"/api-reference/openapi.json get /v1/voice-agents/conversation/{conversationId}/terminate","href":"/api-reference/endpoint/terminate-conversation"}]},{"group":"Outbound Campaigns","pages":[{"title":"Create Campaign","deprecated":null,"version":null,"sidebarTitle":"Create campaign","openapi":"/api-reference/openapi.json post /v1/voice-agents/campaigns","href":"/api-reference/endpoint/create-campaign"},{"title":"List Campaigns","deprecated":null,"version":null,"sidebarTitle":"List campaigns","openapi":"/api-reference/openapi.json get /v1/voice-agents/campaigns","href":"/api-reference/endpoint/list-campaigns"},{"title":"Get Campaign by ID","deprecated":null,"version":null,"sidebarTitle":"Get campaign","openapi":"/api-reference/openapi.json get /v1/voice-agents/campaigns/{id}","href":"/api-reference/endpoint/get-campaign"},{"title":"Update Campaign Name","deprecated":null,"version":null,"sidebarTitle":"Update campaign","openapi":"/api-reference/openapi.json patch /v1/voice-agents/campaigns/{id}","href":"/api-reference/endpoint/update-campaign"},{"title":"Delete Campaign","deprecated":null,"version":null,"sidebarTitle":"Delete campaign","openapi":"/api-reference/openapi.json delete /v1/voice-agents/campaigns/{id}","href":"/api-reference/endpoint/delete-campaign"},{"title":"Cancel Campaign","deprecated":null,"version":null,"sidebarTitle":"Cancel campaign","openapi":"/api-reference/openapi.json post /v1/voice-agents/campaigns/{id}/cancel","href":"/api-reference/endpoint/cancel-campaign"},{"title":"Retry Campaign","deprecated":null,"version":null,"sidebarTitle":"Retry campaign","openapi":"/api-reference/openapi.json post /v1/voice-agents/campaigns/{id}/retry","href":"/api-reference/endpoint/retry-campaign"},{"title":"Pause Campaign","deprecated":null,"version":null,"sidebarTitle":"Pause campaign","openapi":"/api-reference/openapi.json post /v1/voice-agents/campaigns/{id}/pause","href":"/api-reference/endpoint/pause-campaign"},{"title":"Resume Campaign","deprecated":null,"version":null,"sidebarTitle":"Resume campaign","openapi":"/api-reference/openapi.json post /v1/voice-agents/campaigns/{id}/resume","href":"/api-reference/endpoint/resume-campaign"}]},{"group":"Dictionaries","pages":[{"title":"Create Voice Dictionary","deprecated":null,"version":null,"sidebarTitle":"Create voice dictionary","openapi":"/api-reference/openapi.json post /v1/voice-agents/voice-dictionaries","href":"/api-reference/endpoint/create-voice-dictionary"},{"title":"List Voice Dictionaries","deprecated":null,"version":null,"sidebarTitle":"List voice dictionaries","openapi":"/api-reference/openapi.json get /v1/voice-agents/voice-dictionaries/list","href":"/api-reference/endpoint/list-voice-dictionaries"},{"title":"Get Voice Dictionary by ID","deprecated":null,"version":null,"sidebarTitle":"Get voice dictionary","openapi":"/api-reference/openapi.json get /v1/voice-agents/voice-dictionaries/{id}","href":"/api-reference/endpoint/get-voice-dictionary"},{"title":"Update Voice Dictionary","deprecated":null,"version":null,"sidebarTitle":"Update voice dictionary","openapi":"/api-reference/openapi.json patch /v1/voice-agents/voice-dictionaries/{id}","href":"/api-reference/endpoint/update-voice-dictionary"},{"title":"Toggle Voice Dictionary Activation","deprecated":null,"version":null,"sidebarTitle":"Toggle voice dictionary activation","openapi":"/api-reference/openapi.json post /v1/voice-agents/voice-dictionaries/toggle-activation","href":"/api-reference/endpoint/toggle-voice-dictionary-activation"}]},{"group":"Knowledge Base Routes","pages":[{"title":"Create new knowledge base items.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/voice-agents/knowledge-base","href":"/api-reference/create-new-knowledge-base-items"},{"title":"Update a knowledge base item by Id.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/voice-agents/knowledge-base/{id}","href":"/api-reference/update-a-knowledge-base-item-by-id"},{"title":"Delete Knowledge Base Item","deprecated":null,"version":null,"sidebarTitle":"Delete kb item","openapi":"/api-reference/openapi.json delete /v1/voice-agents/knowledge-base/{id}","href":"/api-reference/endpoint/delete-kb-item"},{"title":"Get Knowledge Base Item by ID","deprecated":null,"version":null,"sidebarTitle":"Get kb item","openapi":"/api-reference/openapi.json get /v1/voice-agents/knowledge-base/{id}","href":"/api-reference/endpoint/get-kb-item"},{"title":"Return a list of Knowledge Base Items.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/voice-agents/knowledge-base/list","href":"/api-reference/return-a-list-of-knowledge-base-items"},{"title":"Toggle activation of a knowledge base item for a voice agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/voice-agents/knowledge-base/toggle-activation","href":"/api-reference/toggle-activation-of-a-knowledge-base-item-for-a-voice-agent"},{"title":"Get Knowledge Base Size Info","deprecated":null,"version":null,"sidebarTitle":"Get kb size info","openapi":"/api-reference/openapi.json get /v1/voice-agents/knowledge-base/size-info","href":"/api-reference/endpoint/get-kb-size-info"},{"title":"Add URL to Knowledge Base Item","deprecated":null,"version":null,"sidebarTitle":"Add url to kb item","openapi":"/api-reference/openapi.json post /v1/voice-agents/knowledge-base/{id}/url","href":"/api-reference/endpoint/add-url-to-kb-item"},{"title":"Delete URL from Knowledge Base Item","deprecated":null,"version":null,"sidebarTitle":"Delete url from kb item","openapi":"/api-reference/openapi.json delete /v1/voice-agents/knowledge-base/{id}/url","href":"/api-reference/endpoint/delete-url-from-kb-item"}]},{"group":"Collections","pages":[{"title":"List Collections","deprecated":null,"version":null,"sidebarTitle":"List collections","openapi":"/api-reference/openapi.json get /v1/voice-agents/collections/list","href":"/api-reference/endpoint/list-collections"},{"title":"Create Collection","deprecated":null,"version":null,"sidebarTitle":"Create collection","openapi":"/api-reference/openapi.json post /v1/voice-agents/collections","href":"/api-reference/endpoint/create-collection"},{"title":"Update Collection","deprecated":null,"version":null,"sidebarTitle":"Update collection","openapi":"/api-reference/openapi.json patch /v1/voice-agents/collections/{id}","href":"/api-reference/endpoint/update-collection"},{"title":"Delete Collection","deprecated":null,"version":null,"sidebarTitle":"Delete collection","openapi":"/api-reference/openapi.json delete /v1/voice-agents/collections/{id}","href":"/api-reference/endpoint/delete-collection"},{"title":"Move Web Tool to Collection","deprecated":null,"version":null,"sidebarTitle":"Move tool to collection","openapi":"/api-reference/openapi.json post /v1/voice-agents/collections/move","href":"/api-reference/endpoint/move-tool-to-collection"}]},{"group":"Web Tools Routes","pages":[{"title":"Get a web tool by ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/voice-agents/web-tool/{id}","href":"/api-reference/get-a-web-tool-by-id"},{"title":"Delete a web tool by Id.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/voice-agents/web-tool/{id}","href":"/api-reference/delete-a-web-tool-by-id"},{"title":"Toggle activation of a web tool for a voice agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/voice-agents/web-tool/toggle-activation","href":"/api-reference/toggle-activation-of-a-web-tool-for-a-voice-agent"},{"title":"Test API Tool Configuration","deprecated":null,"version":null,"sidebarTitle":"Test api tool","openapi":"/api-reference/openapi.json post /v1/voice-agents/web-tool/test-api-tool","href":"/api-reference/endpoint/test-api-tool"},{"title":"Create Web Tool","deprecated":null,"version":null,"sidebarTitle":"Create web tool","openapi":"/api-reference/openapi.json post /v2/voice-agents/web-tool","href":"/api-reference/endpoint/v2/create-web-tool"},{"title":"List Web Tools","deprecated":null,"version":null,"sidebarTitle":"List web tools","openapi":"/api-reference/openapi.json get /v2/voice-agents/web-tool/list","href":"/api-reference/endpoint/v2/list-web-tools"},{"title":"Update Web Tool","deprecated":null,"version":null,"sidebarTitle":"Update web tool","openapi":"/api-reference/openapi.json patch /v2/voice-agents/web-tool/{id}","href":"/api-reference/endpoint/v2/update-web-tool"},{"title":"Check Newer Versions","deprecated":null,"version":null,"sidebarTitle":"Version check web tools","openapi":"/api-reference/openapi.json post /v2/voice-agents/web-tool/version-check","href":"/api-reference/endpoint/v2/version-check-web-tools"}]},{"group":"Secrets","pages":[{"title":"Create Secret","deprecated":null,"version":null,"sidebarTitle":"Create secret","openapi":"/api-reference/openapi.json post /v1/projects/secrets","href":"/api-reference/endpoint/create-secret"},{"title":"List Secrets","deprecated":null,"version":null,"sidebarTitle":"List secrets","openapi":"/api-reference/openapi.json get /v1/projects/secrets/list","href":"/api-reference/endpoint/list-secrets"},{"title":"Update Secret","deprecated":null,"version":null,"sidebarTitle":"Update secret","openapi":"/api-reference/openapi.json patch /v1/projects/secrets/{id}","href":"/api-reference/endpoint/update-secret"},{"title":"Delete Secret","deprecated":null,"version":null,"sidebarTitle":"Delete secret","openapi":"/api-reference/openapi.json delete /v1/projects/secrets/{id}","href":"/api-reference/endpoint/delete-secret"}]},{"group":"AI Docs Routes","pages":[{"title":"Create AI Content Route","deprecated":null,"version":null,"sidebarTitle":"Post ai content","openapi":"/api-reference/openapi.json post /v1/jobs/ai-content","href":"/api-reference/endpoint/post-ai-content"},{"title":"Get AI Content Route","deprecated":null,"version":null,"sidebarTitle":"Get ai content","openapi":"/api-reference/openapi.json get /v1/jobs/ai-content","href":"/api-reference/endpoint/get-ai-content"},{"title":"Create Customized AI Content Route","deprecated":null,"version":null,"sidebarTitle":"Custom ai content","openapi":"/api-reference/openapi.json post /v1/jobs/ai-content/custom","href":"/api-reference/endpoint/custom-ai-content"},{"title":"Get AI Content Cost Estimate Route","deprecated":null,"version":null,"sidebarTitle":"Ai content estimate","openapi":"/api-reference/openapi.json get /v1/jobs/ai-content/estimate","href":"/api-reference/endpoint/ai-content-estimate"},{"title":"Generate AI Content","deprecated":null,"version":null,"sidebarTitle":"Generate transcription ai content v2","openapi":"/api-reference/openapi.json post /v2/jobs/generate-transcription-ai-content","href":"/api-reference/endpoint/generate-transcription-ai-content-v2"}]},{"group":"Jobs Routes","pages":[{"title":"Get Jobs List","deprecated":null,"version":null,"sidebarTitle":"Get jobs list","openapi":"/api-reference/openapi.json post /v1/jobs/all","href":"/api-reference/endpoint/get-jobs-list"},{"title":"Get Job Details By Id","deprecated":null,"version":null,"sidebarTitle":"Get job by id","openapi":"/api-reference/openapi.json get /v1/jobs","href":"/api-reference/endpoint/get-job-by-id"},{"title":"List Jobs","deprecated":null,"version":null,"sidebarTitle":"List jobs v2","openapi":"/api-reference/openapi.json get /v2/jobs","href":"/api-reference/endpoint/list-jobs-v2"},{"title":"Get Single Job","deprecated":null,"version":null,"sidebarTitle":"Get job v2","openapi":"/api-reference/openapi.json get /v2/jobs/view/{id}","href":"/api-reference/endpoint/get-job-v2"},{"title":"Update Job Title","deprecated":null,"version":null,"sidebarTitle":"Update job title v2","openapi":"/api-reference/openapi.json patch /v2/jobs/{id}","href":"/api-reference/endpoint/update-job-title-v2"},{"title":"Delete Job","deprecated":null,"version":null,"sidebarTitle":"Delete job v2","openapi":"/api-reference/openapi.json delete /v2/jobs/{id}","href":"/api-reference/endpoint/delete-job-v2"}]},{"group":"Project Routes","pages":[{"title":"Get Project By API Key","deprecated":null,"version":null,"sidebarTitle":"Get project by api key","openapi":"/api-reference/openapi.json get /v1/projects/by-api-key","href":"/api-reference/endpoint/get-project-by-api-key"}]},{"group":"API Statistics Routes","pages":[{"title":"Get Usage Statistics Numbers","deprecated":null,"version":null,"sidebarTitle":"Statistics numbers","openapi":"/api-reference/openapi.json get /v1/projects/statistics/numbers","href":"/api-reference/endpoint/statistics-numbers"},{"title":"Get Usage Statistics Chart","deprecated":null,"version":null,"sidebarTitle":"Statistics chart","openapi":"/api-reference/openapi.json get /v1/projects/statistics/chart","href":"/api-reference/endpoint/statistics-chart"}]},{"group":"Agents Analytics and Performance Metrics","pages":[{"title":"Get Overview Analytics","deprecated":null,"version":null,"sidebarTitle":"Get overview analytics","openapi":"/api-reference/openapi.json get /v1/agent-analytics/overview","href":"/api-reference/endpoint/get-overview-analytics"},{"title":"Get Performance Analytics","deprecated":null,"version":null,"sidebarTitle":"Get performance analytics","openapi":"/api-reference/openapi.json get /v1/agent-analytics/performance","href":"/api-reference/endpoint/get-performance-analytics"},{"title":"Get Satisfaction and Outcome Analytics","deprecated":null,"version":null,"sidebarTitle":"Get satisfaction analytics","openapi":"/api-reference/openapi.json get /v1/agent-analytics/satisfaction","href":"/api-reference/endpoint/get-satisfaction-analytics"}]},{"group":"Exporting Conversations","pages":[{"title":"Export Conversations","deprecated":null,"version":null,"sidebarTitle":"Export conversations","openapi":"/api-reference/openapi.json get /v1/agent-analytics/conversations/export","href":"/api-reference/endpoint/export-conversations"}]},{"group":"Exporting Conversations","pages":[{"title":"Get Call Log by ID","deprecated":null,"version":null,"sidebarTitle":"Get call log","openapi":"/api-reference/openapi.json get /v1/agent-analytics/logs/{id}","href":"/api-reference/endpoint/get-call-log"},{"title":"List Call Logs","deprecated":null,"version":null,"sidebarTitle":"List call logs","openapi":"/api-reference/openapi.json get /v1/agent-analytics/logs","href":"/api-reference/endpoint/list-call-logs"}]},{"group":"Deprecated APIs","pages":[{"group":"Voice Agents","expanded":true,"pages":[{"title":"Create Voice Agent Route","description":"Create a new voice agent to start using our powerful and robust voice assistant feature. This route requires an API key for authentication.","deprecated":true,"version":null,"sidebarTitle":"Create voice agent","openapi":"/api-reference/openapi.json post /v1/voice-agents","href":"/api-reference/endpoint/create-voice-agent"},{"title":"Update Voice Agent Route","deprecated":true,"version":null,"sidebarTitle":"Update voice agent","openapi":"/api-reference/openapi.json patch /v1/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/update-voice-agent"},{"title":"Get Voice Agents List Route","description":null,"deprecated":true,"version":null,"sidebarTitle":"Get all voice agents","openapi":"/api-reference/openapi.json get /v1/voice-agents","href":"/api-reference/endpoint/get-all-voice-agents"},{"title":"Get A Voice Agent By Id Route","deprecated":true,"version":null,"sidebarTitle":"Get voice agent by id","openapi":"/api-reference/openapi.json get /v1/voice-agents/{voiceAgentId}","href":"/api-reference/endpoint/get-voice-agent-by-id"}]},{"group":"Voice Agents Conversations Routes","expanded":true,"pages":[{"title":"Start a Call for a Conversation Route","deprecated":true,"version":null,"sidebarTitle":"Start a call","openapi":"/api-reference/openapi.json post /v1/voice-agents/call","href":"/api-reference/endpoint/start-a-call"}]},{"group":"Web Tools Routes","expanded":true,"pages":[{"title":"Create a new web tool.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v1/voice-agents/web-tool","href":"/api-reference/create-a-new-web-tool"},{"title":"Update a web tool by Id.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json patch /v1/voice-agents/web-tool/{id}","href":"/api-reference/update-a-web-tool-by-id"},{"title":"Return a list of Web Tools.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v1/voice-agents/web-tool/list","href":"/api-reference/return-a-list-of-web-tools"},{"title":"Check Web Tool Version Updates","deprecated":true,"version":null,"sidebarTitle":"Version check","openapi":"/api-reference/openapi.json post /v1/voice-agents/web-tool/version-check","href":"/api-reference/endpoint/version-check"}]}]}]},{"tab":"WebSocket API","icon":"rocket-vertical","pages":[{"title":"WebSocket API","href":"/websocket/websocket-api"}]},{"tab":"Changelog","icon":"rectangle-history-circle-user","pages":[{"title":"Changelog","href":"/changelog/main"}]}]},"title":"Update Voice Agent Route - Hamsa API","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}