{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
This endpoint allows you to update an existing AI assistant’s configuration. All fields are optional - only provide the fields you want to update.
Path Parameters
integer
required
The unique identifier of the assistant to update
Request Body
Core Fields
string
The name of the assistant (max 255 characters)
integer
The voice ID to use for the assistant. Use the Get Voices endpoint with the mode parameter to get compatible voices for your engine mode.
integer
The language ID for the assistant. Use the Get Languages endpoint to get available languages.
string
The assistant type. Options: inbound, outbound
string
The engine mode. Options: pipeline, multimodal, dualplex
Changing the mode will reset mode-specific settings to defaults for the new mode.
string
The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)
string
The initial message the assistant will speak when the call starts (max 200 characters)
string
The system prompt that defines the assistant’s behavior and personality
Mode-Specific Fields
integer
The LLM model ID to use. Only applies to pipeline mode.Use the Get Models endpoint to get available models.
integer
The multimodal model ID. Only applies to multimodal and dualplex modes.Use the Get Models endpoint to get available multimodal models.
integer
Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to null to remove.
number
Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to null for auto.
Secondary Languages
integer[]
Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array [] to remove all secondary languages.
"secondary_language_ids": [2, 3, 4]
Knowledgebase Settings
integer
The knowledgebase ID to attach. Set to null to remove knowledgebase.
string
How to use the knowledgebase. Options:
function_call - AI calls a function to search (required for multimodal/dualplex)
prompt - Knowledge is injected into prompt (pipeline only)
Phone Number
integer
The ID of a phone number to assign. Set to null to unassign. Must belong to your account.
For inbound assistants, the phone number cannot be a Caller ID type and cannot be already assigned to another inbound assistant.
Custom Mid-Call Tools
integer[]
Array of custom mid-call tool IDs to sync. Replaces all existing tool assignments. Pass an empty array [] to remove all tools. Each tool must belong to your account.
"tool_ids": [1, 5, 12]
Built-in Tools
array
Array of built-in tools. Replaces all existing built-in tools. Pass an empty array [] to remove all tools.
Show Tool types
call_transfer - Transfer the call to another phone number
phone_number (required): Phone number to transfer to
description: When to transfer the call
custom: If true, AI can determine transfer number dynamically
timezone: Timezone for transfer availability
warm_transfer: Send a message to the customer before transferring (default: false)
warm_transfer_message: Prompt telling the AI what to say before transferring (e.g., “Tell the customer that the call is being transferred.”)
warm_call_transfer - Warm transfer with supervisor briefing
supervisor_phone (required): Phone number to dial for the warm transfer (e.g., “+14155552001”). If custom_sip is enabled, this is a SIP address or internal extension instead.
outbound_phone_id (required): ID of the phone number used to dial the supervisor.
description (required): When to transfer — describes when the AI should initiate the warm transfer (e.g., “Transfer the call to a human supervisor when the customer requests to speak with a real person.”)
custom_sip: Enable to enter a custom SIP address or internal extension instead of a phone number (default: false)
caller_id_mode: What phone number the supervisor sees when receiving the call. Options: outbound_number (default — shows the outbound phone number), customer_number (shows the caller’s number), custom (shows a custom number)
custom_caller_id: Custom phone number shown to supervisor. Only used when caller_id_mode is custom.
hold_music: Audio played to the caller while on hold. Options: hold_music (default — plays default hold music), none (silence, no music)
hold_music_volume: Volume level for hold music, 0-100 (default: 80)
hold_message: Message spoken to caller before placing them on hold (default: “Please hold while I connect you with a supervisor.”)
summary_instructions: Instructions for how the AI should brief the supervisor about the call (default: “Introduce the conversation from your perspective:\n- WHO is calling (name, company if mentioned)\n- WHY they called (their goal or problem)\n- WHY a human is needed at this point\n\nKeep it brief (2-3 sentences).”)
briefing_initial_message: The first message the AI says to the supervisor when they answer (default: “Hello! I have a caller on the line who needs your assistance. May I brief you on the situation?”)
connected_message: Message spoken to caller after supervisor is connected (default: “You are now connected with a supervisor. I’ll leave you to it.”)
end_call - End the call programmatically
description: When the AI should end the call
dtmf_input - Send DTMF tones (keypad input)
description: When to use DTMF input (for IVR navigation)
collect_keypad - Collect keypad input from the caller
timeout: Seconds to wait for input, 1-30 (default: 5)
stop_key: Key that ends input. Options: # (default), *
calendar_integration - Schedule appointments via Cal.com
calcom_api_key (required): Your Cal.com API key
calcom_event_slug (required): The event type slug from Cal.com
calcom_team_slug: Team slug if the event belongs to a Cal.com team
calcom_endpoint: Cal.com API region. Options: us (default — https://api.cal.com), eu (https://api.cal.eu), custom (uses calcom_custom_endpoint)
calcom_custom_endpoint: Custom Cal.com API base URL. Only used when calcom_endpoint is custom (e.g., https://my-calcom-instance.com).
calcom_booking_fields: Array of custom booking fields for the event. Each field has:
slug (required): Field identifier
type (required): Field type (e.g., “text”, “email”, “phone”, “select”)
label (required): Display label
required: Whether the field is required (default: false)
options: Array of options for select fields
description: When to offer scheduling
"tools": [ { "type": "dtmf_input", "description": "Navigate IVR when needed" }, { "type": "warm_call_transfer", "supervisor_phone": "+1234567890", "outbound_phone_id": 7, "description": "Transfer the call to a human supervisor when the customer requests to speak with a real person.", "custom_sip": false, "caller_id_mode": "outbound_number", "hold_music": "hold_music", "hold_music_volume": 80, "hold_message": "Please hold while I connect you with a supervisor.", "summary_instructions": "Introduce the conversation from your perspective:\n- WHO is calling (name, company if mentioned)\n- WHY they called (their goal or problem)\n- WHY a human is needed at this point\n\nKeep it brief (2-3 sentences).", "briefing_initial_message": "Hello! I have a caller on the line who needs your assistance. May I brief you on the situation?", "connected_message": "You are now connected with a supervisor. I'll leave you to it." }, { "type": "collect_keypad", "timeout": 5, "stop_key": "#" }, { "type": "end_call", "description": "End call when done" }]
Voice and TTS Settings
boolean
Whether to enable emotional text-to-speech synthesis
number
Voice stability setting (0-1). Higher = more consistent voice
number
Voice similarity setting (0-1). Higher = closer to original voice
number
Speech speed multiplier (0.7-1.2)
number
LLM temperature setting (0-1). Lower = more deterministic
integer
Custom TTS provider ID. Set to null to use language default. Use the Get Synthesizer Providers endpoint to discover available providers.
integer
Custom STT provider ID. Pipeline mode only. Set to null to use language default. Use the Get Transcriber Providers endpoint to discover available providers.
Call Behavior Settings
boolean
Whether to allow caller interruptions.
Cannot be disabled for multimodal and dualplex modes.
boolean
Whether to use filler audio during processing.
Only available for pipeline mode.
object
Custom filler word profiles per category. Replaces existing filler config. Each category is an array of short phrases.
positive: Filler words for positive/affirmative responses
negative: Filler words for negative/neutral responses
question: Filler words when processing a question
neutral: Filler words for neutral acknowledgments
"filler_config": { "positive": ["Great!", "Perfect!"], "negative": ["Hmm.", "I see."], "question": ["Good question.", "Let me check."], "neutral": ["Ok.", "Noted."]}
boolean
Whether to record the call
boolean
Whether to enable noise cancellation
boolean
If true, the assistant waits for the customer to speak first
Timing Settings
integer
Maximum call duration in seconds (20-1200)
integer
Maximum silence duration before re-engagement in seconds (1-360)
integer
Maximum silence at call start before ending (1-120 seconds). Set to null to disable.
integer
Maximum ringing time before giving up (1-60 seconds)
Re-engagement Settings
integer
Re-engagement interval in seconds (7-600)
string
Custom prompt for re-engagement messages (max 1000 characters). Set to null to use default.
Voicemail Settings
boolean
Whether to end call when voicemail is detected
string
Message to leave on voicemail before hanging up (max 1000 characters). Set to null to disable.
Endpoint Detection
string
Voice activity detection type. Options: vad, ai
number
Endpoint sensitivity level (0-5)
number
Interrupt sensitivity level (0-5)
integer
Minimum words before interruption is allowed (0-10). Set to null to disable.
{ "reengagement_interval": 15, "reengagement_prompt": "Are you still there? I'm here to help.", "end_call_on_voicemail": true, "voice_mail_message": "Hello, please call us back at your convenience."}
{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
Notes
Only the fields you provide in the request body will be updated
To remove optional fields, explicitly set them to null
To clear arrays (tools, secondary languages), pass an empty array []
The assistant must belong to the authenticated user
Use the Get Voices endpoint with mode parameter to get compatible voices
For multimodal/dualplex modes, knowledgebase_mode must be function_call
For multimodal/dualplex modes, allow_interruptions cannot be disabled
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Aiplocalls","colors":{"primary":"#06df4b","light":"#06df4b","dark":"#65fe50"},"favicon":"https://mintcdn.com/aiployees/rBUrtDuuZAFlKDQw/favicon.png?fit=max\u0026auto=format\u0026n=rBUrtDuuZAFlKDQw\u0026q=85\u0026s=e9ebaee2fe07915e0201ecd6450b8b64","logo":{"light":"https://mintcdn.com/aiployees/3FOzBJ8Q00Sw5bs2/resources/logo/light.png?fit=max\u0026auto=format\u0026n=3FOzBJ8Q00Sw5bs2\u0026q=85\u0026s=4d32650a4d4f842f31ed7fb21c04a457","dark":"https://mintcdn.com/aiployees/3FOzBJ8Q00Sw5bs2/resources/logo/dark.png?fit=max\u0026auto=format\u0026n=3FOzBJ8Q00Sw5bs2\u0026q=85\u0026s=41ea785a431575e9ea86bb8afd61bbff"},"api":{"mdx":{"server":"https://call.aiployees.com/api/","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Начало","href":"https://aiplocalls.com"},{"label":"Поддръжка","href":"support@aiployees.com"}],"primary":{"type":"button","label":"Табло","href":"https://call.aiployees.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/aiployees"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aiployees","hasAudioNarration":false,"actualSubdomain":"aiployees","customDomains":["docs.aiployees.com"],"gitSource":{"type":"github","owner":"humanaizr","repo":"aiplocalls-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b1e29ffae5051c3ff1cd"},"entitlements":{},"buildId":"6afe5551657074bcb69e9df4","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Ръководство за платформата","count":239},{"language":"default","tag":"API справочник","count":68},{"language":"default","tag":"AI Assistants Overview","count":20},{"language":"default","tag":"Преглед на AI асистенти","count":20},{"language":"default","tag":"Assistants","count":16},{"language":"default","tag":"Асистенти","count":16},{"language":"default","tag":"Отстраняване на проблеми и ЧЗВ","count":12},{"language":"default","tag":"Troubleshooting \u0026 FAQs","count":12},{"language":"default","tag":"Knowledgebases","count":10},{"language":"default","tag":"WhatsApp","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/assistants/update-assistant","slug":"/api-reference/assistants/update-assistant","pageMetadata":{"title":"Update assistant","api":"PUT /user/assistant/{id}","description":"Update an existing AI assistant's configuration","href":"/api-reference/assistants/update-assistant"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an existing AI assistant’s configuration\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to update an existing AI assistant’s configuration. All fields are optional - only provide the fields you want to update.`}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`integer`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique identifier of the assistant to update`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(Heading,{level:`4`,id:`core-fields`,children:`Core Fields`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the assistant (max 255 characters)`})}),`\n`,_jsx(ParamField,{body:`voice_id`,type:`integer`,id:`param-voice-id`,children:_jsxs(_components.p,{children:[`The voice ID to use for the assistant. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-voices`,children:`Get Voices`}),` endpoint with the `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices for your engine mode.`]})}),`\n`,_jsx(ParamField,{body:`language_id`,type:`integer`,id:`param-language-id`,children:_jsxs(_components.p,{children:[`The language ID for the assistant. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-languages`,children:`Get Languages`}),` endpoint to get available languages.`]})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`The assistant type. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`})]})}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,id:`param-mode`,children:[_jsxs(_components.p,{children:[`The engine mode. Options: `,_jsx(_components.code,{children:`pipeline`}),`, `,_jsx(_components.code,{children:`multimodal`}),`, `,_jsx(_components.code,{children:`dualplex`})]}),_jsx(Warning,{children:_jsx(_components.p,{children:`Changing the mode will reset mode-specific settings to defaults for the new mode.`})})]}),`\n`,_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)`})}),`\n`,_jsx(ParamField,{body:`initial_message`,type:`string`,id:`param-initial-message`,children:_jsx(_components.p,{children:`The initial message the assistant will speak when the call starts (max 200 characters)`})}),`\n`,_jsx(ParamField,{body:`system_prompt`,type:`string`,id:`param-system-prompt`,children:_jsx(_components.p,{children:`The system prompt that defines the assistant’s behavior and personality`})}),`\n`,_jsx(Heading,{level:`4`,id:`mode-specific-fields`,children:`Mode-Specific Fields`}),`\n`,_jsxs(ParamField,{body:`llm_model_id`,type:`integer`,id:`param-llm-model-id`,children:[_jsxs(_components.p,{children:[`The LLM model ID to use. Only applies to `,_jsx(_components.code,{children:`pipeline`}),` mode.`]}),_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-models`,children:`Get Models`}),` endpoint to get available models.`]})]}),`\n`,_jsxs(ParamField,{body:`multimodal_model_id`,type:`integer`,id:`param-multimodal-model-id`,children:[_jsxs(_components.p,{children:[`The multimodal model ID. Only applies to `,_jsx(_components.code,{children:`multimodal`}),` and `,_jsx(_components.code,{children:`dualplex`}),` modes.`]}),_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-models`,children:`Get Models`}),` endpoint to get available multimodal models.`]})]}),`\n`,_jsx(ParamField,{body:`chat_llm_fallback_id`,type:`integer`,id:`param-chat-llm-fallback-id`,children:_jsxs(_components.p,{children:[`Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to `,_jsx(_components.code,{children:`null`}),` to remove.`]})}),`\n`,_jsx(ParamField,{body:`turn_detection_threshold`,type:`number`,id:`param-turn-detection-threshold`,children:_jsxs(_components.p,{children:[`Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to `,_jsx(_components.code,{children:`null`}),` for auto.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`secondary-languages`,children:`Secondary Languages`}),`\n`,_jsxs(ParamField,{body:`secondary_language_ids`,type:`integer[]`,id:`param-secondary-language-ids`,children:[_jsxs(_components.p,{children:[`Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all secondary languages.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"secondary_language_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`knowledgebase-settings`,children:`Knowledgebase Settings`}),`\n`,_jsx(ParamField,{body:`knowledgebase_id`,type:`integer`,id:`param-knowledgebase-id`,children:_jsxs(_components.p,{children:[`The knowledgebase ID to attach. Set to `,_jsx(_components.code,{children:`null`}),` to remove knowledgebase.`]})}),`\n`,_jsxs(ParamField,{body:`knowledgebase_mode`,type:`string`,id:`param-knowledgebase-mode`,children:[_jsx(_components.p,{children:`How to use the knowledgebase. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`function_call`}),` - AI calls a function to search (required for multimodal/dualplex)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`prompt`}),` - Knowledge is injected into prompt (pipeline only)`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`4`,id:`phone-number`,children:`Phone Number`}),`\n`,_jsxs(ParamField,{body:`phone_number_id`,type:`integer`,id:`param-phone-number-id`,children:[_jsxs(_components.p,{children:[`The ID of a phone number to assign. Set to `,_jsx(_components.code,{children:`null`}),` to unassign. Must belong to your account.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`inbound`}),` assistants, the phone number cannot be a Caller ID type and cannot be already assigned to another inbound assistant.`]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`custom-mid-call-tools`,children:`Custom Mid-Call Tools`}),`\n`,_jsxs(ParamField,{body:`tool_ids`,type:`integer[]`,id:`param-tool-ids`,children:[_jsxs(_components.p,{children:[`Array of custom mid-call tool IDs to sync. `,_jsx(_components.strong,{children:`Replaces all existing tool assignments.`}),` Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all tools. Each tool must belong to your account.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tool_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`built-in-tools`,children:`Built-in Tools`}),`\n`,_jsxs(ParamField,{body:`tools`,type:`array`,id:`param-tools`,children:[_jsxs(_components.p,{children:[`Array of built-in tools. `,_jsx(_components.strong,{children:`Replaces all existing built-in tools.`}),` Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all tools.`]}),_jsxs(Expandable,{title:`Tool types`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`call_transfer`}),` - Transfer the call to another phone number`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`phone_number`}),` (required): Phone number to transfer to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to transfer the call`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`custom`}),`: If true, AI can determine transfer number dynamically`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`timezone`}),`: Timezone for transfer availability`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`warm_transfer`}),`: Send a message to the customer before transferring (default: `,_jsx(_components.code,{children:`false`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`warm_transfer_message`}),`: Prompt telling the AI what to say before transferring (e.g., “Tell the customer that the call is being transferred.”)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`warm_call_transfer`}),` - Warm transfer with supervisor briefing`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`supervisor_phone`}),` (required): Phone number to dial for the warm transfer (e.g., “+14155552001”). If `,_jsx(_components.code,{children:`custom_sip`}),` is enabled, this is a SIP address or internal extension instead.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`outbound_phone_id`}),` (required): ID of the phone number used to dial the supervisor.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),` (required): `,_jsx(_components.strong,{children:`When to transfer`}),` — describes when the AI should initiate the warm transfer (e.g., “Transfer the call to a human supervisor when the customer requests to speak with a real person.”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`custom_sip`}),`: Enable to enter a custom SIP address or internal extension instead of a phone number (default: `,_jsx(_components.code,{children:`false`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`caller_id_mode`}),`: What phone number the supervisor sees when receiving the call. Options: `,_jsx(_components.code,{children:`outbound_number`}),` (default — shows the outbound phone number), `,_jsx(_components.code,{children:`customer_number`}),` (shows the caller’s number), `,_jsx(_components.code,{children:`custom`}),` (shows a custom number)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`custom_caller_id`}),`: Custom phone number shown to supervisor. Only used when `,_jsx(_components.code,{children:`caller_id_mode`}),` is `,_jsx(_components.code,{children:`custom`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hold_music`}),`: Audio played to the caller while on hold. Options: `,_jsx(_components.code,{children:`hold_music`}),` (default — plays default hold music), `,_jsx(_components.code,{children:`none`}),` (silence, no music)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hold_music_volume`}),`: Volume level for hold music, 0-100 (default: `,_jsx(_components.code,{children:`80`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hold_message`}),`: Message spoken to caller before placing them on hold (default: “Please hold while I connect you with a supervisor.”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`summary_instructions`}),`: Instructions for how the AI should brief the supervisor about the call (default: “Introduce the conversation from your perspective:\\\\n- WHO is calling (name, company if mentioned)\\\\n- WHY they called (their goal or problem)\\\\n- WHY a human is needed at this point\\\\n\\\\nKeep it brief (2-3 sentences).”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`briefing_initial_message`}),`: The first message the AI says to the supervisor when they answer (default: “Hello! I have a caller on the line who needs your assistance. May I brief you on the situation?”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connected_message`}),`: Message spoken to caller after supervisor is connected (default: “You are now connected with a supervisor. I’ll leave you to it.”)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`end_call`}),` - End the call programmatically`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When the AI should end the call`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`dtmf_input`}),` - Send DTMF tones (keypad input)`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to use DTMF input (for IVR navigation)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`collect_keypad`}),` - Collect keypad input from the caller`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`timeout`}),`: Seconds to wait for input, 1-30 (default: 5)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`stop_key`}),`: Key that ends input. Options: `,_jsx(_components.code,{children:`#`}),` (default), `,_jsx(_components.code,{children:`*`})]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`calendar_integration`}),` - Schedule appointments via Cal.com`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_api_key`}),` (required): Your Cal.com API key`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_event_slug`}),` (required): The event type slug from Cal.com`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_team_slug`}),`: Team slug if the event belongs to a Cal.com team`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_endpoint`}),`: Cal.com API region. Options: `,_jsx(_components.code,{children:`us`}),` (default — `,_jsx(_components.code,{children:`https://api.cal.com`}),`), `,_jsx(_components.code,{children:`eu`}),` (`,_jsx(_components.code,{children:`https://api.cal.eu`}),`), `,_jsx(_components.code,{children:`custom`}),` (uses `,_jsx(_components.code,{children:`calcom_custom_endpoint`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_custom_endpoint`}),`: Custom Cal.com API base URL. Only used when `,_jsx(_components.code,{children:`calcom_endpoint`}),` is `,_jsx(_components.code,{children:`custom`}),` (e.g., `,_jsx(_components.code,{children:`https://my-calcom-instance.com`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_booking_fields`}),`: Array of custom booking fields for the event. Each field has:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`slug`}),` (required): Field identifier`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`type`}),` (required): Field type (e.g., “text”, “email”, “phone”, “select”)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`label`}),` (required): Display label`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`required`}),`: Whether the field is required (default: `,_jsx(_components.code,{children:`false`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`options`}),`: Array of options for select fields`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to offer scheduling`]}),`\n`]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dtmf_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Navigate IVR when needed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"warm_call_transfer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"supervisor_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outbound_phone_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transfer the call to a human supervisor when the customer requests to speak with a real person.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"custom_sip\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"caller_id_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outbound_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hold_music\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hold_music\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hold_music_volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`80`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hold_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please hold while I connect you with a supervisor.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary_instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Introduce the conversation from your perspective:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`- WHO is calling (name, company if mentioned)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`- WHY they called (their goal or problem)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`- WHY a human is needed at this point`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Keep it brief (2-3 sentences).\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"briefing_initial_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello! I have a caller on the line who needs your assistance. May I brief you on the situation?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connected_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are now connected with a supervisor. I'll leave you to it.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"collect_keypad\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeout\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stop_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"end_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"End call when done\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`voice-and-tts-settings`,children:`Voice and TTS Settings`}),`\n`,_jsx(ParamField,{body:`tts_emotion_enabled`,type:`boolean`,id:`param-tts-emotion-enabled`,children:_jsx(_components.p,{children:`Whether to enable emotional text-to-speech synthesis`})}),`\n`,_jsx(ParamField,{body:`voice_stability`,type:`number`,id:`param-voice-stability`,children:_jsx(_components.p,{children:`Voice stability setting (0-1). Higher = more consistent voice`})}),`\n`,_jsx(ParamField,{body:`voice_similarity`,type:`number`,id:`param-voice-similarity`,children:_jsx(_components.p,{children:`Voice similarity setting (0-1). Higher = closer to original voice`})}),`\n`,_jsx(ParamField,{body:`speech_speed`,type:`number`,id:`param-speech-speed`,children:_jsx(_components.p,{children:`Speech speed multiplier (0.7-1.2)`})}),`\n`,_jsx(ParamField,{body:`llm_temperature`,type:`number`,id:`param-llm-temperature`,children:_jsx(_components.p,{children:`LLM temperature setting (0-1). Lower = more deterministic`})}),`\n`,_jsx(ParamField,{body:`synthesizer_provider_id`,type:`integer`,id:`param-synthesizer-provider-id`,children:_jsxs(_components.p,{children:[`Custom TTS provider ID. Set to `,_jsx(_components.code,{children:`null`}),` to use language default. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-synthesizer-providers`,children:`Get Synthesizer Providers`}),` endpoint to discover available providers.`]})}),`\n`,_jsx(ParamField,{body:`transcriber_provider_id`,type:`integer`,id:`param-transcriber-provider-id`,children:_jsxs(_components.p,{children:[`Custom STT provider ID. Pipeline mode only. Set to `,_jsx(_components.code,{children:`null`}),` to use language default. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-transcriber-providers`,children:`Get Transcriber Providers`}),` endpoint to discover available providers.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`call-behavior-settings`,children:`Call Behavior Settings`}),`\n`,_jsxs(ParamField,{body:`allow_interruptions`,type:`boolean`,id:`param-allow-interruptions`,children:[_jsx(_components.p,{children:`Whether to allow caller interruptions.`}),_jsxs(Warning,{children:[`Cannot be disabled for `,_jsx(_components.code,{children:`multimodal`}),` and `,_jsx(_components.code,{children:`dualplex`}),` modes.`]})]}),`\n`,_jsxs(ParamField,{body:`fillers`,type:`boolean`,id:`param-fillers`,children:[_jsx(_components.p,{children:`Whether to use filler audio during processing.`}),_jsxs(Warning,{children:[`Only available for `,_jsx(_components.code,{children:`pipeline`}),` mode.`]})]}),`\n`,_jsxs(ParamField,{body:`filler_config`,type:`object`,id:`param-filler-config`,children:[_jsx(_components.p,{children:`Custom filler word profiles per category. Replaces existing filler config. Each category is an array of short phrases.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`positive`}),`: Filler words for positive/affirmative responses`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`negative`}),`: Filler words for negative/neutral responses`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`question`}),`: Filler words when processing a question`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`neutral`}),`: Filler words for neutral acknowledgments`]}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"filler_config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"positive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Great!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Perfect!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"negative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hmm.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I see.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Good question.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Let me check.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"neutral\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ok.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Noted.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(ParamField,{body:`record`,type:`boolean`,id:`param-record`,children:_jsx(_components.p,{children:`Whether to record the call`})}),`\n`,_jsx(ParamField,{body:`enable_noise_cancellation`,type:`boolean`,id:`param-enable-noise-cancellation`,children:_jsx(_components.p,{children:`Whether to enable noise cancellation`})}),`\n`,_jsx(ParamField,{body:`wait_for_customer`,type:`boolean`,id:`param-wait-for-customer`,children:_jsx(_components.p,{children:`If true, the assistant waits for the customer to speak first`})}),`\n`,_jsx(Heading,{level:`4`,id:`timing-settings`,children:`Timing Settings`}),`\n`,_jsx(ParamField,{body:`max_duration`,type:`integer`,id:`param-max-duration`,children:_jsx(_components.p,{children:`Maximum call duration in seconds (20-1200)`})}),`\n`,_jsx(ParamField,{body:`max_silence_duration`,type:`integer`,id:`param-max-silence-duration`,children:_jsx(_components.p,{children:`Maximum silence duration before re-engagement in seconds (1-360)`})}),`\n`,_jsx(ParamField,{body:`max_initial_silence_duration`,type:`integer`,id:`param-max-initial-silence-duration`,children:_jsxs(_components.p,{children:[`Maximum silence at call start before ending (1-120 seconds). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(ParamField,{body:`ringing_time`,type:`integer`,id:`param-ringing-time`,children:_jsx(_components.p,{children:`Maximum ringing time before giving up (1-60 seconds)`})}),`\n`,_jsx(Heading,{level:`4`,id:`re-engagement-settings`,children:`Re-engagement Settings`}),`\n`,_jsx(ParamField,{body:`reengagement_interval`,type:`integer`,id:`param-reengagement-interval`,children:_jsx(_components.p,{children:`Re-engagement interval in seconds (7-600)`})}),`\n`,_jsx(ParamField,{body:`reengagement_prompt`,type:`string`,id:`param-reengagement-prompt`,children:_jsxs(_components.p,{children:[`Custom prompt for re-engagement messages (max 1000 characters). Set to `,_jsx(_components.code,{children:`null`}),` to use default.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`voicemail-settings`,children:`Voicemail Settings`}),`\n`,_jsx(ParamField,{body:`end_call_on_voicemail`,type:`boolean`,id:`param-end-call-on-voicemail`,children:_jsx(_components.p,{children:`Whether to end call when voicemail is detected`})}),`\n`,_jsx(ParamField,{body:`voice_mail_message`,type:`string`,id:`param-voice-mail-message`,children:_jsxs(_components.p,{children:[`Message to leave on voicemail before hanging up (max 1000 characters). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`endpoint-detection`,children:`Endpoint Detection`}),`\n`,_jsx(ParamField,{body:`endpoint_type`,type:`string`,id:`param-endpoint-type`,children:_jsxs(_components.p,{children:[`Voice activity detection type. Options: `,_jsx(_components.code,{children:`vad`}),`, `,_jsx(_components.code,{children:`ai`})]})}),`\n`,_jsx(ParamField,{body:`endpoint_sensitivity`,type:`number`,id:`param-endpoint-sensitivity`,children:_jsx(_components.p,{children:`Endpoint sensitivity level (0-5)`})}),`\n`,_jsx(ParamField,{body:`interrupt_sensitivity`,type:`number`,id:`param-interrupt-sensitivity`,children:_jsx(_components.p,{children:`Interrupt sensitivity level (0-5)`})}),`\n`,_jsx(ParamField,{body:`min_interrupt_words`,type:`integer`,id:`param-min-interrupt-words`,children:_jsxs(_components.p,{children:[`Minimum words before interruption is allowed (0-10). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`ambient-sound`,children:`Ambient Sound`}),`\n`,_jsx(ParamField,{body:`ambient_sound`,type:`string`,id:`param-ambient-sound`,children:_jsxs(_components.p,{children:[`Background ambient sound. Options: `,_jsx(_components.code,{children:`off`}),`, `,_jsx(_components.code,{children:`office`}),`, `,_jsx(_components.code,{children:`city`}),`, `,_jsx(_components.code,{children:`forest`}),`, `,_jsx(_components.code,{children:`crowded_room`}),`, `,_jsx(_components.code,{children:`cafe`}),`, `,_jsx(_components.code,{children:`nature`})]})}),`\n`,_jsx(ParamField,{body:`ambient_sound_volume`,type:`number`,id:`param-ambient-sound-volume`,children:_jsx(_components.p,{children:`Ambient sound volume level (0-1)`})}),`\n`,_jsx(Heading,{level:`4`,id:`webhook-configuration`,children:`Webhook Configuration`}),`\n`,_jsx(ParamField,{body:`is_webhook_active`,type:`boolean`,id:`param-is-webhook-active`,children:_jsx(_components.p,{children:`Whether webhook notifications are enabled`})}),`\n`,_jsx(ParamField,{body:`webhook_url`,type:`string`,id:`param-webhook-url`,children:_jsxs(_components.p,{children:[`The webhook URL for post-call notifications. Set to `,_jsx(_components.code,{children:`null`}),` to remove.`]})}),`\n`,_jsx(ParamField,{body:`send_webhook_only_on_completed`,type:`boolean`,id:`param-send-webhook-only-on-completed`,children:_jsx(_components.p,{children:`Whether to send webhooks only on completed calls (not failed/no-answer)`})}),`\n`,_jsx(ParamField,{body:`include_recording_in_webhook`,type:`boolean`,id:`param-include-recording-in-webhook`,children:_jsx(_components.p,{children:`Whether to include recording URL in webhook payload`})}),`\n`,_jsx(Heading,{level:`4`,id:`post-call-evaluation`,children:`Post-Call Evaluation`}),`\n`,_jsx(ParamField,{body:`post_call_evaluation`,type:`boolean`,id:`param-post-call-evaluation`,children:_jsx(_components.p,{children:`Whether to enable AI post-call evaluation`})}),`\n`,_jsxs(ParamField,{body:`post_call_schema`,type:`array`,id:`param-post-call-schema`,children:[_jsx(_components.p,{children:`Schema definition for post-call data extraction. Replaces existing schema.`}),_jsxs(Expandable,{title:`post_call_schema properties`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Field name (3-16 chars, lowercase, alphanumeric and underscores only)`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-1`,children:_jsxs(_components.p,{children:[`Data type. Options: `,_jsx(_components.code,{children:`string`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`bool`})]})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Description of what this field represents (3-255 characters)`})})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`variables`,children:`Variables`}),`\n`,_jsxs(ParamField,{body:`variables`,type:`object`,id:`param-variables`,children:[_jsxs(_components.p,{children:[`Key-value pairs of custom variables. `,_jsx(_components.strong,{children:`Replaces all existing variables.`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"company_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premium Widget\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`conversation-ended-settings`,children:`Conversation Ended Settings`}),`\n`,_jsx(ParamField,{body:`conversation_inactivity_timeout`,type:`integer`,id:`param-conversation-inactivity-timeout`,children:_jsxs(_components.p,{children:[`Minutes of chat inactivity before the conversation is considered ended (1-1440). Set to `,_jsx(_components.code,{children:`null`}),` to disable. Default: `,_jsx(_components.code,{children:`30`})]})}),`\n`,_jsx(ParamField,{body:`conversation_ended_retrigger`,type:`boolean`,id:`param-conversation-ended-retrigger`,children:_jsx(_components.p,{children:`Whether to allow re-triggering the conversation after it ends due to inactivity`})}),`\n`,_jsx(ParamField,{body:`conversation_ended_webhook_url`,type:`string`,id:`param-conversation-ended-webhook-url`,children:_jsxs(_components.p,{children:[`Webhook URL called when a chat conversation ends due to inactivity. Set to `,_jsx(_components.code,{children:`null`}),` to remove. Separate from the main call webhook.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example Requests`}),`\n`,_jsx(Heading,{level:`3`,id:`update-basic-settings`,children:`Update Basic Settings`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated Assistant Name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initial_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello! How may I assist you?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`900`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`switch-to-multimodal-mode`,children:`Switch to Multimodal Mode`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"multimodal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"multimodal_model_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chat_llm_fallback_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-tools-and-knowledgebase`,children:`Update Tools and Knowledgebase`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledgebase_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prompt\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-re-engagement-and-voicemail`,children:`Update Re-engagement and Voicemail`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reengagement_interval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reengagement_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Are you still there? I'm here to help.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end_call_on_voicemail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_mail_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, please call us back at your convenience.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`remove-optional-settings`,children:`Remove Optional Settings`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phone_number_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"secondary_language_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Success message confirming assistant update`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier of the updated assistant`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the assistant`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The current status of the assistant`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-2`,children:_jsxs(_components.p,{children:[`The type (`,_jsx(_components.code,{children:`inbound`}),` or `,_jsx(_components.code,{children:`outbound`}),`)`]})}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode-1`,children:_jsxs(_components.p,{children:[`The engine mode (`,_jsx(_components.code,{children:`pipeline`}),`, `,_jsx(_components.code,{children:`multimodal`}),`, or `,_jsx(_components.code,{children:`dualplex`}),`)`]})})]})}),`\n`,`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only the fields you provide in the request body will be updated`}),`\n`,_jsxs(_components.li,{children:[`To remove optional fields, explicitly set them to `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsxs(_components.li,{children:[`To clear arrays (tools, secondary languages), pass an empty array `,_jsx(_components.code,{children:`[]`})]}),`\n`,_jsx(_components.li,{children:`The assistant must belong to the authenticated user`}),`\n`,_jsxs(_components.li,{children:[`Use the Get Voices endpoint with `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices`]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`knowledgebase_mode`}),` must be `,_jsx(_components.code,{children:`function_call`})]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`allow_interruptions`}),` cannot be disabled`]}),`\n`,_jsx(_components.li,{children:`Changing the mode resets mode-specific settings (LLM model, multimodal model, providers)`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update assistant","api":"PUT /user/assistant/{id}","description":"Update an existing AI assistant's configuration","href":"/api-reference/assistants/update-assistant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[361,365,"Example,ResponseFiel"],[612,627,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[57764,59414,"_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success Response`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assistant updated successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`789`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated Sales Assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pipeline\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404 Not Found`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assistant not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`422 Validation Error`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"speech_speed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The speech speed must be between 0.7 and 1.2.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The selected voice is not compatible with the chosen engine type.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allow_interruptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Interruptions cannot be disabled in multimodal or dualplex mode.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only the fields you provide in the request body will be updated`}),`\n`,_jsxs(_components.li,{children:[`To remove optional fields, explicitly set them to `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsxs(_components.li,{children:[`To clear arrays (tools, secondary languages), pass an empty array `,_jsx(_components.code,{children:`[]`})]}),`\n`,_jsx(_components.li,{children:`The assistant must belong to the authenticated user`}),`\n`,_jsxs(_components.li,{children:[`Use the Get Voices endpoint with `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices`]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`knowledgebase_mode`}),` must be `,_jsx(_components.code,{children:`function_call`})]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`allow_interruptions`}),` cannot be disabled`]}),`\n`,_jsx(_components.li,{children:`Changing the mode resets mode-specific settings (LLM model, multimodal model, providers)`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Core Fields","slug":"core-fields","depth":4,"children":[]},{"title":"Mode-Specific Fields","slug":"mode-specific-fields","depth":4,"children":[]},{"title":"Secondary Languages","slug":"secondary-languages","depth":4,"children":[]},{"title":"Knowledgebase Settings","slug":"knowledgebase-settings","depth":4,"children":[]},{"title":"Phone Number","slug":"phone-number","depth":4,"children":[]},{"title":"Custom Mid-Call Tools","slug":"custom-mid-call-tools","depth":4,"children":[]},{"title":"Built-in Tools","slug":"built-in-tools","depth":4,"children":[]},{"title":"Voice and TTS Settings","slug":"voice-and-tts-settings","depth":4,"children":[]},{"title":"Call Behavior Settings","slug":"call-behavior-settings","depth":4,"children":[]},{"title":"Timing Settings","slug":"timing-settings","depth":4,"children":[]},{"title":"Re-engagement Settings","slug":"re-engagement-settings","depth":4,"children":[]},{"title":"Voicemail Settings","slug":"voicemail-settings","depth":4,"children":[]},{"title":"Endpoint Detection","slug":"endpoint-detection","depth":4,"children":[]},{"title":"Ambient Sound","slug":"ambient-sound","depth":4,"children":[]},{"title":"Webhook Configuration","slug":"webhook-configuration","depth":4,"children":[]},{"title":"Post-Call Evaluation","slug":"post-call-evaluation","depth":4,"children":[]},{"title":"Variables","slug":"variables","depth":4,"children":[]},{"title":"Conversation Ended Settings","slug":"conversation-ended-settings","depth":4,"children":[]},{"title":"Example Requests","slug":"example-requests","depth":2,"children":[{"title":"Update Basic Settings","slug":"update-basic-settings","depth":3,"children":[]},{"title":"Switch to Multimodal Mode","slug":"switch-to-multimodal-mode","depth":3,"children":[]},{"title":"Update Tools and Knowledgebase","slug":"update-tools-and-knowledgebase","depth":3,"children":[]},{"title":"Update Re-engagement and Voicemail","slug":"update-re-engagement-and-voicemail","depth":3,"children":[]},{"title":"Remove Optional Settings","slug":"remove-optional-settings","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 Success Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Assistant updated successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">789\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Updated Sales Assistant\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"outbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pipeline\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404 Not Found","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Assistant not found\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"422 Validation Error","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Validation failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"speech_speed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The speech speed must be between 0.7 and 1.2.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voice_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The selected voice is not compatible with the chosen engine type.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allow_interruptions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Interruptions cannot be disabled in multimodal or dualplex mode.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update assistant","path":"/user/assistant/{id}","servers":[{"url":"https://call.aiployees.com/api/"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"integer","description":"The unique identifier of the assistant to update","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the assistant (max 255 characters)"}],"voice_id":[{"type":"integer","description":"The voice ID to use for the assistant. Use the Get Voices endpoint with the `mode` parameter to get compatible voices for your engine mode."}],"language_id":[{"type":"integer","description":"The language ID for the assistant. Use the Get Languages endpoint to get available languages."}],"type":[{"type":"string","description":"The assistant type. Options: `inbound` , `outbound`"}],"mode":[{"type":"string","description":"The engine mode. Options: `pipeline` , `multimodal` , `dualplex`"}],"timezone":[{"type":"string","description":"The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)"}],"initial_message":[{"type":"string","description":"The initial message the assistant will speak when the call starts (max 200 characters)"}],"system_prompt":[{"type":"string","description":"The system prompt that defines the assistant’s behavior and personality"}],"llm_model_id":[{"type":"integer","description":"The LLM model ID to use. Only applies to `pipeline` mode. Use the Get Models endpoint to get available models."}],"multimodal_model_id":[{"type":"integer","description":"The multimodal model ID. Only applies to `multimodal` and `dualplex` modes. Use the Get Models endpoint to get available multimodal models."}],"chat_llm_fallback_id":[{"type":"integer","description":"Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to `null` to remove."}],"turn_detection_threshold":[{"type":"number","description":"Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to `null` for auto."}],"secondary_language_ids":[{"type":"array","items":[{"type":"integer"}],"description":"Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array `[]` to remove all secondary languages."}],"knowledgebase_id":[{"type":"integer","description":"The knowledgebase ID to attach. Set to `null` to remove knowledgebase."}],"knowledgebase_mode":[{"type":"string","description":"How to use the knowledgebase. Options: `function_call` - AI calls a function to search (required for multimodal/dualplex) `prompt` - Knowledge is injected into prompt (pipeline only)"}],"phone_number_id":[{"type":"integer","description":"The ID of a phone number to assign. Set to `null` to unassign. Must belong to your account."}],"tool_ids":[{"type":"array","items":[{"type":"integer"}],"description":"Array of custom mid-call tool IDs to sync. Replaces all existing tool assignments. Pass an empty array `[]` to remove all tools. Each tool must belong to your account."}],"tools":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of built-in tools. Replaces all existing built-in tools. Pass an empty array `[]` to remove all tools."}],"tts_emotion_enabled":[{"type":"boolean","description":"Whether to enable emotional text-to-speech synthesis"}],"voice_stability":[{"type":"number","description":"Voice stability setting (0-1). Higher = more consistent voice"}],"voice_similarity":[{"type":"number","description":"Voice similarity setting (0-1). Higher = closer to original voice"}],"speech_speed":[{"type":"number","description":"Speech speed multiplier (0.7-1.2)"}],"llm_temperature":[{"type":"number","description":"LLM temperature setting (0-1). Lower = more deterministic"}],"synthesizer_provider_id":[{"type":"integer","description":"Custom TTS provider ID. Set to `null` to use language default. Use the Get Synthesizer Providers endpoint to discover available providers."}],"transcriber_provider_id":[{"type":"integer","description":"Custom STT provider ID. Pipeline mode only. Set to `null` to use language default. Use the Get Transcriber Providers endpoint to discover available providers."}],"allow_interruptions":[{"type":"boolean","description":"Whether to allow caller interruptions."}],"fillers":[{"type":"boolean","description":"Whether to use filler audio during processing."}],"filler_config":[{"type":"object","properties":{},"description":"Custom filler word profiles per category. Replaces existing filler config. Each category is an array of short phrases. `positive` : Filler words for positive/affirmative responses `negative` : Filler words for negative/neutral responses `question` : Filler words when processing a question `neutral` : Filler words for neutral acknowledgments"}],"record":[{"type":"boolean","description":"Whether to record the call"}],"enable_noise_cancellation":[{"type":"boolean","description":"Whether to enable noise cancellation"}],"wait_for_customer":[{"type":"boolean","description":"If true, the assistant waits for the customer to speak first"}],"max_duration":[{"type":"integer","description":"Maximum call duration in seconds (20-1200)"}],"max_silence_duration":[{"type":"integer","description":"Maximum silence duration before re-engagement in seconds (1-360)"}],"max_initial_silence_duration":[{"type":"integer","description":"Maximum silence at call start before ending (1-120 seconds). Set to `null` to disable."}],"ringing_time":[{"type":"integer","description":"Maximum ringing time before giving up (1-60 seconds)"}],"reengagement_interval":[{"type":"integer","description":"Re-engagement interval in seconds (7-600)"}],"reengagement_prompt":[{"type":"string","description":"Custom prompt for re-engagement messages (max 1000 characters). Set to `null` to use default."}],"end_call_on_voicemail":[{"type":"boolean","description":"Whether to end call when voicemail is detected"}],"voice_mail_message":[{"type":"string","description":"Message to leave on voicemail before hanging up (max 1000 characters). Set to `null` to disable."}],"endpoint_type":[{"type":"string","description":"Voice activity detection type. Options: `vad` , `ai`"}],"endpoint_sensitivity":[{"type":"number","description":"Endpoint sensitivity level (0-5)"}],"interrupt_sensitivity":[{"type":"number","description":"Interrupt sensitivity level (0-5)"}],"min_interrupt_words":[{"type":"integer","description":"Minimum words before interruption is allowed (0-10). Set to `null` to disable."}],"ambient_sound":[{"type":"string","description":"Background ambient sound. Options: `off` , `office` , `city` , `forest` , `crowded_room` , `cafe` , `nature`"}],"ambient_sound_volume":[{"type":"number","description":"Ambient sound volume level (0-1)"}],"is_webhook_active":[{"type":"boolean","description":"Whether webhook notifications are enabled"}],"webhook_url":[{"type":"string","description":"The webhook URL for post-call notifications. Set to `null` to remove."}],"send_webhook_only_on_completed":[{"type":"boolean","description":"Whether to send webhooks only on completed calls (not failed/no-answer)"}],"include_recording_in_webhook":[{"type":"boolean","description":"Whether to include recording URL in webhook payload"}],"post_call_evaluation":[{"type":"boolean","description":"Whether to enable AI post-call evaluation"}],"post_call_schema":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Field name (3-16 chars, lowercase, alphanumeric and underscores only)","required":true}],"type":[{"type":"string","description":"Data type. Options: `string` , `number` , `bool`","required":true}],"description":[{"type":"string","description":"Description of what this field represents (3-255 characters)","required":true}]}}],"description":"Schema definition for post-call data extraction. Replaces existing schema."}],"variables":[{"type":"object","properties":{},"description":"Key-value pairs of custom variables. Replaces all existing variables."}],"conversation_inactivity_timeout":[{"type":"integer","description":"Minutes of chat inactivity before the conversation is considered ended (1-1440). Set to `null` to disable. Default: `30`"}],"conversation_ended_retrigger":[{"type":"boolean","description":"Whether to allow re-triggering the conversation after it ends due to inactivity"}],"conversation_ended_webhook_url":[{"type":"string","description":"Webhook URL called when a chat conversation ends due to inactivity. Set to `null` to remove. Separate from the main call webhook."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","voice_id":123,"language_id":123,"type":"\u003cstring>","mode":"\u003cstring>","timezone":"\u003cstring>","initial_message":"\u003cstring>","system_prompt":"\u003cstring>","llm_model_id":123,"multimodal_model_id":123,"chat_llm_fallback_id":123,"turn_detection_threshold":123,"secondary_language_ids":[123],"knowledgebase_id":123,"knowledgebase_mode":"\u003cstring>","phone_number_id":123,"tool_ids":[123],"tools":[{}],"tts_emotion_enabled":true,"voice_stability":123,"voice_similarity":123,"speech_speed":123,"llm_temperature":123,"synthesizer_provider_id":123,"transcriber_provider_id":123,"allow_interruptions":true,"fillers":true,"filler_config":{},"record":true,"enable_noise_cancellation":true,"wait_for_customer":true,"max_duration":123,"max_silence_duration":123,"max_initial_silence_duration":123,"ringing_time":123,"reengagement_interval":123,"reengagement_prompt":"\u003cstring>","end_call_on_voicemail":true,"voice_mail_message":"\u003cstring>","endpoint_type":"\u003cstring>","endpoint_sensitivity":123,"interrupt_sensitivity":123,"min_interrupt_words":123,"ambient_sound":"\u003cstring>","ambient_sound_volume":123,"is_webhook_active":true,"webhook_url":"\u003cstring>","send_webhook_only_on_completed":true,"include_recording_in_webhook":true,"post_call_evaluation":true,"post_call_schema":[{"name":"\u003cstring>","type":"\u003cstring>","description":"\u003cstring>"}],"variables":{},"conversation_inactivity_timeout":123,"conversation_ended_retrigger":true,"conversation_ended_webhook_url":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"string","description":"Success message confirming assistant update"}],"data":[{"type":"object","properties":{"id":[{"type":"integer","description":"The unique identifier of the updated assistant"}],"name":[{"type":"string","description":"The name of the assistant"}],"status":[{"type":"string","description":"The current status of the assistant"}],"type":[{"type":"string","description":"The type ( `inbound` or `outbound` )"}],"mode":[{"type":"string","description":"The engine mode ( `pipeline` , `multimodal` , or `dualplex` )"}]}}]}}],"examples":{"example":{"value":{"message":"\u003cstring>","data":{"id":123,"name":"\u003cstring>","status":"\u003cstring>","type":"\u003cstring>","mode":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"aiployees","siteName":"Aiplocalls","title":"Update assistant - Aiplocalls","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-29T05:34:40.309Z","originalFileLocation":"api-reference/assistants/update-assistant.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=\"description\" content=\"Update an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aiplocalls\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_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/aiployees/oVIH8DBIOd5bJNKE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update assistant - Aiplocalls\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aiplocalls\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aiployees.com/api-reference/assistants/update-assistant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aiployees.mintlify.site/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Update+assistant\u0026amp;description=Update+an+existing+AI+assistant%27s+configuration\u0026amp;theme=e19cb624cb1c919c7b4dcf4e\u0026amp;signature=6e9f1b0458b9cb87ce06d0cec0a83fc8e02a6edf901223ce7cb693fc9e50b024\">\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 assistant - Aiplocalls\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aiployees.mintlify.site/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Update+assistant\u0026amp;description=Update+an+existing+AI+assistant%27s+configuration\u0026amp;theme=e19cb624cb1c919c7b4dcf4e\u0026amp;signature=6e9f1b0458b9cb87ce06d0cec0a83fc8e02a6edf901223ce7cb693fc9e50b024\">\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/aiployees/oVIH8DBIOd5bJNKE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aiplocalls\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#06df4b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aiployees.com/api-reference/assistants/update-assistant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assistants/update-assistant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aiployees.com/#organization\",\"name\":\"Aiplocalls\",\"url\":\"https://docs.aiployees.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aiployees/3FOzBJ8Q00Sw5bs2/resources/logo/light.png?fit=max\u0026auto=format\u0026n=3FOzBJ8Q00Sw5bs2\u0026q=85\u0026s=4d32650a4d4f842f31ed7fb21c04a457\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aiployees.com#website\",\"name\":\"Aiplocalls\",\"url\":\"https://docs.aiployees.com\",\"publisher\":{\"@id\":\"https://docs.aiployees.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant#webpage\",\"url\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant\",\"name\":\"Update assistant\",\"description\":\"Update an existing AI assistant's configuration\",\"dateModified\":\"2026-03-29T05:34:40.309Z\",\"isPartOf\":{\"@id\":\"https://docs.aiployees.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assistants\",\"item\":\"https://docs.aiployees.com/api-reference/assistants/get-assistants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update assistant\",\"item\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant#apireference\",\"headline\":\"Update assistant\",\"name\":\"Update assistant\",\"description\":\"Update an existing AI assistant's configuration\",\"url\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aiployees.com/api-reference/assistants/update-assistant#webpage\"},\"dateModified\":\"2026-03-29T05:34:40.309Z\",\"publisher\":{\"@id\":\"https://docs.aiployees.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aiployees.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aiplocalls\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aiplocalls\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/assistants/update-assistant.md","siteName":"Aiplocalls","nav":{"global":null,"anchors":[{"anchor":"Ръководство за платформата","icon":"book","groups":[{"group":"Въведение","pages":[{"title":"Какво е Aiplocalls?","icon":"circle-question","href":"/bg/introduction/what-is-platform"},{"title":"Как работи (Кратък преглед)","icon":"diagram-project","href":"/bg/introduction/how-it-works"},{"title":"Ключова терминология","icon":"book","href":"/bg/introduction/key-terminology"}]},{"group":"Начало","pages":[{"title":"Основни концепции","icon":"lightbulb","href":"/bg/getting-started/core-concepts"},{"title":"Разбиране на минутите за разговори и фактурирането","icon":"credit-card","href":"/bg/getting-started/understanding-billing"}]},{"group":"Преглед на AI асистенти","pages":[{"title":"Какво е AI Асистент?","icon":"robot","href":"/bg/ai-assistants/what-is-ai-assistant"},{"group":"Създаване и редактиране на AI асистент","icon":"robot","pages":[{"title":"Общи настройки","icon":"gear","href":"/bg/ai-assistants/settings/general"},{"title":"Prompt \u0026 Tools","icon":"wrench","href":"/bg/ai-assistants/settings/prompt-and-tools"},{"title":"Действия След Повикване","icon":"webhook","href":"/bg/ai-assistants/settings/post-call-actions"}]},{"title":"Режими на Асистента","icon":"wave-pulse","href":"/bg/ai-assistants/assistant-modes"},{"title":"Най-добри практики за асистенти","icon":"sliders","href":"/bg/ai-assistants/assistant-configuration"},{"title":"Системни Prompt-ове","icon":"brain","href":"/bg/ai-assistants/system-prompt"},{"title":"AI Редактор на подсказки","icon":"sparkles","href":"/bg/ai-assistants/ai-prompt-editor"},{"title":"Flow Builder","icon":"share-nodes","href":"/bg/ai-assistants/flow-builder"},{"title":"Първоначално съобщение и аудио","icon":"message-dots","href":"/bg/ai-assistants/initial-message"},{"title":"Инструменти и функции","icon":"screwdriver-wrench","href":"/bg/ai-assistants/tools-and-functions"},{"title":"Персонализирани Mid-Call Tools","icon":"code-branch","href":"/bg/ai-assistants/custom-tools"},{"title":"Избор на глас и клониране на глас","icon":"microphone","href":"/bg/ai-assistants/voice-selection"},{"title":"Запълващо аудио","icon":"volume","href":"/bg/ai-assistants/filler-audio"},{"title":"Cal.com Насрочване на Срещи","icon":"calendar-days","href":"/bg/ai-assistants/cal-com-scheduling"},{"title":"Насрочване на срещи чрез Calendly","icon":"calendar-days","href":"/bg/ai-assistants/calendly-scheduling"},{"title":"GoHighLevel Планиране на Срещи","icon":"calendar-plus","href":"/bg/ai-assistants/gohighlevel-scheduling"},{"title":"Тестване на Вашия Асистент","icon":"vial","href":"/bg/ai-assistants/testing"},{"title":"Test Chat Interface","icon":"comment-dots","href":"/bg/ai-assistants/test-chat"},{"title":"Web Widget","icon":"code","href":"/bg/ai-assistants/web-widget"}]},{"group":"Кампании","icon":"bullhorn","pages":[{"title":"Преглед на кампаниите","icon":"bullhorn","href":"/bg/campaigns/index"},{"title":"Създаване на кампания","icon":"plus","href":"/bg/campaigns/creating-campaigns"}]},{"group":"Потенциални клиенти","icon":"users","pages":[{"title":"Преглед на потенциалните клиенти","icon":"users","href":"/bg/leads/index"},{"title":"Управление на потенциални клиенти","icon":"user-gear","href":"/bg/leads/managing-leads"},{"title":"Импортиране на потенциални клиенти","icon":"file-import","href":"/bg/leads/importing-leads"}]},{"group":"Персонализирани табла","icon":"chart-line","pages":[{"title":"Персонализирани Табла","icon":"chart-line","href":"/bg/custom-dashboards/overview"},{"title":"Конфигуриране на Widget-и","icon":"sliders","href":"/bg/custom-dashboards/widget-types"}]},{"group":"Разговори","icon":"messages","pages":[{"title":"Преглед на разговорите","icon":"messages","href":"/bg/conversations/overview"},{"title":"Преглед и Управление на Разговори","icon":"list-check","href":"/bg/conversations/viewing-and-managing"}]},{"group":"WhatsApp Business","icon":"whatsapp","pages":[{"title":"WhatsApp Business Интеграция","icon":"whatsapp","href":"/bg/whatsapp/overview"},{"title":"WhatsApp Senders","icon":"phone","href":"/bg/whatsapp/senders"},{"title":"Шаблони за съобщения","icon":"file-lines","href":"/bg/whatsapp/templates"},{"title":"WhatsApp разговори","icon":"messages","href":"/bg/whatsapp/conversations"},{"title":"WhatsApp Автоматизация","icon":"bolt","href":"/bg/whatsapp/automation"}]},{"group":"Телефонни номера","pages":[{"title":"Типове телефонни номера","icon":"phone","href":"/bg/phone-numbers/types"},{"title":"Закупуване и управление на номера","icon":"phone-plus","href":"/bg/phone-numbers/purchasing-and-managing"},{"title":"Цени и региони","icon":"money-bill","href":"/bg/phone-numbers/pricing-and-regions"},{"title":"SMS Възможности","icon":"message-sms","href":"/bg/phone-numbers/sms-capabilities"},{"title":"Присвояване на номера на асистенти","icon":"link","href":"/bg/phone-numbers/assigning-to-assistants"}]},{"group":"Входящи обаждания","pages":[{"title":"Преглед на входящи обаждания","icon":"phone-arrow-down-left","href":"/bg/inbound-calls/overview"},{"title":"Осигуряване и управление на телефонни номера","icon":"phone-plus","href":"/bg/inbound-calls/provisioning"},{"title":"Конфигуриране на Входящия Асистент","icon":"sliders","href":"/bg/inbound-calls/configuring"},{"title":"Данни от входящи обаждания","icon":"chart-line","href":"/bg/inbound-calls/insights"}]},{"group":"Изходящи обаждания","pages":[{"title":"Преглед на изходящите повиквания","icon":"phone-arrow-up-right","href":"/bg/outbound-calls/overview"},{"title":"Създаване и управление на кампании","icon":"bullhorn","href":"/bg/outbound-calls/campaigns"},{"title":"Caller ID \u0026 Обработка","icon":"id-card","href":"/bg/outbound-calls/caller-id"},{"title":"Обработка на гласова поща","icon":"voicemail","href":"/bg/outbound-calls/voicemail-handling"},{"title":"Скриптове и подканвания за продажби или събиране на дългове","icon":"file-lines","href":"/bg/outbound-calls/scripts-and-prompts"},{"title":"Масово/Паралелно Набиране","icon":"phone-volume","href":"/bg/outbound-calls/mass-dialing"}]},{"group":"AI промптинг и дизайн на разговори","pages":[{"title":"Основи на писането на промпти","icon":"pen-nib","href":"/bg/conversation-design/prompt-basics"},{"title":"Бази от знания","icon":"database","href":"/bg/conversation-design/knowledge-bases"},{"title":"Управление на прекъсванията и чувствителността към речта","icon":"hand","href":"/bg/conversation-design/interruptions"},{"title":"Поддръжка на езици и акценти","icon":"language","href":"/bg/conversation-design/language-support"}]},{"group":"Автоматизация и интеграции","pages":[{"title":"Преглед на Автоматизацията без код","icon":"wand-magic-sparkles","href":"/bg/automation/overview"},{"title":"Webhook \u0026 API","icon":"code","href":"/bg/automation/webhook-api"},{"title":"Интеграции на телефонни системи","icon":"phone-office","href":"/bg/provisioning/phone-system-integrations"}]},{"group":"Разходи и ценообразуване","pages":[{"title":"Преглед на разходите","icon":"dollar-sign","href":"/bg/pricing/overview"},{"title":"Разбивка на цените","icon":"calculator","href":"/bg/pricing/usage-based"},{"title":"Наемане на номера и международни тарифи","icon":"globe","href":"/bg/pricing/number-rentals"}]},{"group":"Осигуряване на номера","pages":[{"title":"Поддържани държави","icon":"globe","href":"/bg/provisioning/supported-countries"},{"title":"Управление на вашите номера","icon":"list-check","href":"/bg/provisioning/managing-numbers"},{"group":"SIP тръкинг","icon":"phone-volume","pages":[{"title":"Преглед","href":"/bg/provisioning/sip-trunking/sip-integration"},{"title":"Twilio Интеграция","href":"/bg/provisioning/sip-trunking/twilio"},{"title":"Zadarma Интеграция","href":"/bg/provisioning/sip-trunking/zadarma"},{"title":"DIDLogic Интеграция","href":"/bg/provisioning/sip-trunking/didlogic"}]}]},{"group":"Настройки","pages":[{"title":"Съхранение на данни","icon":"clock-rotate-left","href":"/bg/settings/data-retention"}]},{"group":"Отстраняване на проблеми и ЧЗВ","pages":[{"title":"Проблеми с поведението на AI","icon":"robot","href":"/bg/troubleshooting/ai-behavior"},{"title":"Фактуриране и кредити","icon":"money-bill","href":"/bg/troubleshooting/billing"},{"title":"Cal.com Проблеми","icon":"calendar-days","href":"/bg/troubleshooting/cal-com"},{"title":"Проблеми с Calendly","icon":"calendar-days","href":"/bg/troubleshooting/calendly"},{"title":"Проблеми с качеството на обажданията","icon":"phone","href":"/bg/troubleshooting/call-quality"},{"title":"Проблеми с кампании","icon":"wrench","href":"/bg/troubleshooting/campaigns"},{"title":"Проблеми с GoHighLevel","icon":"calendar-days","href":"/bg/troubleshooting/gohighlevel"},{"title":"Проблеми с потенциални клиенти","icon":"user-gear","href":"/bg/troubleshooting/leads"},{"title":"Проблеми с SIP интеграция","icon":"phone-volume","href":"/bg/troubleshooting/sip-integration"},{"title":"Проблеми с глас и отговор","icon":"microphone","href":"/bg/troubleshooting/voice-problems"},{"title":"Проблеми с уеб джаджата","icon":"code","href":"/bg/troubleshooting/web-widget"},{"title":"WhatsApp Отстраняване на неизправности","icon":"circle-question","href":"/bg/troubleshooting/whatsapp"}]},{"group":"Getting Started","pages":[{"title":"Core Concepts","icon":"lightbulb","href":"/getting-started/core-concepts"},{"title":"Understanding Call Minutes \u0026 Billing","icon":"credit-card","href":"/getting-started/understanding-billing"}]},{"group":"AI Assistants Overview","pages":[{"title":"What is an AI Assistant?","icon":"robot","href":"/ai-assistants/what-is-ai-assistant"},{"group":"Creating and Editing an AI Assistant","icon":"robot","pages":[{"title":"General Settings","icon":"gear","href":"/ai-assistants/settings/general"},{"title":"Prompt \u0026 Tools","icon":"wrench","href":"/ai-assistants/settings/prompt-and-tools"},{"title":"Post-call Actions","icon":"webhook","href":"/ai-assistants/settings/post-call-actions"}]},{"title":"Assistant Modes","icon":"wave-pulse","href":"/ai-assistants/assistant-modes"},{"title":"Assistant best practices","icon":"sliders","href":"/ai-assistants/assistant-configuration"},{"title":"System Prompts","icon":"brain","href":"/ai-assistants/system-prompt"},{"title":"AI Prompt Editor","icon":"sparkles","href":"/ai-assistants/ai-prompt-editor"},{"title":"Flow Builder","icon":"share-nodes","href":"/ai-assistants/flow-builder"},{"title":"Initial Message \u0026 Audio","icon":"message-dots","href":"/ai-assistants/initial-message"},{"title":"Tools \u0026 Functions","icon":"screwdriver-wrench","href":"/ai-assistants/tools-and-functions"},{"title":"Custom Mid-Call Tools","icon":"code-branch","href":"/ai-assistants/custom-tools"},{"title":"Voice Selection \u0026 Voice Cloning","icon":"microphone","href":"/ai-assistants/voice-selection"},{"title":"Filler Audio","icon":"volume","href":"/ai-assistants/filler-audio"},{"title":"Cal.com Appointment Scheduling","icon":"calendar-days","href":"/ai-assistants/cal-com-scheduling"},{"title":"Calendly Appointment Scheduling","icon":"calendar-days","href":"/ai-assistants/calendly-scheduling"},{"title":"GoHighLevel Appointment Scheduling","icon":"calendar-plus","href":"/ai-assistants/gohighlevel-scheduling"},{"title":"Testing Your Assistant","icon":"vial","href":"/ai-assistants/testing"},{"title":"Test Chat Interface","icon":"comment-dots","href":"/ai-assistants/test-chat"},{"title":"Web Widget","icon":"code","href":"/ai-assistants/web-widget"}]},{"group":"Campaigns","icon":"bullhorn","pages":[{"title":"Campaigns Overview","icon":"bullhorn","href":"/campaigns/index"},{"title":"Creating a Campaign","icon":"plus","href":"/campaigns/creating-campaigns"}]},{"group":"Leads","icon":"users","pages":[{"title":"Leads Overview","icon":"users","href":"/leads/index"},{"title":"Managing Leads","icon":"user-gear","href":"/leads/managing-leads"},{"title":"Importing Leads","icon":"file-import","href":"/leads/importing-leads"}]},{"group":"Custom Dashboards","icon":"chart-line","pages":[{"title":"Custom Dashboards","icon":"chart-line","href":"/custom-dashboards/overview"},{"title":"Widget Configuration","icon":"sliders","href":"/custom-dashboards/widget-types"}]},{"group":"Conversations","icon":"messages","pages":[{"title":"Conversations Overview","icon":"messages","href":"/conversations/overview"},{"title":"Viewing \u0026 Managing Conversations","icon":"list-check","href":"/conversations/viewing-and-managing"}]},{"group":"WhatsApp Business","icon":"whatsapp","pages":[{"title":"WhatsApp Business Integration","icon":"whatsapp","href":"/whatsapp/overview"},{"title":"WhatsApp Senders","icon":"phone","href":"/whatsapp/senders"},{"title":"Message Templates","icon":"file-lines","href":"/whatsapp/templates"},{"title":"WhatsApp Conversations","icon":"messages","href":"/whatsapp/conversations"},{"title":"WhatsApp Automation","icon":"bolt","href":"/whatsapp/automation"}]},{"group":"Phone Numbers","pages":[{"title":"Types of Phone Numbers","icon":"phone","href":"/phone-numbers/types"},{"title":"Purchasing \u0026 Managing Numbers","icon":"phone-plus","href":"/phone-numbers/purchasing-and-managing"},{"title":"Pricing \u0026 Regions","icon":"money-bill","href":"/phone-numbers/pricing-and-regions"},{"title":"SMS Capabilities","icon":"message-sms","href":"/phone-numbers/sms-capabilities"},{"title":"Assigning Numbers to Assistants","icon":"link","href":"/phone-numbers/assigning-to-assistants"}]},{"group":"Inbound Calls","pages":[{"title":"Inbound Calls Overview","icon":"phone-arrow-down-left","href":"/inbound-calls/overview"},{"title":"Provisioning \u0026 Managing Phone Numbers","icon":"phone-plus","href":"/inbound-calls/provisioning"},{"title":"Configuring the Inbound Assistant","icon":"sliders","href":"/inbound-calls/configuring"},{"title":"Inbound Call Insights","icon":"chart-line","href":"/inbound-calls/insights"}]},{"group":"Outbound Calls","pages":[{"title":"Outbound Calls Overview","icon":"phone-arrow-up-right","href":"/outbound-calls/overview"},{"title":"Creating \u0026 Managing Campaigns","icon":"bullhorn","href":"/outbound-calls/campaigns"},{"title":"Caller ID \u0026 Handling","icon":"id-card","href":"/outbound-calls/caller-id"},{"title":"Voicemail Handling","icon":"voicemail","href":"/outbound-calls/voicemail-handling"},{"title":"Scripts \u0026 Prompts for Sales or Collections","icon":"file-lines","href":"/outbound-calls/scripts-and-prompts"},{"title":"Mass/Parallel Dialing","icon":"phone-volume","href":"/outbound-calls/mass-dialing"}]},{"group":"AI Prompting \u0026 Conversation Design","pages":[{"title":"Prompt Writing Basics","icon":"pen-nib","href":"/conversation-design/prompt-basics"},{"title":"Knowledge Bases","icon":"database","href":"/conversation-design/knowledge-bases"},{"title":"Handling Interruptions \u0026 Speech Sensitivity","icon":"hand","href":"/conversation-design/interruptions"},{"title":"Language \u0026 Accent Support","icon":"language","href":"/conversation-design/language-support"}]},{"group":"Automation \u0026 Integrations","pages":[{"title":"Overview of No-Code Automation","icon":"wand-magic-sparkles","href":"/automation/overview"},{"title":"Webhook \u0026 API","icon":"code","href":"/automation/webhook-api"},{"title":"Phone System Integrations","icon":"phone-office","href":"/provisioning/phone-system-integrations"}]},{"group":"Costs \u0026 Pricing","pages":[{"title":"Cost Overview","icon":"dollar-sign","href":"/pricing/overview"},{"title":"Pricing Breakdown","icon":"calculator","href":"/pricing/usage-based"},{"title":"Number Rentals \u0026 International Rates","icon":"globe","href":"/pricing/number-rentals"}]},{"group":"Number Provisioning","pages":[{"title":"Supported Countries","icon":"globe","href":"/provisioning/supported-countries"},{"title":"Managing Your Numbers","icon":"list-check","href":"/provisioning/managing-numbers"},{"group":"SIP trunking","icon":"phone-volume","pages":[{"title":"Overview","href":"/provisioning/sip-trunking/sip-integration"},{"title":"Twilio Integration","href":"/provisioning/sip-trunking/twilio"},{"title":"Zadarma Integration","href":"/provisioning/sip-trunking/zadarma"},{"title":"DIDLogic Integration","href":"/provisioning/sip-trunking/didlogic"}]}]},{"group":"Settings","pages":[{"title":"Data Retention","icon":"clock-rotate-left","href":"/settings/data-retention"}]},{"group":"Troubleshooting \u0026 FAQs","pages":[{"title":"AI Behavior Issues","icon":"robot","href":"/troubleshooting/ai-behavior"},{"title":"Billing \u0026 Credits","icon":"money-bill","href":"/troubleshooting/billing"},{"title":"Cal.com Issues","icon":"calendar-days","href":"/troubleshooting/cal-com"},{"title":"Calendly Issues","icon":"calendar-days","href":"/troubleshooting/calendly"},{"title":"Call Quality Issues","icon":"phone","href":"/troubleshooting/call-quality"},{"title":"Campaign Issues","icon":"wrench","href":"/troubleshooting/campaigns"},{"title":"GoHighLevel Issues","icon":"calendar-days","href":"/troubleshooting/gohighlevel"},{"title":"Leads Issues","icon":"user-gear","href":"/troubleshooting/leads"},{"title":"SIP Integration Issues","icon":"phone-volume","href":"/troubleshooting/sip-integration"},{"title":"Voice \u0026 Response Issues","icon":"microphone","href":"/troubleshooting/voice-problems"},{"title":"Web Widget Issues","icon":"code","href":"/troubleshooting/web-widget"},{"title":"WhatsApp Troubleshooting","icon":"circle-question","href":"/troubleshooting/whatsapp"}]},{"group":"API Reference","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Get current user","api":"GET /user/me","href":"/api-reference/user/me"}]},{"group":"Assistants","pages":[{"title":"List assistants","api":"GET /user/assistants/get","href":"/api-reference/assistants/get-assistants"},{"title":"Get outbound assistants","api":"GET /user/assistants/outbound","href":"/api-reference/assistants/get-outbound-assistants"},{"title":"Create assistant","api":"POST /user/assistant","description":"Create a new AI assistant with specified configuration","href":"/api-reference/assistants/create-assistant"},{"title":"Update assistant","api":"PUT /user/assistant/{id}","href":"/api-reference/assistants/update-assistant"},{"title":"Delete assistant","api":"DELETE /user/assistant/{id}","description":"Delete a specific AI assistant","href":"/api-reference/assistants/delete-assistant"},{"title":"Enable assistant inbound webhook","api":"POST /user/assistants/enable-inbound-webhook","href":"/api-reference/assistants/enable-inbound-webhook"},{"title":"Disable assistant inbound webhook","api":"POST /user/assistants/disable-inbound-webhook","href":"/api-reference/assistants/disable-inbound-webhook"},{"title":"Enable conversation ended webhook","api":"POST /user/assistants/enable-conversation-ended-webhook","href":"/api-reference/assistants/enable-conversation-ended-webhook"},{"title":"Disable conversation ended webhook","api":"POST /user/assistants/disable-conversation-ended-webhook","href":"/api-reference/assistants/disable-conversation-ended-webhook"},{"title":"Disable assistant webhook","api":"POST /user/assistants/disable-webhook","href":"/api-reference/assistants/disable-webhook"},{"title":"Get available languages","api":"GET /user/assistants/languages","href":"/api-reference/assistants/get-languages"},{"title":"Get available voices","api":"GET /user/assistants/voices","href":"/api-reference/assistants/get-voices"},{"title":"Get available models","api":"GET /user/assistants/models","href":"/api-reference/assistants/get-models"},{"title":"Get synthesizer providers","api":"GET /user/assistants/synthesizer-providers","href":"/api-reference/assistants/get-synthesizer-providers"},{"title":"Get transcriber providers","api":"GET /user/assistants/transcriber-providers","href":"/api-reference/assistants/get-transcriber-providers"},{"title":"Get available phone numbers","api":"GET /user/assistants/phone-numbers","href":"/api-reference/assistants/get-phone-numbers"}]},{"group":"Calls","pages":[{"title":"List calls","api":"GET /user/calls","href":"/api-reference/calls/get-calls"},{"title":"Get call","api":"GET /user/calls/{id}","href":"/api-reference/calls/get-call"},{"title":"Make a phone call","api":"POST /user/make_call","href":"/api-reference/calls/make-phone-call"},{"title":"Delete call","api":"DELETE /user/calls/{call}","href":"/api-reference/calls/delete-call"}]},{"group":"Conversations","pages":[{"title":"List Conversations","api":"GET /user/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create Conversation","api":"POST /conversations","href":"/api-reference/conversations/create-conversation"},{"title":"Get Conversation","api":"GET /conversations/{uuid}","href":"/api-reference/conversations/get-conversation"},{"title":"Send Message","api":"POST /conversations/{uuid}/messages","href":"/api-reference/conversations/send-message"}]},{"group":"AI","pages":[{"title":"Generate AI Reply","api":"POST /user/ai/generate-reply","href":"/api-reference/ai/generate-reply"}]},{"group":"Mid Call Tools","pages":[{"title":"List mid call tools","api":"GET /user/tools","href":"/api-reference/mid-call-tools/get-tools"},{"title":"Get mid call tool","api":"GET /user/tools/{id}","href":"/api-reference/mid-call-tools/get-tool"},{"title":"Create mid call tool","api":"POST /user/tools","href":"/api-reference/mid-call-tools/create-tool"},{"title":"Update mid call tool","api":"PUT /user/tools/{id}","href":"/api-reference/mid-call-tools/update-tool"},{"title":"Delete mid call tool","api":"DELETE /user/tools/{id}","href":"/api-reference/mid-call-tools/delete-tool"}]},{"group":"Leads","pages":[{"title":"List leads","api":"GET /user/leads","href":"/api-reference/leads/get-lead"},{"title":"Create lead","api":"POST /user/lead","href":"/api-reference/leads/create"},{"title":"Update Lead","api":"PUT /user/leads/{id}","href":"/api-reference/leads/update-lead"},{"title":"Delete lead","api":"DELETE /user/leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","api":"GET /user/campaigns","href":"/api-reference/campaigns/get-campaigns"},{"title":"Create campaign","api":"POST /user/campaign","href":"/api-reference/campaigns/create-campaign"},{"title":"Update campaign status","api":"POST /user/campaigns/update-status","href":"/api-reference/campaigns/update-status"}]},{"group":"Phone Numbers","pages":[{"title":"Get all phone numbers","api":"GET /user/phone-numbers/all","href":"/api-reference/phone-numbers/get-phone-numbers"},{"title":"Search available phone numbers","api":"GET /user/phone-numbers/search","href":"/api-reference/phone-numbers/search-phone-numbers"},{"title":"Purchase phone number","api":"POST /user/phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase-phone-number"},{"title":"Release phone number","api":"DELETE /user/phone-numbers/{id}","href":"/api-reference/phone-numbers/release-phone-number"}]},{"group":"Knowledgebases","pages":[{"title":"Get knowledgebases","api":"GET /user/knowledgebases","href":"/api-reference/knowledgebases/get-knowledgebases"},{"title":"Get knowledgebase","api":"GET /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/get-knowledgebase"},{"title":"Create knowledgebase","api":"POST /user/knowledgebases","href":"/api-reference/knowledgebases/create-knowledgebase"},{"title":"Update knowledgebase","api":"PUT /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/update-knowledgebase"},{"title":"Delete knowledgebase","api":"DELETE /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/delete-knowledgebase"},{"title":"Get documents","api":"GET /user/knowledgebases/{knowledgebaseId}/documents","href":"/api-reference/knowledgebases/get-documents"},{"title":"Get document","api":"GET /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/get-document"},{"title":"Create document","api":"POST /user/knowledgebases/{knowledgebaseId}/documents","href":"/api-reference/knowledgebases/create-document"},{"title":"Update document","api":"PUT /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/update-document"},{"title":"Delete document","api":"DELETE /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/delete-document"}]},{"group":"SMS","pages":[{"title":"Send SMS","api":"POST /user/sms","href":"/api-reference/sms/send-sms"}]},{"group":"WhatsApp","pages":[{"title":"Get WhatsApp Senders","api":"GET /user/whatsapp/senders","href":"/api-reference/whatsapp/get-senders"},{"title":"Get Templates","api":"GET /user/whatsapp/senders/{senderId}/templates","href":"/api-reference/whatsapp/get-templates"},{"title":"Send Template Message","api":"POST /user/whatsapp/send","href":"/api-reference/whatsapp/send-template"},{"title":"Send Freeform Message","api":"POST /user/whatsapp/send-freeform","href":"/api-reference/whatsapp/send-freeform"},{"title":"Get Session Status","api":"GET /user/whatsapp/session-status","href":"/api-reference/whatsapp/session-status"}]},{"group":"Webhooks","pages":[{"title":"Post-Call Webhook","icon":"webhook","href":"/api-reference/webhooks/post-call-webhook"},{"title":"Conversation Ended Webhook","icon":"webhook","href":"/api-reference/webhooks/conversation-ended-webhook"}]},{"group":"API Keys","pages":[{"title":"Create API key","api":"POST /user/api-keys","href":"/api-reference/authentication/create-api-key"},{"title":"List API keys","api":"GET /user/api-keys","href":"/api-reference/authentication/list-api-keys"},{"title":"Delete API key","api":"DELETE /user/api-keys/{id}","href":"/api-reference/authentication/delete-api-key"}]},{"group":"No-Code Automation platform","pages":[{"title":"Introduction","href":"/automation-platform/introduction"},{"title":"Building Flows","icon":"hammer","href":"/automation-platform/building-flows"},{"title":"Passing Data","icon":"wand-sparkles","href":"/automation-platform/passing-data"},{"title":"Publishing Flows","icon":"bolt","href":"/automation-platform/publishing-flows"},{"title":"Debugging Runs","icon":"bug","href":"/automation-platform/debugging-runs"},{"title":"Version History","icon":"clock","href":"/automation-platform/versioning"},{"title":"Technical limits","icon":"ban","href":"/automation-platform/known-limits"}]},{"group":"Calls Related","pages":[{"title":"Aiplocalls Tool","icon":"phone","href":"/automation-platform/calls-related/platform-tool"},{"title":"Common Integrations","icon":"puzzle-piece","href":"/automation-platform/calls-related/common-integrations"},{"title":"Sending SMS","icon":"message-sms","href":"/automation-platform/calls-related/sms-capabilities"}]},{"group":"Platform updates","pages":[{"title":"Product Updates","icon":"scroll","href":"/releases/index"}]}]},{"anchor":"Автоматизация без код","icon":"wand-magic-sparkles","color":{"light":"#6c63ff","dark":"#6c63ff"},"pages":[{"title":"Автоматизация без код","href":"/bg/automation-platform/introduction"}]},{"anchor":"API справочник","icon":"code","color":{"light":"#1c51fc","dark":"#1c51fc"},"pages":[{"title":"API справочник","href":"/bg/api-reference/introduction"}]},{"anchor":"Актуализации","icon":"scroll","color":{"light":"#ffbb00","dark":"#ffbb00"},"pages":[{"title":"Актуализации","href":"/bg/releases"}]},{"anchor":"English","icon":"globe","color":{"light":"#888888","dark":"#888888"},"pages":[{"title":"English","href":"/introduction/what-is-platform"}]}]},"basePath":"","title":"Update assistant - Aiplocalls","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js"]}