List of webhooks to be added to the call flow. A new webhook will be created for each entry in the array, regardless of the name or if it already exists.
{ "_id": "676b8e123456789012345678", "workspaceId": "6764d172953253138a3a70f4", "folderId": null, "isGlobal": false, "isPreConfigured": false, "preConfiguredWorkspaceId": null, "name": "Customer Support Flow", "direction": "inbound", "description": "Handles inbound support calls", "agent": "676b8e123456789012345679", "promptType": "simple", "welcomeMessage": "user_initiated", "customWelcomeMessage": "", "flowData": { "nodes": [ { "id": "node1", "type": "start", "data": { "prompt": "Welcome to our support line. How can I help you?" } } ], "edges": [] }, "prompt": "Keep the conversation short and friendly.", "currentPromptId": "676b8e123456789012345680", "promptVersions": [ { "_id": "676b8e123456789012345680", "name": "Prompt Version - 1/15/2025, 3:00:00 PM", "prompt": "Keep the conversation short and friendly.", "metadata": { "notes": "" }, "createdAt": "2025-01-15T15:00:00.000Z", "updatedAt": "2025-01-15T15:00:00.000Z" } ], "gemini_prompt": "Keep the conversation short and friendly.", "startNodeId": null, "isActive": true, "agentWebhookUrl": "", "inboundWebhookUrl": "", "dynamicVariableCollections": [], "locations": [], "webhooks": [], "settings": { "welcomeMessage": "user_initiated", "customWelcomeMessage": "", "enableHumanLikeVoiceAndTone": false, "welcomeMessageDelay": 0, "webhooks": { "agent": "", "inbound": "" }, "customerLocation": "new york", "transfers": [], "knowledgeBases": [], "utilizePriorCallsContext": false, "callSettings": { "trilletVoiceGuard": true, "reminderMessages": [] }, "security": { "hipaaCompliance": false, "publicAccess": false } }, "createdAt": "2025-01-15T15:00:00.000Z", "updatedAt": "2025-01-15T15:00:00.000Z"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Trillet AI","colors":{"primary":"#0062E9","light":"#27A3FD","dark":"#0062E9"},"logo":{"light":"https://mintcdn.com/trilletai/EdcrcTJCQ9witVNd/logo/Trillet-logo-light.png?fit=max\u0026auto=format\u0026n=EdcrcTJCQ9witVNd\u0026q=85\u0026s=07a28a94606d5b153efce99ab90540fe","dark":"https://mintcdn.com/trilletai/4w-maff9zXfYJwwQ/logo/Trillet-logo-dark.svg?fit=max\u0026auto=format\u0026n=4w-maff9zXfYJwwQ\u0026q=85\u0026s=f229f955d63c6b1d05383924f2215385","href":"https://docs.trillet.ai/"},"favicon":"https://mintcdn.com/trilletai/4w-maff9zXfYJwwQ/favicon.svg?fit=max\u0026auto=format\u0026n=4w-maff9zXfYJwwQ\u0026q=85\u0026s=ce49c1133a36856421c21ace5d2665f5","api":{"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.trillet.ai"}},"appearance":{"default":"light","strict":false},"background":{"decoration":"windows","color":{"light":"#f5f8ff","dark":"#000718"}},"navbar":{"links":[{"href":"https://discord.com/invite/4qbWtkbT93","label":"Join Community"}],"primary":{"type":"button","label":"Get Started!","href":"https://app.trillet.ai"}},"footer":{"socials":{"discord":"https://discord.com/invite/4qbWtkbT93","github":"https://github.com/TrilletAI","linkedin":"https://linkedin.com/company/trillet-ai"}},"search":{"prompt":"Expedite Development - Search Trillet..."},"seo":{"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trilletai","hasAudioNarration":false,"actualSubdomain":"trilletai","customDomains":[],"gitSource":{"type":"github","owner":"verlat-pty-ltd","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6abeb7683ee38fd3dde389cd","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference V1","count":76},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Conversations","count":8},{"language":"default","tag":"Batch Calls","count":7},{"language":"default","tag":"Calls","count":7},{"language":"default","tag":"Folder Management","count":7},{"language":"default","tag":"Knowledge Base","count":7},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Message Flows","count":6},{"language":"default","tag":"Workspaces","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v1/api-reference/endpoints/flows/call-flows/update","slug":"/v1/api-reference/endpoints/flows/call-flows/update","pageMetadata":{"title":"Update Call Flow","api":"PUT /v1/api/call-flows/{id}","description":"Update an existing call flow.","href":"/v1/api-reference/endpoints/flows/call-flows/update","hidden":false},"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 call flow.\"\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`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`API key used for authenticating requests to the API.`})}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,required:true,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Workspace identifier for the API.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique ID of the call flow to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`New name for the flow.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Updated description for the call flow (e.g., “Updated description for inbound calls”).`})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,enum:[`outbound`,`bidirectional`],id:`param-direction`,children:_jsx(_components.p,{children:`The direction of the call flow. ‘outbound’ or ‘bidirectional’`})}),`\n`,_jsx(ParamField,{body:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Whether the call flow is currently active.`})}),`\n`,_jsx(ParamField,{body:`isGlobal`,type:`boolean`,id:`param-is-global`,children:_jsx(_components.p,{children:`Whether this is a global call flow (requires special permissions).`})}),`\n`,_jsx(ParamField,{body:`promptType`,type:`string`,required:true,id:`param-prompt-type`,children:_jsx(_components.p,{children:`The type of prompt used in the call flow “simple”.`})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`The primary prompt for user interaction (used when promptType is ‘simple’).`})}),`\n`,_jsx(ParamField,{body:`welcomeMessage`,type:`string`,enum:[`user_initiated`,`ai_dynamic`,`ai_custom`],default:`user_initiated`,id:`param-welcome-message`,children:_jsx(_components.p,{children:`Type of welcome message for the call flow. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”.`})}),`\n`,_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message`,children:_jsx(_components.p,{children:`Custom welcome message text (used when welcomeMessage is ‘ai_custom’).`})}),`\n`,_jsxs(ParamField,{body:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections`,children:[_jsx(_components.p,{children:`Collections of dynamic variables for the call flow.`}),_jsxs(Expandable,{title:`dynamicVariableCollections`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the variable collection.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the variable collection.`})}),_jsx(ParamField,{body:`isDefault`,type:`boolean`,default:`false`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether this is the default variable collection.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables`,children:[_jsx(_components.p,{children:`Array of key-value pairs.`}),_jsxs(Expandable,{title:`variables`,children:[_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsx(_components.p,{children:`Variable key name.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Variable value.`})})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Configuration settings for the call flow.`}),_jsxs(Expandable,{title:`settings`,children:[_jsx(ParamField,{body:`enableHumanLikeVoiceAndTone`,type:`boolean`,id:`param-enable-human-like-voice-and-tone`,children:_jsx(_components.p,{children:`Whether to enable human-like voice and tone.`})}),_jsx(ParamField,{body:`welcomeMessageDelay`,type:`number`,id:`param-welcome-message-delay`,children:_jsx(_components.p,{children:`Delay in seconds before playing the welcome message.`})}),_jsx(ParamField,{body:`customerLocation`,type:`string`,id:`param-customer-location`,children:_jsx(_components.p,{children:`Default customer location (e.g., “new york”).`})}),_jsx(ParamField,{body:`utilizePriorCallsContext`,type:`boolean`,id:`param-utilize-prior-calls-context`,children:_jsx(_components.p,{children:`Whether to use context from previous calls.`})}),_jsx(ParamField,{body:`responseSettings`,type:`object`,id:`param-response-settings`,children:_jsxs(Expandable,{title:`responseSettings`,children:[_jsx(ParamField,{body:`delay`,type:`number`,id:`param-delay`,children:_jsx(_components.p,{children:`Delay (in seconds) before responding.`})}),_jsx(ParamField,{body:`workingHours`,type:`object`,id:`param-working-hours`,children:_jsxs(Expandable,{title:`workingHours`,children:[_jsx(ParamField,{body:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`Whether working hours logic is enabled.`})}),_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Start time for working hours, e.g., “08:00”.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time for working hours, e.g., “20:00”.`})}),_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`Timezone for working hours, e.g., “America/New_York”.`})}),_jsx(ParamField,{body:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message`,children:_jsx(_components.p,{children:`Automated reply for out-of-hours calls.`})})]})})]})}),_jsx(ParamField,{body:`security`,type:`object`,id:`param-security`,children:_jsxs(Expandable,{title:`security`,children:[_jsx(ParamField,{body:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`Whether HIPAA compliance is required. When enabled, automatically disables call recording.`})}),_jsx(ParamField,{body:`publicAccess`,type:`boolean`,id:`param-public-access`,children:_jsx(_components.p,{children:`Whether public access is allowed.`})})]})}),_jsx(ParamField,{body:`callSetting`,type:`object`,id:`param-call-setting`,children:_jsxs(Expandable,{title:`callSetting`,children:[_jsx(ParamField,{body:`maxCallDuration`,type:`number`,id:`param-max-call-duration`,children:_jsx(_components.p,{children:`Maximum call duration (in seconds).`})}),_jsx(ParamField,{body:`endCallOnSilence`,type:`number`,id:`param-end-call-on-silence`,children:_jsx(_components.p,{children:`Timeout (in seconds) for ending a call if no audio is detected.`})}),_jsx(ParamField,{body:`trilletVoiceGuard`,type:`boolean`,id:`param-trillet-voice-guard`,children:_jsx(_components.p,{children:`Whether to enable Trillet voice guard protection.`})}),_jsx(ParamField,{body:`reminderMessages`,type:`array`,id:`param-reminder-messages`,children:_jsx(_components.p,{children:`Array of reminder messages to be played during calls.`})})]})}),_jsxs(ParamField,{body:`knowledgeBaseFiles`,type:`array`,id:`param-knowledge-base-files`,children:[_jsx(_components.p,{children:`Array of knowledge base files associated with the call flow.`}),_jsxs(Expandable,{title:`knowledgeBaseFiles`,children:[_jsx(ParamField,{body:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Name of the knowledge base file.`})}),_jsx(ParamField,{body:`key`,type:`string`,id:`param-key-1`,children:_jsx(_components.p,{children:`Storage key for the file.`})}),_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`URL to access the file.`})})]})]}),_jsx(ParamField,{body:`knowledgeBases`,type:`array`,id:`param-knowledge-bases`,children:_jsx(_components.p,{children:`Array of knowledge base IDs referenced by the call flow.`})}),_jsx(ParamField,{body:`transfers`,type:`array`,id:`param-transfers`,children:_jsx(_components.p,{children:`Array of transfer configurations for the call flow.`})})]})]}),`\n`,_jsxs(ParamField,{body:`webhooks`,type:`array`,id:`param-webhooks`,children:[_jsx(_components.p,{children:`List of webhooks to be added to the call flow. A new webhook will be created for each entry in the array, regardless of the name or if it already exists.`}),_jsxs(Expandable,{title:`webhooks`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the webhook (e.g., “Booking”).`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`A brief description of what this webhook does (e.g., “Booking request webhook”).`})}),_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url-1`,children:_jsxs(_components.p,{children:[`The URL to which the webhook will send data (e.g., “`,_jsx(_components.a,{href:`https://example.com/webhook/agent`,children:`https://example.com/webhook/agent`}),`”).`]})}),_jsx(ParamField,{body:`method`,type:`string`,enum:[`GET`,`POST`,`PUT`,`DELETE`],default:`POST`,id:`param-method`,children:_jsx(_components.p,{children:`HTTP method for the webhook request.`})}),_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Headers to be included in the webhook request.`})}),_jsx(ParamField,{body:`body`,type:`string`,id:`param-body`,children:_jsx(_components.p,{children:`The webhook request body. Can include variable placeholders.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables-1`,children:[_jsx(_components.p,{children:`A list of variables used in the webhook body for dynamic content generation.`}),_jsxs(Expandable,{title:`variables`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`The name of the variable.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-2`,children:_jsx(_components.p,{children:`A description of the variable.`})})]})]}),_jsxs(ParamField,{body:`responseVariables`,type:`array`,id:`param-response-variables`,children:[_jsx(_components.p,{children:`Variables to extract from the webhook response.`}),_jsxs(Expandable,{title:`responseVariables`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-4`,children:_jsx(_components.p,{children:`Name of the response variable.`})}),_jsx(ParamField,{body:`path`,type:`string`,id:`param-path`,children:_jsx(_components.p,{children:`JSON path to extract the value from the response.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-3`,children:_jsx(_components.p,{children:`Description of the response variable.`})})]})]}),_jsx(ParamField,{body:`isTesting`,type:`boolean`,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether this webhook is in testing mode.`})}),_jsx(ParamField,{body:`testResponse`,type:`string`,id:`param-test-response`,children:_jsx(_components.p,{children:`Mock response for testing purposes.`})}),_jsx(ParamField,{body:`textToSpeak`,type:`string`,id:`param-text-to-speak`,children:_jsx(_components.p,{children:`Text to be spoken when this webhook is triggered.`})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These `,_jsx(_components.code,{children:`endCallOnSilence`}),` and `,_jsx(_components.code,{children:`maxCallDuration`}),` settings are recommended to be sent for optimal API performance, though they are not strictly required.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`The unique identifier for the newly created call flow.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the call flow has been created.`})}),`\n`,_jsx(ResponseField,{name:`folderId`,type:`string`,id:`param-folder-id`,children:_jsx(_components.p,{children:`The identifier of the folder where the call flow is organized.`})}),`\n`,_jsx(ResponseField,{name:`isGlobal`,type:`boolean`,id:`param-is-global-1`,children:_jsx(_components.p,{children:`Whether this is a global call flow.`})}),`\n`,_jsx(ResponseField,{name:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured.`})}),`\n`,_jsx(ResponseField,{name:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-5`,children:_jsx(_components.p,{children:`The name given to the call flow.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction-1`,children:_jsx(_components.p,{children:`The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-4`,children:_jsx(_components.p,{children:`A description of what the call flow is designed to handle.`})}),`\n`,_jsx(ResponseField,{name:`agent`,type:`string`,id:`param-agent`,children:_jsx(_components.p,{children:`The identifier of the agent associated with this call flow.`})}),`\n`,_jsx(ResponseField,{name:`promptType`,type:`string`,id:`param-prompt-type-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow uses “simple” or “flow” based configuration.`})}),`\n`,_jsx(ResponseField,{name:`welcomeMessage`,type:`string`,id:`param-welcome-message-1`,children:_jsx(_components.p,{children:`Welcome message type configuration.`})}),`\n`,_jsx(ResponseField,{name:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-1`,children:_jsx(_components.p,{children:`Custom welcome message text if configured.`})}),`\n`,_jsxs(ResponseField,{name:`flowData`,type:`object`,id:`param-flow-data`,children:[_jsx(_components.p,{children:`The configuration of nodes and edges that define the call routing logic within the flow.`}),_jsx(ResponseField,{name:`nodes`,type:`array`,id:`param-nodes`,children:_jsx(_components.p,{children:`Detailed configuration of the nodes within the call flow.`})}),_jsx(ResponseField,{name:`edges`,type:`array`,id:`param-edges`,children:_jsx(_components.p,{children:`Configurations of the edges connecting nodes within the call flow.`})})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-1`,children:_jsx(_components.p,{children:`The initial or system prompt used in the call flow.`})}),`\n`,_jsx(ResponseField,{name:`currentPromptId`,type:`string`,id:`param-current-prompt-id`,children:_jsx(_components.p,{children:`ID of the current active prompt version.`})}),`\n`,_jsx(ResponseField,{name:`gemini_prompt`,type:`string`,id:`param-gemini-prompt`,children:_jsx(_components.p,{children:`Sanitized version of the prompt for Gemini processing.`})}),`\n`,_jsx(ResponseField,{name:`startNodeId`,type:`string`,id:`param-start-node-id`,children:_jsx(_components.p,{children:`ID of the starting node for flow-based configurations.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow is currently active or inactive.`})}),`\n`,_jsx(ResponseField,{name:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ResponseField,{name:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsx(ResponseField,{name:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections-1`,children:_jsx(_components.p,{children:`Array of dynamic variable collections configured for the call flow.`})}),`\n`,_jsx(ResponseField,{name:`locations`,type:`array`,id:`param-locations`,children:_jsx(_components.p,{children:`Array of location objects for visual flow positioning.`})}),`\n`,_jsx(ResponseField,{name:`webhooks`,type:`array`,id:`param-webhooks-1`,children:_jsx(_components.p,{children:`Array of configured webhooks with their complete configuration.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security.`}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings with processed values.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance-1`,children:_jsx(_components.p,{children:`HIPAA compliance status (processed from securityOptOut).`})}),_jsx(ResponseField,{name:`publicAccess`,type:`boolean`,id:`param-public-access-1`,children:_jsx(_components.p,{children:`Public access configuration.`})})]})]}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was last updated.`})})]})}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 Call Flow","api":"PUT /v1/api/call-flows/{id}","description":"Update an existing call flow.","href":"/v1/api-reference/endpoints/flows/call-flows/update","hidden":false}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsx(_components.p,{children:`API key used for authenticating requests to the API.`})}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,required:true,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Workspace identifier for the API.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique ID of the call flow to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`New name for the flow.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Updated description for the call flow (e.g., “Updated description for inbound calls”).`})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,enum:[`outbound`,`bidirectional`],id:`param-direction`,children:_jsx(_components.p,{children:`The direction of the call flow. ‘outbound’ or ‘bidirectional’`})}),`\n`,_jsx(ParamField,{body:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Whether the call flow is currently active.`})}),`\n`,_jsx(ParamField,{body:`isGlobal`,type:`boolean`,id:`param-is-global`,children:_jsx(_components.p,{children:`Whether this is a global call flow (requires special permissions).`})}),`\n`,_jsx(ParamField,{body:`promptType`,type:`string`,required:true,id:`param-prompt-type`,children:_jsx(_components.p,{children:`The type of prompt used in the call flow “simple”.`})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`The primary prompt for user interaction (used when promptType is ‘simple’).`})}),`\n`,_jsx(ParamField,{body:`welcomeMessage`,type:`string`,enum:[`user_initiated`,`ai_dynamic`,`ai_custom`],default:`user_initiated`,id:`param-welcome-message`,children:_jsx(_components.p,{children:`Type of welcome message for the call flow. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”.`})}),`\n`,_jsx(ParamField,{body:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message`,children:_jsx(_components.p,{children:`Custom welcome message text (used when welcomeMessage is ‘ai_custom’).`})}),`\n`,_jsxs(ParamField,{body:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections`,children:[_jsx(_components.p,{children:`Collections of dynamic variables for the call flow.`}),_jsxs(Expandable,{title:`dynamicVariableCollections`,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the variable collection.`})}),_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the variable collection.`})}),_jsx(ParamField,{body:`isDefault`,type:`boolean`,default:`false`,id:`param-is-default`,children:_jsx(_components.p,{children:`Whether this is the default variable collection.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables`,children:[_jsx(_components.p,{children:`Array of key-value pairs.`}),_jsxs(Expandable,{title:`variables`,children:[_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsx(_components.p,{children:`Variable key name.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Variable value.`})})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Configuration settings for the call flow.`}),_jsxs(Expandable,{title:`settings`,children:[_jsx(ParamField,{body:`enableHumanLikeVoiceAndTone`,type:`boolean`,id:`param-enable-human-like-voice-and-tone`,children:_jsx(_components.p,{children:`Whether to enable human-like voice and tone.`})}),_jsx(ParamField,{body:`welcomeMessageDelay`,type:`number`,id:`param-welcome-message-delay`,children:_jsx(_components.p,{children:`Delay in seconds before playing the welcome message.`})}),_jsx(ParamField,{body:`customerLocation`,type:`string`,id:`param-customer-location`,children:_jsx(_components.p,{children:`Default customer location (e.g., “new york”).`})}),_jsx(ParamField,{body:`utilizePriorCallsContext`,type:`boolean`,id:`param-utilize-prior-calls-context`,children:_jsx(_components.p,{children:`Whether to use context from previous calls.`})}),_jsx(ParamField,{body:`responseSettings`,type:`object`,id:`param-response-settings`,children:_jsxs(Expandable,{title:`responseSettings`,children:[_jsx(ParamField,{body:`delay`,type:`number`,id:`param-delay`,children:_jsx(_components.p,{children:`Delay (in seconds) before responding.`})}),_jsx(ParamField,{body:`workingHours`,type:`object`,id:`param-working-hours`,children:_jsxs(Expandable,{title:`workingHours`,children:[_jsx(ParamField,{body:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`Whether working hours logic is enabled.`})}),_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Start time for working hours, e.g., “08:00”.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time for working hours, e.g., “20:00”.`})}),_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`Timezone for working hours, e.g., “America/New_York”.`})}),_jsx(ParamField,{body:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message`,children:_jsx(_components.p,{children:`Automated reply for out-of-hours calls.`})})]})})]})}),_jsx(ParamField,{body:`security`,type:`object`,id:`param-security`,children:_jsxs(Expandable,{title:`security`,children:[_jsx(ParamField,{body:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`Whether HIPAA compliance is required. When enabled, automatically disables call recording.`})}),_jsx(ParamField,{body:`publicAccess`,type:`boolean`,id:`param-public-access`,children:_jsx(_components.p,{children:`Whether public access is allowed.`})})]})}),_jsx(ParamField,{body:`callSetting`,type:`object`,id:`param-call-setting`,children:_jsxs(Expandable,{title:`callSetting`,children:[_jsx(ParamField,{body:`maxCallDuration`,type:`number`,id:`param-max-call-duration`,children:_jsx(_components.p,{children:`Maximum call duration (in seconds).`})}),_jsx(ParamField,{body:`endCallOnSilence`,type:`number`,id:`param-end-call-on-silence`,children:_jsx(_components.p,{children:`Timeout (in seconds) for ending a call if no audio is detected.`})}),_jsx(ParamField,{body:`trilletVoiceGuard`,type:`boolean`,id:`param-trillet-voice-guard`,children:_jsx(_components.p,{children:`Whether to enable Trillet voice guard protection.`})}),_jsx(ParamField,{body:`reminderMessages`,type:`array`,id:`param-reminder-messages`,children:_jsx(_components.p,{children:`Array of reminder messages to be played during calls.`})})]})}),_jsxs(ParamField,{body:`knowledgeBaseFiles`,type:`array`,id:`param-knowledge-base-files`,children:[_jsx(_components.p,{children:`Array of knowledge base files associated with the call flow.`}),_jsxs(Expandable,{title:`knowledgeBaseFiles`,children:[_jsx(ParamField,{body:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Name of the knowledge base file.`})}),_jsx(ParamField,{body:`key`,type:`string`,id:`param-key-1`,children:_jsx(_components.p,{children:`Storage key for the file.`})}),_jsx(ParamField,{body:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`URL to access the file.`})})]})]}),_jsx(ParamField,{body:`knowledgeBases`,type:`array`,id:`param-knowledge-bases`,children:_jsx(_components.p,{children:`Array of knowledge base IDs referenced by the call flow.`})}),_jsx(ParamField,{body:`transfers`,type:`array`,id:`param-transfers`,children:_jsx(_components.p,{children:`Array of transfer configurations for the call flow.`})})]})]}),`\n`,_jsxs(ParamField,{body:`webhooks`,type:`array`,id:`param-webhooks`,children:[_jsx(_components.p,{children:`List of webhooks to be added to the call flow. A new webhook will be created for each entry in the array, regardless of the name or if it already exists.`}),_jsxs(Expandable,{title:`webhooks`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the webhook (e.g., “Booking”).`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`A brief description of what this webhook does (e.g., “Booking request webhook”).`})}),_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url-1`,children:_jsxs(_components.p,{children:[`The URL to which the webhook will send data (e.g., “`,_jsx(_components.a,{href:`https://example.com/webhook/agent`,children:`https://example.com/webhook/agent`}),`”).`]})}),_jsx(ParamField,{body:`method`,type:`string`,enum:[`GET`,`POST`,`PUT`,`DELETE`],default:`POST`,id:`param-method`,children:_jsx(_components.p,{children:`HTTP method for the webhook request.`})}),_jsx(ParamField,{body:`headers`,type:`object`,id:`param-headers`,children:_jsx(_components.p,{children:`Headers to be included in the webhook request.`})}),_jsx(ParamField,{body:`body`,type:`string`,id:`param-body`,children:_jsx(_components.p,{children:`The webhook request body. Can include variable placeholders.`})}),_jsxs(ParamField,{body:`variables`,type:`array`,id:`param-variables-1`,children:[_jsx(_components.p,{children:`A list of variables used in the webhook body for dynamic content generation.`}),_jsxs(Expandable,{title:`variables`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`The name of the variable.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description-2`,children:_jsx(_components.p,{children:`A description of the variable.`})})]})]}),_jsxs(ParamField,{body:`responseVariables`,type:`array`,id:`param-response-variables`,children:[_jsx(_components.p,{children:`Variables to extract from the webhook response.`}),_jsxs(Expandable,{title:`responseVariables`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-4`,children:_jsx(_components.p,{children:`Name of the response variable.`})}),_jsx(ParamField,{body:`path`,type:`string`,id:`param-path`,children:_jsx(_components.p,{children:`JSON path to extract the value from the response.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description-3`,children:_jsx(_components.p,{children:`Description of the response variable.`})})]})]}),_jsx(ParamField,{body:`isTesting`,type:`boolean`,id:`param-is-testing`,children:_jsx(_components.p,{children:`Whether this webhook is in testing mode.`})}),_jsx(ParamField,{body:`testResponse`,type:`string`,id:`param-test-response`,children:_jsx(_components.p,{children:`Mock response for testing purposes.`})}),_jsx(ParamField,{body:`textToSpeak`,type:`string`,id:`param-text-to-speak`,children:_jsx(_components.p,{children:`Text to be spoken when this webhook is triggered.`})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These `,_jsx(_components.code,{children:`endCallOnSilence`}),` and `,_jsx(_components.code,{children:`maxCallDuration`}),` settings are recommended to be sent for optimal API performance, though they are not strictly required.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`The unique identifier for the newly created call flow.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the call flow has been created.`})}),`\n`,_jsx(ResponseField,{name:`folderId`,type:`string`,id:`param-folder-id`,children:_jsx(_components.p,{children:`The identifier of the folder where the call flow is organized.`})}),`\n`,_jsx(ResponseField,{name:`isGlobal`,type:`boolean`,id:`param-is-global-1`,children:_jsx(_components.p,{children:`Whether this is a global call flow.`})}),`\n`,_jsx(ResponseField,{name:`isPreConfigured`,type:`boolean`,id:`param-is-pre-configured`,children:_jsx(_components.p,{children:`Whether this call flow is pre-configured.`})}),`\n`,_jsx(ResponseField,{name:`preConfiguredWorkspaceId`,type:`string`,id:`param-pre-configured-workspace-id`,children:_jsx(_components.p,{children:`Workspace ID for pre-configured flows.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-5`,children:_jsx(_components.p,{children:`The name given to the call flow.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction-1`,children:_jsx(_components.p,{children:`The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-4`,children:_jsx(_components.p,{children:`A description of what the call flow is designed to handle.`})}),`\n`,_jsx(ResponseField,{name:`agent`,type:`string`,id:`param-agent`,children:_jsx(_components.p,{children:`The identifier of the agent associated with this call flow.`})}),`\n`,_jsx(ResponseField,{name:`promptType`,type:`string`,id:`param-prompt-type-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow uses “simple” or “flow” based configuration.`})}),`\n`,_jsx(ResponseField,{name:`welcomeMessage`,type:`string`,id:`param-welcome-message-1`,children:_jsx(_components.p,{children:`Welcome message type configuration.`})}),`\n`,_jsx(ResponseField,{name:`customWelcomeMessage`,type:`string`,id:`param-custom-welcome-message-1`,children:_jsx(_components.p,{children:`Custom welcome message text if configured.`})}),`\n`,_jsxs(ResponseField,{name:`flowData`,type:`object`,id:`param-flow-data`,children:[_jsx(_components.p,{children:`The configuration of nodes and edges that define the call routing logic within the flow.`}),_jsx(ResponseField,{name:`nodes`,type:`array`,id:`param-nodes`,children:_jsx(_components.p,{children:`Detailed configuration of the nodes within the call flow.`})}),_jsx(ResponseField,{name:`edges`,type:`array`,id:`param-edges`,children:_jsx(_components.p,{children:`Configurations of the edges connecting nodes within the call flow.`})})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt-1`,children:_jsx(_components.p,{children:`The initial or system prompt used in the call flow.`})}),`\n`,_jsx(ResponseField,{name:`currentPromptId`,type:`string`,id:`param-current-prompt-id`,children:_jsx(_components.p,{children:`ID of the current active prompt version.`})}),`\n`,_jsx(ResponseField,{name:`gemini_prompt`,type:`string`,id:`param-gemini-prompt`,children:_jsx(_components.p,{children:`Sanitized version of the prompt for Gemini processing.`})}),`\n`,_jsx(ResponseField,{name:`startNodeId`,type:`string`,id:`param-start-node-id`,children:_jsx(_components.p,{children:`ID of the starting node for flow-based configurations.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active-1`,children:_jsx(_components.p,{children:`Indicates whether the call flow is currently active or inactive.`})}),`\n`,_jsx(ResponseField,{name:`agentWebhookUrl`,type:`string`,id:`param-agent-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for agent-related events.`})}),`\n`,_jsx(ResponseField,{name:`inboundWebhookUrl`,type:`string`,id:`param-inbound-webhook-url`,children:_jsx(_components.p,{children:`Webhook URL for inbound call events.`})}),`\n`,_jsx(ResponseField,{name:`dynamicVariableCollections`,type:`array`,id:`param-dynamic-variable-collections-1`,children:_jsx(_components.p,{children:`Array of dynamic variable collections configured for the call flow.`})}),`\n`,_jsx(ResponseField,{name:`locations`,type:`array`,id:`param-locations`,children:_jsx(_components.p,{children:`Array of location objects for visual flow positioning.`})}),`\n`,_jsx(ResponseField,{name:`webhooks`,type:`array`,id:`param-webhooks-1`,children:_jsx(_components.p,{children:`Array of configured webhooks with their complete configuration.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security.`}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings with processed values.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance-1`,children:_jsx(_components.p,{children:`HIPAA compliance status (processed from securityOptOut).`})}),_jsx(ResponseField,{name:`publicAccess`,type:`boolean`,id:`param-public-access-1`,children:_jsx(_components.p,{children:`Public access configuration.`})})]})]}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp when the call flow was last updated.`})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`73`,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:`73`,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:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345678\"`}),_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:` \"workspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6764d172953253138a3a70f4\"`}),_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:` \"folderId\"`}),_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:` \"isGlobal\"`}),_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:` \"isPreConfigured\"`}),_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:` \"preConfiguredWorkspaceId\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer Support Flow\"`}),_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:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_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:`\"Handles inbound support calls\"`}),_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:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345679\"`}),_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:` \"promptType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"simple\"`}),_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:` \"welcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_initiated\"`}),_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:` \"customWelcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"flowData\"`}),_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:` \"nodes\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"node1\"`}),_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:`\"start\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Welcome to our support line. How can I help you?\"`})]}),`\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(_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:` \"edges\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_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:` \"currentPromptId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345680\"`}),_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:` \"promptVersions\"`}),_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:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"676b8e123456789012345680\"`}),_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:`\"Prompt Version - 1/15/2025, 3:00:00 PM\"`}),_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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_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:` \"metadata\"`}),_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:` \"notes\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`})]}),`\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:` \"gemini_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Keep the conversation short and friendly.\"`}),_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:` \"startNodeId\"`}),_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:` \"isActive\"`}),_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:` \"agentWebhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"inboundWebhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"dynamicVariableCollections\"`}),_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:` \"locations\"`}),_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:` \"webhooks\"`}),_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:` \"settings\"`}),_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:` \"welcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_initiated\"`}),_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:` \"customWelcomeMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"enableHumanLikeVoiceAndTone\"`}),_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:` \"welcomeMessageDelay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"webhooks\"`}),_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:` \"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"inbound\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customerLocation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new york\"`}),_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:` \"transfers\"`}),_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:` \"knowledgeBases\"`}),_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:` \"utilizePriorCallsContext\"`}),_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:` \"callSettings\"`}),_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:` \"trilletVoiceGuard\"`}),_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:` \"reminderMessages\"`}),_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:` \"security\"`}),_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:` \"hipaaCompliance\"`}),_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:` \"publicAccess\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T15:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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 Call Flow","api":"PUT /v1/api/call-flows/{id}","description":"Update an existing call flow.","href":"/v1/api-reference/endpoints/flows/call-flows/update","hidden":false}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]}]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"","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=\"73\">\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\"> \"_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345678\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspaceId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6764d172953253138a3a70f4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"folderId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isGlobal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isPreConfigured\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"preConfiguredWorkspaceId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\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\">\"Customer Support Flow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"direction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Handles inbound support calls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345679\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"promptType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"simple\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_initiated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customWelcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flowData\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"nodes\"\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:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"node1\"\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\">\"start\"\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\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Welcome to our support line. How can I help you?\"\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\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\"> \"edges\"\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:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currentPromptId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345680\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"promptVersions\"\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:#116329;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"676b8e123456789012345680\"\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\">\"Prompt Version - 1/15/2025, 3:00:00 PM\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\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:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\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\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"gemini_prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Keep the conversation short and friendly.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"startNodeId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isActive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentWebhookUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"inboundWebhookUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dynamicVariableCollections\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"locations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhooks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_initiated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customWelcomeMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enableHumanLikeVoiceAndTone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"welcomeMessageDelay\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhooks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\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:#116329;--shiki-dark:#9CDCFE\"> \"customerLocation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"new york\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transfers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"knowledgeBases\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"utilizePriorCallsContext\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callSettings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trilletVoiceGuard\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reminderMessages\"\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:#116329;--shiki-dark:#9CDCFE\"> \"security\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hipaaCompliance\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"publicAccess\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\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\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-01-15T15:00:00.000Z\"\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 Call Flow","path":"/v1/api/call-flows/{id}","servers":[{"url":"https://api.trillet.ai"}],"method":"put","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"x-api-key":{"schema":[{"type":"string","description":"API key used for authenticating requests to the API.","required":true}]},"x-workspace-id":{"schema":[{"type":"string","description":"Workspace identifier for the API.","required":true}]}},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The unique ID of the call flow to update.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"New name for the flow."}],"description":[{"type":"string","description":"Updated description for the call flow (e.g., “Updated description for inbound calls”)."}],"direction":[{"type":"string","description":"The direction of the call flow. ‘outbound’ or ‘bidirectional’"}],"isActive":[{"type":"boolean","description":"Whether the call flow is currently active."}],"isGlobal":[{"type":"boolean","description":"Whether this is a global call flow (requires special permissions)."}],"promptType":[{"type":"string","description":"The type of prompt used in the call flow “simple”.","required":true}],"prompt":[{"type":"string","description":"The primary prompt for user interaction (used when promptType is ‘simple’)."}],"welcomeMessage":[{"type":"string","description":"Type of welcome message for the call flow. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”."}],"customWelcomeMessage":[{"type":"string","description":"Custom welcome message text (used when welcomeMessage is ‘ai_custom’)."}],"dynamicVariableCollections":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the variable collection.","required":true}],"name":[{"type":"string","description":"Name of the variable collection.","required":true}],"isDefault":[{"type":"boolean","description":"Whether this is the default variable collection."}],"variables":[{"type":"array","items":[{"type":"object","properties":{"key":[{"type":"string","description":"Variable key name."}],"value":[{"type":"string","description":"Variable value."}]}}],"description":"Array of key-value pairs."}]}}],"description":"Collections of dynamic variables for the call flow."}],"settings":[{"type":"object","properties":{"enableHumanLikeVoiceAndTone":[{"type":"boolean","description":"Whether to enable human-like voice and tone."}],"welcomeMessageDelay":[{"type":"number","description":"Delay in seconds before playing the welcome message."}],"customerLocation":[{"type":"string","description":"Default customer location (e.g., “new york”)."}],"utilizePriorCallsContext":[{"type":"boolean","description":"Whether to use context from previous calls."}],"responseSettings":[{"type":"object","properties":{"delay":[{"type":"number","description":"Delay (in seconds) before responding."}],"workingHours":[{"type":"object","properties":{"enabled":[{"type":"boolean","description":"Whether working hours logic is enabled."}],"start":[{"type":"string","description":"Start time for working hours, e.g., “08:00”."}],"end":[{"type":"string","description":"End time for working hours, e.g., “20:00”."}],"timezone":[{"type":"string","description":"Timezone for working hours, e.g., “America/New_York”."}],"outOfHoursMessage":[{"type":"string","description":"Automated reply for out-of-hours calls."}]}}]}}],"security":[{"type":"object","properties":{"hipaaCompliance":[{"type":"boolean","description":"Whether HIPAA compliance is required. When enabled, automatically disables call recording."}],"publicAccess":[{"type":"boolean","description":"Whether public access is allowed."}]}}],"callSetting":[{"type":"object","properties":{"maxCallDuration":[{"type":"number","description":"Maximum call duration (in seconds)."}],"endCallOnSilence":[{"type":"number","description":"Timeout (in seconds) for ending a call if no audio is detected."}],"trilletVoiceGuard":[{"type":"boolean","description":"Whether to enable Trillet voice guard protection."}],"reminderMessages":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of reminder messages to be played during calls."}]}}],"knowledgeBaseFiles":[{"type":"array","items":[{"type":"object","properties":{"filename":[{"type":"string","description":"Name of the knowledge base file."}],"key":[{"type":"string","description":"Storage key for the file."}],"url":[{"type":"string","description":"URL to access the file."}]}}],"description":"Array of knowledge base files associated with the call flow."}],"knowledgeBases":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of knowledge base IDs referenced by the call flow."}],"transfers":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of transfer configurations for the call flow."}]},"description":"Configuration settings for the call flow."}],"webhooks":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the webhook (e.g., “Booking”).","required":true}],"description":[{"type":"string","description":"A brief description of what this webhook does (e.g., “Booking request webhook”)."}],"url":[{"type":"string","description":"The URL to which the webhook will send data (e.g., “ https://example.com/webhook/agent ”).","required":true}],"method":[{"type":"string","description":"HTTP method for the webhook request."}],"headers":[{"type":"object","properties":{},"description":"Headers to be included in the webhook request."}],"body":[{"type":"string","description":"The webhook request body. Can include variable placeholders."}],"variables":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the variable.","required":true}],"description":[{"type":"string","description":"A description of the variable.","required":true}]}}],"description":"A list of variables used in the webhook body for dynamic content generation."}],"responseVariables":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Name of the response variable."}],"path":[{"type":"string","description":"JSON path to extract the value from the response."}],"description":[{"type":"string","description":"Description of the response variable."}]}}],"description":"Variables to extract from the webhook response."}],"isTesting":[{"type":"boolean","description":"Whether this webhook is in testing mode."}],"testResponse":[{"type":"string","description":"Mock response for testing purposes."}],"textToSpeak":[{"type":"string","description":"Text to be spoken when this webhook is triggered."}]}}],"description":"List of webhooks to be added to the call flow. A new webhook will be created for each entry in the array, regardless of the name or if it already exists."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","description":"\u003cstring>","direction":"\u003cstring>","isActive":true,"isGlobal":true,"promptType":"\u003cstring>","prompt":"\u003cstring>","welcomeMessage":"\u003cstring>","customWelcomeMessage":"\u003cstring>","dynamicVariableCollections":[{"id":"\u003cstring>","name":"\u003cstring>","isDefault":true,"variables":[{"key":"\u003cstring>","value":"\u003cstring>"}]}],"settings":{"enableHumanLikeVoiceAndTone":true,"welcomeMessageDelay":123,"customerLocation":"\u003cstring>","utilizePriorCallsContext":true,"responseSettings":{"delay":123,"workingHours":{"enabled":true,"start":"\u003cstring>","end":"\u003cstring>","timezone":"\u003cstring>","outOfHoursMessage":"\u003cstring>"}},"security":{"hipaaCompliance":true,"publicAccess":true},"callSetting":{"maxCallDuration":123,"endCallOnSilence":123,"trilletVoiceGuard":true,"reminderMessages":[{}]},"knowledgeBaseFiles":[{"filename":"\u003cstring>","key":"\u003cstring>","url":"\u003cstring>"}],"knowledgeBases":[{}],"transfers":[{}]},"webhooks":[{"name":"\u003cstring>","description":"\u003cstring>","url":"\u003cstring>","method":"\u003cstring>","headers":{},"body":"\u003cstring>","variables":[{"name":"\u003cstring>","description":"\u003cstring>"}],"responseVariables":[{"name":"\u003cstring>","path":"\u003cstring>","description":"\u003cstring>"}],"isTesting":true,"testResponse":"\u003cstring>","textToSpeak":"\u003cstring>"}]}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"_id":[{"type":"string","description":"The unique identifier for the newly created call flow."}],"workspaceId":[{"type":"string","description":"The identifier of the workspace where the call flow has been created."}],"folderId":[{"type":"string","description":"The identifier of the folder where the call flow is organized."}],"isGlobal":[{"type":"boolean","description":"Whether this is a global call flow."}],"isPreConfigured":[{"type":"boolean","description":"Whether this call flow is pre-configured."}],"preConfiguredWorkspaceId":[{"type":"string","description":"Workspace ID for pre-configured flows."}],"name":[{"type":"string","description":"The name given to the call flow."}],"direction":[{"type":"string","description":"The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”."}],"description":[{"type":"string","description":"A description of what the call flow is designed to handle."}],"agent":[{"type":"string","description":"The identifier of the agent associated with this call flow."}],"promptType":[{"type":"string","description":"Indicates whether the call flow uses “simple” or “flow” based configuration."}],"welcomeMessage":[{"type":"string","description":"Welcome message type configuration."}],"customWelcomeMessage":[{"type":"string","description":"Custom welcome message text if configured."}],"flowData":[{"type":"object","properties":{"nodes":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Detailed configuration of the nodes within the call flow."}],"edges":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Configurations of the edges connecting nodes within the call flow."}]},"description":"The configuration of nodes and edges that define the call routing logic within the flow."}],"prompt":[{"type":"string","description":"The initial or system prompt used in the call flow."}],"currentPromptId":[{"type":"string","description":"ID of the current active prompt version."}],"gemini_prompt":[{"type":"string","description":"Sanitized version of the prompt for Gemini processing."}],"startNodeId":[{"type":"string","description":"ID of the starting node for flow-based configurations."}],"isActive":[{"type":"boolean","description":"Indicates whether the call flow is currently active or inactive."}],"agentWebhookUrl":[{"type":"string","description":"Webhook URL for agent-related events."}],"inboundWebhookUrl":[{"type":"string","description":"Webhook URL for inbound call events."}],"dynamicVariableCollections":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of dynamic variable collections configured for the call flow."}],"locations":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of location objects for visual flow positioning."}],"webhooks":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of configured webhooks with their complete configuration."}],"settings":[{"type":"object","properties":{"security":[{"type":"object","properties":{"hipaaCompliance":[{"type":"boolean","description":"HIPAA compliance status (processed from securityOptOut)."}],"publicAccess":[{"type":"boolean","description":"Public access configuration."}]},"description":"Security settings with processed values."}]},"description":"Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security."}],"createdAt":[{"type":"string","description":"Timestamp when the call flow was created."}],"updatedAt":[{"type":"string","description":"Timestamp when the call flow was last updated."}]}}],"examples":{"example":{"value":{"_id":"\u003cstring>","workspaceId":"\u003cstring>","folderId":"\u003cstring>","isGlobal":true,"isPreConfigured":true,"preConfiguredWorkspaceId":"\u003cstring>","name":"\u003cstring>","direction":"\u003cstring>","description":"\u003cstring>","agent":"\u003cstring>","promptType":"\u003cstring>","welcomeMessage":"\u003cstring>","customWelcomeMessage":"\u003cstring>","flowData":{"nodes":[{}],"edges":[{}]},"prompt":"\u003cstring>","currentPromptId":"\u003cstring>","gemini_prompt":"\u003cstring>","startNodeId":"\u003cstring>","isActive":true,"agentWebhookUrl":"\u003cstring>","inboundWebhookUrl":"\u003cstring>","dynamicVariableCollections":[{}],"locations":[{}],"webhooks":[{}],"settings":{"security":{"hipaaCompliance":true,"publicAccess":true}},"createdAt":"\u003cstring>","updatedAt":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"trilletai","siteName":"Trillet AI","title":"Update Call Flow - Trillet AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-04T12:10:21.799Z","originalFileLocation":"v1/api-reference/endpoints/flows/call-flows/update.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=\"light\"}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 call flow.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trillet AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_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/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Call Flow - Trillet AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing call flow.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trillet AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trilletai.mintlify.site/_mintlify/api/og/v2?division=Call+Flows\u0026amp;title=Update+Call+Flow\u0026amp;description=Update+an+existing+call+flow.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=ce699ebfaee57ab2f55f5024077686dc0ce0b5b780322a1b704805999d4682af\">\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 Call Flow - Trillet AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing call flow.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trilletai.mintlify.site/_mintlify/api/og/v2?division=Call+Flows\u0026amp;title=Update+Call+Flow\u0026amp;description=Update+an+existing+call+flow.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=ce699ebfaee57ab2f55f5024077686dc0ce0b5b780322a1b704805999d4682af\">\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/trilletai/WsSLZfz49PHxmYgQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trillet AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0062E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1/api-reference/endpoints/flows/call-flows/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://trilletai.mintlify.app/#organization\",\"name\":\"Trillet AI\",\"url\":\"https://trilletai.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trilletai/EdcrcTJCQ9witVNd/logo/Trillet-logo-light.png?fit=max\u0026auto=format\u0026n=EdcrcTJCQ9witVNd\u0026q=85\u0026s=07a28a94606d5b153efce99ab90540fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://trilletai.mintlify.app#website\",\"name\":\"Trillet AI\",\"url\":\"https://trilletai.mintlify.app\",\"publisher\":{\"@id\":\"https://trilletai.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update#webpage\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update\",\"name\":\"Update Call Flow\",\"description\":\"Update an existing call flow.\",\"dateModified\":\"2026-03-04T12:10:21.799Z\",\"isPartOf\":{\"@id\":\"https://trilletai.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Call Flows\",\"item\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Call Flow\",\"item\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update#apireference\",\"headline\":\"Update Call Flow\",\"name\":\"Update Call Flow\",\"description\":\"Update an existing call flow.\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update\",\"mainEntityOfPage\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/call-flows/update#webpage\"},\"dateModified\":\"2026-03-04T12:10:21.799Z\",\"publisher\":{\"@id\":\"https://trilletai.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://trilletai.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trillet AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trillet AI","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"Change Log","icon":"clock","pages":[{"title":"Change Log","href":"/changelog/changelog"}]},{"tab":"API Reference V1","icon":"square-terminal","groups":[{"group":"API Reference V1","icon":"square-terminal","pages":[{"title":"API Reference","href":"/v1/api-reference/introduction"},{"title":"Authentication","href":"/v1/api-reference/authentication"}]},{"group":"Workspaces","icon":"briefcase","pages":[{"title":"Create Workspace","api":"POST /v1/api/workspaces","href":"/v1/api-reference/endpoints/workspace/create-workspace"},{"title":"Invite Team Member","api":"POST /v1/api/workspaces/{workspaceId}/invite","href":"/v1/api-reference/endpoints/workspace/invite-team-member"},{"title":"Get Workspace by ID","api":"GET /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/get-workspace-by-id"},{"title":"Get Pending Invitations","api":"GET /v1/api/workspaces/invitations/pending","href":"/v1/api-reference/endpoints/workspace/get-pending-invitation"},{"title":"Update Workspace Name","api":"PUT /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/update-name"},{"title":"Delete Workspace","api":"DELETE /v1/api/workspaces/{workspaceId}","href":"/v1/api-reference/endpoints/workspace/delete-workspace"}]},{"group":"Calls","icon":"phone-volume","pages":[{"title":"Initiate Outbound Call","api":"POST /v1/api/call","href":"/v1/api-reference/endpoints/calls/initiate-call"},{"title":"Export Call History CSV","api":"POST /v2/api/call-history/export-csv","href":"/v1/api-reference/endpoints/calls/call-history/export"},{"title":"List Call Histories","api":"GET /v2/api/call-history","href":"/v1/api-reference/endpoints/calls/call-history/list"},{"title":"Get a Specific Call History","api":"GET /v2/api/call-history/{callHistoryId}","href":"/v1/api-reference/endpoints/calls/call-history/get"},{"title":"Get Phone Numbers","api":"GET /v1/api/twilio/user-phone-numbers","href":"/v1/api-reference/endpoints/calls/call-history/get-phoneNumber"},{"title":"Get Call History Metrics","api":"GET /v2/api/call-history/metrics","href":"/v1/api-reference/endpoints/calls/call-history/metrics"},{"title":"Get Call Recording","api":"GET /v1/api/calls/recordings/{callSid}","href":"/v1/api-reference/endpoints/calls/get-recording"}]},{"group":"Batch Calls","icon":"phone-intercom","pages":[{"title":"Batch Calls Overview","href":"/v1/api-reference/endpoints/calls/batch/overview"},{"title":"Start Batch Calls","api":"POST /v1/api/batch-calls","href":"/v1/api-reference/endpoints/calls/batch/start"},{"title":"List Batch Calls","api":"GET /v1/api/batch-calls/{batchId}/calls","href":"/v1/api-reference/endpoints/calls/batch/list-calls"},{"title":"Get Batch Status","api":"GET /v1/api/batch-calls/{batchId}","href":"/v1/api-reference/endpoints/calls/batch/get-status"},{"title":"Get Batch Progress","api":"GET /v1/api/batch-calls/{batchId}/status","href":"/v1/api-reference/endpoints/calls/batch/get-progress"},{"title":"Get Individual Call Status","api":"GET /v1/api/batch-calls/{batchId}/calls/{jobId}","href":"/v1/api-reference/endpoints/calls/batch/get-call-status"},{"title":"Cancel Batch Operation","api":"DELETE /v1/api/batch-calls/{batchId}","href":"/v1/api-reference/endpoints/calls/batch/cancel"}]},{"group":"Telephony","icon":"phone-office","pages":[{"title":"Bring Your Own Number","api":"POST /v1/api/twilio/register-external-number","href":"/v1/api-reference/endpoints/telephony/register-externalNumber"},{"title":"Assign Phone Number to Agent","api":"POST /v1/api/agents/{agentId}/bind/{phoneNumberId}","href":"/v1/api-reference/endpoints/telephony/bind-call-to-phoneNumber"},{"title":"Unassign Phone Number from Agent","api":"POST /v1/api/agents/{agentId}/release/{phoneNumberId}","href":"/v1/api-reference/endpoints/telephony/unbind-call-to-phoneNumber"},{"title":"Release Phone Number","api":"POST /v1/api/twilio/release-number","href":"/v1/api-reference/endpoints/phone-numbers/release"},{"title":"List Phone Numbers","api":"GET /v1/api/twilio/user-phone-numbers","href":"/v1/api-reference/endpoints/phone-numbers/list"}]},{"group":"Conversations","icon":"comments","pages":[{"title":"Generate Message","api":"POST /v1/api/conversations/message/generate","href":"/v1/api-reference/endpoints/conversations/generateMessage"},{"title":"Handle Message Action","api":"POST /v1/api/conversations/{conversationId}/message/{messageId}/action","href":"/v1/api-reference/endpoints/conversations/messageAction"},{"title":"Edit Customer Details","api":"POST /v1/api/conversations/{conversationId}/customer/edit","href":"/v1/api-reference/endpoints/conversations/editCustomerDetails"},{"title":"Get All Conversations","api":"GET /v1/api/conversations","href":"/v1/api-reference/endpoints/conversations/getAll"},{"title":"Get Conversations By Flow ID","api":"GET /v1/api/conversations/flow/{flowId}","href":"/v1/api-reference/endpoints/conversations/getConvosByFlow"},{"title":"Get Conversation By ID","api":"GET /v1/api/conversations/{conversationId}","href":"/v1/api-reference/endpoints/conversations/getById"},{"title":"Delete Message","api":"DELETE /v1/api/conversations/{conversationId}/message/{messageId}","href":"/v1/api-reference/endpoints/conversations/deleteMessage"},{"title":"Delete Conversation","api":"DELETE /v1/api/conversations/{conversationId}","href":"/v1/api-reference/endpoints/conversations/deleteConvo"}]},{"group":"Folder Management","icon":"folder","pages":[{"title":"Create Flow Folder","api":"POST /v1/api/flow-folders","href":"/v1/api-reference/endpoints/folder/create-folder"},{"title":"Add Flow to Folder","api":"POST /v1/api/flow-folders/{folderId}/flows","href":"/v1/api-reference/endpoints/folder/add-flow-to-folder"},{"title":"Get All Folders for Workspace","api":"GET /v1/api/flow-folders","href":"/v1/api-reference/endpoints/folder/get-all-folders"},{"title":"Get Folder Details with Flows","api":"GET /v1/api/flow-folders/{folderId}","href":"/v1/api-reference/endpoints/folder/get-folder-details"},{"title":"Update Folder","api":"PATCH /v1/api/flow-folders/{folderId}","href":"/v1/api-reference/endpoints/folder/update-folder"},{"title":"Remove Flow from Folder","api":"DELETE /v1/api/flow-folders/{folderId}/flows/{pathwayId}","href":"/v1/api-reference/endpoints/folder/remove-flow-from-folder"},{"title":"Delete Folder","api":"DELETE /v1/api/flow-folders/{folderId}","href":"/v1/api-reference/endpoints/folder/delete-folder"}]},{"group":"Call Flows","icon":"diagram-next","pages":[{"title":"Create Call Flow","api":"POST /v1/api/call-flows","href":"/v1/api-reference/endpoints/flows/call-flows/create"},{"title":"List Call Flows","api":"GET /v1/api/call-flows","href":"/v1/api-reference/endpoints/flows/call-flows/list"},{"title":"Get Call Flow","api":"GET /v1/api/call-flows/{id}","description":"Retrieve a specific call flow by its ID.","href":"/v1/api-reference/endpoints/flows/call-flows/get"},{"title":"Update Call Flow","api":"PUT /v1/api/call-flows/{id}","href":"/v1/api-reference/endpoints/flows/call-flows/update"},{"title":"Delete Call Flow","api":"DELETE /v1/api/call-flows/{id}","description":"Permanently remove a call flow.","href":"/v1/api-reference/endpoints/flows/call-flows/delete"}]},{"group":"Message Flows","icon":"diagram-project","pages":[{"title":"Create Message Flow","api":"POST /v1/api/message-flows","href":"/v1/api-reference/endpoints/flows/message-flows/create"},{"title":"List Message Flows","api":"GET /v1/api/message-flows","href":"/v1/api-reference/endpoints/flows/message-flows/list"},{"title":"Get Message Flow","api":"GET /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/get"},{"title":"Update Message Flow","api":"PUT /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/update"},{"title":"Toggle Autopilot","api":"PUT /v1/api/message-flows/{id}/toggle-autopilot","href":"/v1/api-reference/endpoints/flows/message-flows/toggle-autopilot"},{"title":"Delete Message Flow","api":"DELETE /v1/api/message-flows/{id}","href":"/v1/api-reference/endpoints/flows/message-flows/delete"}]},{"group":"Call Agents","icon":"user-check","pages":[{"title":"Create Call Agent","api":"POST /v1/api/agents","href":"/v1/api-reference/endpoints/agents/call/create"},{"title":"List Call Agents","api":"GET /v1/api/agents","href":"/v1/api-reference/endpoints/agents/call/list"},{"title":"Get Call Agent","api":"GET /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/get"},{"title":"Update Call Agent","api":"PUT /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/update"},{"title":"Delete Call Agent","api":"DELETE /v1/api/agents/{agentId}","href":"/v1/api-reference/endpoints/agents/call/delete"}]},{"group":"Omni Flow Agents (Message)","icon":"users","pages":[{"title":"Create Omni Flow Agent","api":"POST /v1/api/omni-flow-agents","href":"/v1/api-reference/endpoints/agents/omniflow/create"},{"title":"List Omni Flow Agents","api":"GET /v1/api/omni-flow-agents","href":"/v1/api-reference/endpoints/agents/omniflow/list"},{"title":"Get Omni Flow Agent","api":"GET /v1/api/omni-flow-agents/{id}","href":"/v1/api-reference/endpoints/agents/omniflow/get"},{"title":"Update Omni Flow Agent","api":"PUT /v1/api/omni-flow-agents/{agentId}","href":"/v1/api-reference/endpoints/agents/omniflow/update"},{"title":"Delete Omni Flow Agent","api":"DELETE /v1/api/omni-flow-agents/{agentId}","href":"/v1/api-reference/endpoints/agents/omniflow/delete"}]},{"group":"Knowledge Base","icon":"book","pages":[{"title":"Create Knowledge Base","api":"POST /v1/api/knowledgebase","href":"/v1/api-reference/endpoints/knowledge-base/create"},{"title":"Upload File to Knowledge Base","api":"POST /v1/api/knowledgebase/{id}/files","href":"/v1/api-reference/endpoints/knowledge-base/upload-file"},{"title":"Add Text to Knowledge Base","api":"POST /v1/api/knowledgebase/{id}/text","href":"/v1/api-reference/endpoints/knowledge-base/add-text"},{"title":"List Knowledge Bases","api":"GET /v1/api/knowledgebase","href":"/v1/api-reference/endpoints/knowledge-base/list"},{"title":"Get Knowledge Base","api":"GET /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/get"},{"title":"Update Knowledge Base","api":"PUT /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/update"},{"title":"Delete Knowledge Base","api":"DELETE /v1/api/knowledgebase/{id}","href":"/v1/api-reference/endpoints/knowledge-base/delete"}]},{"group":"Active Calls","icon":"phone-flip","pages":[{"title":"List Active Calls","api":"GET /v2/api/active-calls","href":"/v1/api-reference/endpoints/active-calls/list"},{"title":"Get Active Call Details","api":"GET /v2/api/active-calls/{roomName}","href":"/v1/api-reference/endpoints/active-calls/get"},{"title":"Get Call Insights","api":"GET /v2/api/active-calls/{roomName}/insights","href":"/v1/api-reference/endpoints/active-calls/get-insights"}]},{"group":"Recordings","icon":"circle-dot","pages":[{"title":"Get Recording","api":"GET /v2/api/recordings/{callHistoryId}","href":"/v1/api-reference/endpoints/recordings/get"}]}]}]},"basePath":"","title":"Update Call Flow - Trillet AI","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js"]}