Skip to main content
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

id integer required The unique identifier of the assistant to update

Request Body

Core Fields

name string The name of the assistant (max 255 characters) voice_id 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. language_id integer The language ID for the assistant. Use the Get Languages endpoint to get available languages. type string The assistant type. Options: inbound, outbound mode string The engine mode. Options: pipeline, multimodal, dualplex
Changing the mode will reset mode-specific settings to defaults for the new mode.
timezone string The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”) initial_message string The initial message the assistant will speak when the call starts (max 200 characters) system_prompt string The system prompt that defines the assistant’s behavior and personality

Mode-Specific Fields

llm_model_id integer The LLM model ID to use. Only applies to pipeline mode. Use the Get Models endpoint to get available models. multimodal_model_id integer The multimodal model ID. Only applies to multimodal and dualplex modes. Dualplex accepts GPT Realtime only (type=dualplex). Gemini is Speech-to-speech only and returns 422 if you set it on a Dualplex assistant. chat_llm_fallback_id integer Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to null to remove. turn_detection_threshold number Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to null for auto.

Secondary Languages

secondary_language_ids integer[] Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array [] to remove all secondary languages. The primary language and duplicates are ignored.
  • Changing mode or language_id without this field removes the secondary languages, as in the dashboard.
  • Adding languages to an assistant that has none requires a plan that includes secondary languages, and a primary language that supports them in the chosen mode.
  • Pipeline mode: newly added languages must be available for multilingual speech recognition and speech synthesis, and the transcriber must support every language (when transcriber_provider_id is omitted, the current one is kept if it does, otherwise one is picked). Fillers are turned off.
  • Pipeline and dualplex modes: the voice must support every language.

Knowledgebase Settings

knowledgebase_id integer The knowledgebase ID to attach. Set to null to remove knowledgebase. knowledgebase_mode 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)

Organization

folder_id integer ID of a folder to move this assistant into. Must belong to your account. Set to null to make it uncategorized. Omit to leave the folder unchanged. label_ids integer[] Array of label IDs for this assistant. Each label must belong to your account. When provided, this replaces the assistant’s current labels. Omit to leave labels unchanged; send [] to remove all labels.

Phone Number

phone_number_id 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

tool_ids 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.

Built-in Tools

tools array Array of built-in tools. Replaces all existing built-in tools. Pass an empty array [] to remove all tools. 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) or caller_number (shows the number of the person on the call; only when outbound_phone_id is a SIP trunk number, and your carrier must allow it as caller ID; if the caller’s number is hidden, the outbound phone number is shown). Any other value shows the outbound phone number.
  • 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.”)
  • ringing_timeout: Seconds to let the supervisor ring before the transfer is treated as unanswered and the assistant resumes with the caller, 5-120. Omit for the carrier default.
  • dtmf: Keypad tones sent as soon as the supervisor line answers, e.g. to dial an extension behind an IVR. Accepts 0-9, *, #, A-D and w (each w waits ~0.5 seconds), e.g. "wwww1234#". Add trailing w characters to give the extension time to pick up before the briefing starts.
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 or Calendly
  • calendar_type: Calendar provider. Options: calcom (default), calendly
  • description: When to offer scheduling
Cal.com fields (calendar_type: "calcom"):
  • 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_event_id: Cal.com event type ID. When provided, the event name is resolved from Cal.com automatically.
  • calcom_event_name: Human-readable event name (e.g., "30 Minute Meeting (30 min)"). Resolved from Cal.com when calcom_event_id is provided, or set explicitly.
  • 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
Calendly fields (calendar_type: "calendly"):
  • calendly_api_key (required): Your Calendly Personal Access Token (PAT). Generate one from your Calendly account: Integrations & apps → API & webhooks → Generate new token.
  • calendly_event_type_uri (required): Full Calendly event type URI (e.g., "https://api.calendly.com/event_types/{uuid}"). Must belong to the authenticated PAT’s account.
assistant_transfer - Hand off the conversation to a different AI assistant mid-call (swaps voice, LLM, and STT to the target assistant)
  • assistant_id (required): ID of the target assistant. Must belong to your account and cannot be the assistant being updated (no self-transfer).
  • description: When to transfer (max 500 chars, default: “Transfer the conversation to this assistant when appropriate.”)
  • message_before_transfer: Optional message the AI speaks before switching to the target assistant (max 500 chars).
  • speak_transfer_greeting: If true, the target assistant speaks its configured initial message after the transfer completes (default: true).

Voice and TTS Settings

tts_emotion_enabled boolean Whether to enable emotional text-to-speech synthesis voice_stability number Voice stability setting (0-1). Higher = more consistent voice voice_similarity number Voice similarity setting (0-1). Higher = closer to original voice speech_speed number Speech speed multiplier (0.7-1.2) llm_temperature number LLM temperature setting (0-1). Lower = more deterministic synthesizer_provider_id integer Custom TTS provider ID. Set to null to use language default. Use the Get Synthesizer Providers endpoint to discover available providers. tts_model string Which voice model the provider should use, e.g. eleven_flash_v2_5 or sonic-3.5. Optional — omit it to leave the current model unchanged, or set it to null to fall back to the provider’s default. Valid values depend on the provider and on the assistant’s languages, so read them from the tts_models array returned by Get Synthesizer Providers with the language_id filter applied. Sending a model the provider or the assistant’s languages don’t support fails validation. If you instead omit tts_model while changing language_id, synthesizer_provider_id, or mode, the model is reset to the new provider’s default for those languages. transcriber_provider_id 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

allow_interruptions boolean Whether to allow caller interruptions.
Cannot be disabled for multimodal and dualplex modes.
fillers boolean Whether to use filler audio during processing.
Only available for pipeline mode.
filler_config 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
record boolean Whether to record the call retranscribe_recording boolean Re-transcribe the recording after the call for a more accurate transcript. Turning it on also turns record on. Billed as an extra 0.5× of the call’s calling credits.
Only available for multimodal and dualplex modes. Switching the assistant to pipeline turns it off.
enable_noise_cancellation boolean Whether to enable noise cancellation aec_warmup_duration number Seconds (0.5 to 10) during which the assistant ignores interruptions right after it starts speaking, while echo cancellation settles. About 3 seconds works well for phone calls. Send null to turn it off. wait_for_customer boolean If true, the assistant waits for the customer to speak first

Timing Settings

max_duration integer Maximum call duration in seconds (20-1200) max_silence_duration integer Maximum silence duration before re-engagement in seconds (1-360) max_initial_silence_duration integer Maximum silence at call start before ending (1-120 seconds). Set to null to disable. ringing_time integer Maximum ringing time before giving up (1-60 seconds)

Re-engagement Settings

reengagement_interval integer Re-engagement interval in seconds (7-600) reengagement_prompt string Custom prompt for re-engagement messages (max 1000 characters). Set to null to use default.

Voicemail Settings

end_call_on_voicemail boolean Whether to end call when voicemail is detected voice_mail_message string Message to leave on voicemail before hanging up (max 1000 characters). Set to null to disable.

Endpoint Detection

endpoint_type string Voice activity detection type. Options: vad, ai endpoint_sensitivity number Endpoint sensitivity level (0-5) interrupt_sensitivity number Interrupt sensitivity level (0-5) min_interrupt_words integer Minimum words before interruption is allowed (0-10). Set to null to disable.

Ambient Sound

ambient_sound string Background ambient sound. Options: off, office, city, forest, crowded_room, cafe, nature ambient_sound_volume number Ambient sound volume level (0-1)

Webhook Configuration

is_webhook_active boolean Whether webhook notifications are enabled webhook_url string The webhook URL for post-call notifications. Set to null to remove. send_webhook_only_on_completed boolean Whether to send webhooks only on completed calls (not failed/no-answer) include_recording_in_webhook boolean Whether to include recording URL in webhook payload

Post-Call Evaluation

post_call_evaluation boolean Whether to enable AI post-call evaluation post_call_schema array Schema definition for post-call data extraction. Replaces existing schema. post_call_schema properties name string required Field name (3-16 chars, lowercase, alphanumeric and underscores only) type string required Data type. Options: string, number, bool, tags, object, list, json description string required Description of what this field represents (3-1000 characters) options array Required for tags. 2-50 allowed values. Blank values are rejected multiple boolean For tags: whether more than one value can be selected default string For single-value tags: the value to use when nothing in the call matches. Must be one of options properties array Required for object and list. 1-20 fields. Each field needs name (lowercase, letters/digits/_), type (string, number, or bool), and an optional description / options

Variables

variables object Key-value pairs of custom variables. Replaces all existing variables.

Conversation Ended Settings

conversation_inactivity_timeout integer Minutes of chat inactivity before the conversation is considered ended (1-1440). Set to null to disable. Default: 30 conversation_ended_retrigger boolean Whether to allow re-triggering the conversation after it ends due to inactivity conversation_ended_webhook_url string Webhook URL called when a chat conversation ends due to inactivity. Set to null to remove. Separate from the main call webhook.

Example Requests

Update Basic Settings

Switch to Multimodal Mode

Update Tools and Knowledgebase

Update Re-engagement and Voicemail

Add Calendar Integration (Cal.com)

Add Calendar Integration (Calendly)

Remove Optional Settings


Response

message string Success message confirming assistant update data object properties id integer The unique identifier of the updated assistant name string The name of the assistant status string The current status of the assistant type string The type (inbound or outbound) mode string The engine mode (pipeline, multimodal, or dualplex)
200 Success Response
404 Not Found
422 Validation Error
422 Invalid Calendly Event URI

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
  • Changing the mode resets mode-specific settings (LLM model, multimodal model, providers); switching to pipeline also turns retranscribe_recording off