The timestamp when the message flow was last updated.
{ "_id": "exampleId1", "workspaceId": "exampleWorkspaceId1", "name": "New Years Sale", "direction": "bidirectional", "description": "Handles customer support inquiries via SMS", "agent": "exampleAgentId1", "settings": { "responseSettings": { "delay": 0, "workingHours": { "enabled": false, "start": "09:00", "end": "17:00", "timezone": "UTC", "outOfHoursMessage": "" } }, "security": { "hipaaCompliance": false }, "emailSettings": { "subjectLine": "Follow Up on Your Inquiry", "signature": "Regards" } }, "prompt": "You are a helpful AI that responds to user inquiries.", "isActive": true, "autopilot": true, "messageChannel": "SMS", "createdAt": "2025-01-02T10:15:00Z", "updatedAt": "2025-01-02T10:15:00Z"}
{"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/message-flows/update","slug":"/v1/api-reference/endpoints/flows/message-flows/update","pageMetadata":{"title":"Update Message Flow","api":"PUT /v1/api/message-flows/{id}","description":"Update an existing message flow with partial or full settings.","href":"/v1/api-reference/endpoints/flows/message-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 message flow with partial or full settings.\"\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={p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,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:`3`,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 identifier of the message flow to update.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Update the description for this message flow.`})}),`\n`,_jsx(ParamField,{body:`toggleAutopilot`,type:`boolean`,id:`param-toggle-autopilot`,children:_jsx(_components.p,{children:`If present and set to true, this toggles the autopilot setting.`})}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Configuration settings for the message flow.`}),_jsxs(Expandable,{title:`settings`,children:[_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., “09:00”.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time for working hours, e.g., “17:00”.`})}),_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`Timezone for working hours, e.g., “UTC”.`})}),_jsx(ParamField,{body:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message`,children:_jsx(_components.p,{children:`Automated reply for out-of-hours messages.`})})]})})]})}),_jsx(ParamField,{body:`security`,type:`object`,id:`param-security`,children:_jsx(Expandable,{title:`security`,children:_jsx(ParamField,{body:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`Whether HIPAA compliance is required.`})})})}),_jsx(ParamField,{body:`emailSettings`,type:`object`,id:`param-email-settings`,children:_jsxs(Expandable,{title:`emailSettings`,children:[_jsx(ParamField,{body:`subjectLine`,type:`string`,id:`param-subject-line`,children:_jsx(_components.p,{children:`Default subject line for emails sent in this flow, e.g., “Follow Up on Your Inquiry”.`})}),_jsx(ParamField,{body:`signature`,type:`string`,id:`param-signature`,children:_jsx(_components.p,{children:`Signature appended to email messages, e.g., “Regards”.`})})]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier for the message flow that was updated.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the message flow is configured.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the message flow. While not specified as updated in the request body, it remains a critical part of the response for context.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction`,children:_jsx(_components.p,{children:`Indicates the direction of the message flow, such as “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`The updated description of what the message 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 message flow.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`The configuration settings for the message flow, detailing updated and existing settings.`}),_jsxs(ResponseField,{name:`responseSettings`,type:`object`,id:`param-response-settings-1`,children:[_jsx(_components.p,{children:`Settings related to the timing and conditions under which responses are issued within the message flow.`}),_jsx(ResponseField,{name:`delay`,type:`number`,id:`param-delay-1`,children:_jsx(_components.p,{children:`The delay in seconds before a response is issued.`})}),_jsxs(ResponseField,{name:`workingHours`,type:`object`,id:`param-working-hours-1`,children:[_jsx(_components.p,{children:`Configuration for working hours during which the message flow is active.`}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled-1`,children:_jsx(_components.p,{children:`Whether working hours are enabled.`})}),_jsx(ResponseField,{name:`start`,type:`string`,id:`param-start-1`,children:_jsx(_components.p,{children:`Start time of the working hours.`})}),_jsx(ResponseField,{name:`end`,type:`string`,id:`param-end-1`,children:_jsx(_components.p,{children:`End time of the working hours.`})}),_jsx(ResponseField,{name:`timezone`,type:`string`,id:`param-timezone-1`,children:_jsx(_components.p,{children:`Timezone applicable to the working hours.`})}),_jsx(ResponseField,{name:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message-1`,children:_jsx(_components.p,{children:`Message to be delivered outside of working hours.`})})]})]}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings for the message flow, including HIPAA compliance status.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance-1`,children:_jsx(_components.p,{children:`Indicates if HIPAA compliance is enforced.`})})]}),_jsxs(ResponseField,{name:`emailSettings`,type:`object`,id:`param-email-settings-1`,children:[_jsx(_components.p,{children:`Email settings for managing email-based message flows.`}),_jsx(ResponseField,{name:`subjectLine`,type:`string`,id:`param-subject-line-1`,children:_jsx(_components.p,{children:`The subject line used for emails sent in this flow.`})}),_jsx(ResponseField,{name:`signature`,type:`string`,id:`param-signature-1`,children:_jsx(_components.p,{children:`The email signature appended to messages.`})})]})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`The system or initial prompt set for the AI agent in the message flow.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Indicates whether the message flow is currently active.`})}),`\n`,_jsx(ResponseField,{name:`autopilot`,type:`boolean`,id:`param-autopilot`,children:_jsx(_components.p,{children:`Specifies whether autopilot is enabled or disabled after the update.`})}),`\n`,_jsx(ResponseField,{name:`messageChannel`,type:`string`,id:`param-message-channel`,children:_jsx(_components.p,{children:`The type of communication channel used by the message flow, such as “SMS”.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`The timestamp when the message flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The timestamp when the message 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 Message Flow","api":"PUT /v1/api/message-flows/{id}","description":"Update an existing message flow with partial or full settings.","href":"/v1/api-reference/endpoints/flows/message-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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,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:`3`,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 identifier of the message flow to update.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Update the description for this message flow.`})}),`\n`,_jsx(ParamField,{body:`toggleAutopilot`,type:`boolean`,id:`param-toggle-autopilot`,children:_jsx(_components.p,{children:`If present and set to true, this toggles the autopilot setting.`})}),`\n`,_jsxs(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:[_jsx(_components.p,{children:`Configuration settings for the message flow.`}),_jsxs(Expandable,{title:`settings`,children:[_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., “09:00”.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time for working hours, e.g., “17:00”.`})}),_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`Timezone for working hours, e.g., “UTC”.`})}),_jsx(ParamField,{body:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message`,children:_jsx(_components.p,{children:`Automated reply for out-of-hours messages.`})})]})})]})}),_jsx(ParamField,{body:`security`,type:`object`,id:`param-security`,children:_jsx(Expandable,{title:`security`,children:_jsx(ParamField,{body:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance`,children:_jsx(_components.p,{children:`Whether HIPAA compliance is required.`})})})}),_jsx(ParamField,{body:`emailSettings`,type:`object`,id:`param-email-settings`,children:_jsxs(Expandable,{title:`emailSettings`,children:[_jsx(ParamField,{body:`subjectLine`,type:`string`,id:`param-subject-line`,children:_jsx(_components.p,{children:`Default subject line for emails sent in this flow, e.g., “Follow Up on Your Inquiry”.`})}),_jsx(ParamField,{body:`signature`,type:`string`,id:`param-signature`,children:_jsx(_components.p,{children:`Signature appended to email messages, e.g., “Regards”.`})})]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier for the message flow that was updated.`})}),`\n`,_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`The identifier of the workspace where the message flow is configured.`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the message flow. While not specified as updated in the request body, it remains a critical part of the response for context.`})}),`\n`,_jsx(ResponseField,{name:`direction`,type:`string`,id:`param-direction`,children:_jsx(_components.p,{children:`Indicates the direction of the message flow, such as “bidirectional”.`})}),`\n`,_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`The updated description of what the message 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 message flow.`})}),`\n`,_jsxs(ResponseField,{name:`settings`,type:`object`,id:`param-settings-1`,children:[_jsx(_components.p,{children:`The configuration settings for the message flow, detailing updated and existing settings.`}),_jsxs(ResponseField,{name:`responseSettings`,type:`object`,id:`param-response-settings-1`,children:[_jsx(_components.p,{children:`Settings related to the timing and conditions under which responses are issued within the message flow.`}),_jsx(ResponseField,{name:`delay`,type:`number`,id:`param-delay-1`,children:_jsx(_components.p,{children:`The delay in seconds before a response is issued.`})}),_jsxs(ResponseField,{name:`workingHours`,type:`object`,id:`param-working-hours-1`,children:[_jsx(_components.p,{children:`Configuration for working hours during which the message flow is active.`}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled-1`,children:_jsx(_components.p,{children:`Whether working hours are enabled.`})}),_jsx(ResponseField,{name:`start`,type:`string`,id:`param-start-1`,children:_jsx(_components.p,{children:`Start time of the working hours.`})}),_jsx(ResponseField,{name:`end`,type:`string`,id:`param-end-1`,children:_jsx(_components.p,{children:`End time of the working hours.`})}),_jsx(ResponseField,{name:`timezone`,type:`string`,id:`param-timezone-1`,children:_jsx(_components.p,{children:`Timezone applicable to the working hours.`})}),_jsx(ResponseField,{name:`outOfHoursMessage`,type:`string`,id:`param-out-of-hours-message-1`,children:_jsx(_components.p,{children:`Message to be delivered outside of working hours.`})})]})]}),_jsxs(ResponseField,{name:`security`,type:`object`,id:`param-security-1`,children:[_jsx(_components.p,{children:`Security settings for the message flow, including HIPAA compliance status.`}),_jsx(ResponseField,{name:`hipaaCompliance`,type:`boolean`,id:`param-hipaa-compliance-1`,children:_jsx(_components.p,{children:`Indicates if HIPAA compliance is enforced.`})})]}),_jsxs(ResponseField,{name:`emailSettings`,type:`object`,id:`param-email-settings-1`,children:[_jsx(_components.p,{children:`Email settings for managing email-based message flows.`}),_jsx(ResponseField,{name:`subjectLine`,type:`string`,id:`param-subject-line-1`,children:_jsx(_components.p,{children:`The subject line used for emails sent in this flow.`})}),_jsx(ResponseField,{name:`signature`,type:`string`,id:`param-signature-1`,children:_jsx(_components.p,{children:`The email signature appended to messages.`})})]})]}),`\n`,_jsx(ResponseField,{name:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`The system or initial prompt set for the AI agent in the message flow.`})}),`\n`,_jsx(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active`,children:_jsx(_components.p,{children:`Indicates whether the message flow is currently active.`})}),`\n`,_jsx(ResponseField,{name:`autopilot`,type:`boolean`,id:`param-autopilot`,children:_jsx(_components.p,{children:`Specifies whether autopilot is enabled or disabled after the update.`})}),`\n`,_jsx(ResponseField,{name:`messageChannel`,type:`string`,id:`param-message-channel`,children:_jsx(_components.p,{children:`The type of communication channel used by the message flow, such as “SMS”.`})}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`The timestamp when the message flow was created.`})}),`\n`,_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The timestamp when the message flow was last updated.`})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`34`,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:`34`,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:`\"exampleId1\"`}),_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:`\"exampleWorkspaceId1\"`}),_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:`\"New Years Sale\"`}),_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:`\"bidirectional\"`}),_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 customer support inquiries via SMS\"`}),_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:`\"exampleAgentId1\"`}),_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:` \"responseSettings\"`}),_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:` \"delay\"`}),_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:` \"workingHours\"`}),_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:` \"enabled\"`}),_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:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"09:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"17:00\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UTC\"`}),_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:` \"outOfHoursMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"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`})]}),`\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:` \"emailSettings\"`}),_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:` \"subjectLine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Follow Up on Your Inquiry\"`}),_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:` \"signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Regards\"`})]}),`\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:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are a helpful AI that responds to user inquiries.\"`}),_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:` \"autopilot\"`}),_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:` \"messageChannel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SMS\"`}),_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-02T10:15:00Z\"`}),_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-02T10:15:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\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 Message Flow","api":"PUT /v1/api/message-flows/{id}","description":"Update an existing message flow with partial or full settings.","href":"/v1/api-reference/endpoints/flows/message-flows/update","hidden":false}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"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=\"34\">\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\">\"exampleId1\"\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\">\"exampleWorkspaceId1\"\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\">\"New Years Sale\"\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\">\"bidirectional\"\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 customer support inquiries via SMS\"\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\">\"exampleAgentId1\"\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\"> \"responseSettings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"delay\"\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\"> \"workingHours\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enabled\"\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\"> \"start\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"09:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"end\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"17:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timezone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"UTC\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"outOfHoursMessage\"\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:#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>\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\"> \"emailSettings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subjectLine\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Follow Up on Your Inquiry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"signature\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Regards\"\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\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"You are a helpful AI that responds to user inquiries.\"\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\"> \"autopilot\"\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\"> \"messageChannel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SMS\"\u003c/span>\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-02T10:15:00Z\"\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-02T10:15:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update Message Flow","path":"/v1/api/message-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 identifier of the message flow to update.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"description":[{"type":"string","description":"Update the description for this message flow."}],"toggleAutopilot":[{"type":"boolean","description":"If present and set to true, this toggles the autopilot setting."}],"settings":[{"type":"object","properties":{"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., “09:00”."}],"end":[{"type":"string","description":"End time for working hours, e.g., “17:00”."}],"timezone":[{"type":"string","description":"Timezone for working hours, e.g., “UTC”."}],"outOfHoursMessage":[{"type":"string","description":"Automated reply for out-of-hours messages."}]}}]}}],"security":[{"type":"object","properties":{"hipaaCompliance":[{"type":"boolean","description":"Whether HIPAA compliance is required."}]}}],"emailSettings":[{"type":"object","properties":{"subjectLine":[{"type":"string","description":"Default subject line for emails sent in this flow, e.g., “Follow Up on Your Inquiry”."}],"signature":[{"type":"string","description":"Signature appended to email messages, e.g., “Regards”."}]}}]},"description":"Configuration settings for the message flow."}]}}],"examples":{"example":{"value":{"description":"\u003cstring>","toggleAutopilot":true,"settings":{"responseSettings":{"delay":123,"workingHours":{"enabled":true,"start":"\u003cstring>","end":"\u003cstring>","timezone":"\u003cstring>","outOfHoursMessage":"\u003cstring>"}},"security":{"hipaaCompliance":true},"emailSettings":{"subjectLine":"\u003cstring>","signature":"\u003cstring>"}}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"_id":[{"type":"string","description":"The unique identifier for the message flow that was updated."}],"workspaceId":[{"type":"string","description":"The identifier of the workspace where the message flow is configured."}],"name":[{"type":"string","description":"The name of the message flow. While not specified as updated in the request body, it remains a critical part of the response for context."}],"direction":[{"type":"string","description":"Indicates the direction of the message flow, such as “bidirectional”."}],"description":[{"type":"string","description":"The updated description of what the message flow is designed to handle."}],"agent":[{"type":"string","description":"The identifier of the agent associated with this message flow."}],"settings":[{"type":"object","properties":{"responseSettings":[{"type":"object","properties":{"delay":[{"type":"number","description":"The delay in seconds before a response is issued."}],"workingHours":[{"type":"object","properties":{"enabled":[{"type":"boolean","description":"Whether working hours are enabled."}],"start":[{"type":"string","description":"Start time of the working hours."}],"end":[{"type":"string","description":"End time of the working hours."}],"timezone":[{"type":"string","description":"Timezone applicable to the working hours."}],"outOfHoursMessage":[{"type":"string","description":"Message to be delivered outside of working hours."}]},"description":"Configuration for working hours during which the message flow is active."}]},"description":"Settings related to the timing and conditions under which responses are issued within the message flow."}],"security":[{"type":"object","properties":{"hipaaCompliance":[{"type":"boolean","description":"Indicates if HIPAA compliance is enforced."}]},"description":"Security settings for the message flow, including HIPAA compliance status."}],"emailSettings":[{"type":"object","properties":{"subjectLine":[{"type":"string","description":"The subject line used for emails sent in this flow."}],"signature":[{"type":"string","description":"The email signature appended to messages."}]},"description":"Email settings for managing email-based message flows."}]},"description":"The configuration settings for the message flow, detailing updated and existing settings."}],"prompt":[{"type":"string","description":"The system or initial prompt set for the AI agent in the message flow."}],"isActive":[{"type":"boolean","description":"Indicates whether the message flow is currently active."}],"autopilot":[{"type":"boolean","description":"Specifies whether autopilot is enabled or disabled after the update."}],"messageChannel":[{"type":"string","description":"The type of communication channel used by the message flow, such as “SMS”."}],"createdAt":[{"type":"string","description":"The timestamp when the message flow was created."}],"updatedAt":[{"type":"string","description":"The timestamp when the message flow was last updated."}]}}],"examples":{"example":{"value":{"_id":"\u003cstring>","workspaceId":"\u003cstring>","name":"\u003cstring>","direction":"\u003cstring>","description":"\u003cstring>","agent":"\u003cstring>","settings":{"responseSettings":{"delay":123,"workingHours":{"enabled":true,"start":"\u003cstring>","end":"\u003cstring>","timezone":"\u003cstring>","outOfHoursMessage":"\u003cstring>"}},"security":{"hipaaCompliance":true},"emailSettings":{"subjectLine":"\u003cstring>","signature":"\u003cstring>"}},"prompt":"\u003cstring>","isActive":true,"autopilot":true,"messageChannel":"\u003cstring>","createdAt":"\u003cstring>","updatedAt":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"trilletai","siteName":"Trillet AI","title":"Update Message Flow - Trillet AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-04T12:10:21.846Z","originalFileLocation":"v1/api-reference/endpoints/flows/message-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 message flow with partial or full settings.\">\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 Message Flow - Trillet AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing message flow with partial or full settings.\">\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/message-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=Message+Flows\u0026amp;title=Update+Message+Flow\u0026amp;description=Update+an+existing+message+flow+with+partial+or+full+settings.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=294182d3100952bfb2cbd643f58396ddb59e749064090a3b442f7112b0b5dcc0\">\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 Message Flow - Trillet AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing message flow with partial or full settings.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trilletai.mintlify.site/_mintlify/api/og/v2?division=Message+Flows\u0026amp;title=Update+Message+Flow\u0026amp;description=Update+an+existing+message+flow+with+partial+or+full+settings.\u0026amp;theme=ad4cc57a896f08cb575728ab\u0026amp;signature=294182d3100952bfb2cbd643f58396ddb59e749064090a3b442f7112b0b5dcc0\">\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/message-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/message-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/message-flows/update#webpage\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update\",\"name\":\"Update Message Flow\",\"description\":\"Update an existing message flow with partial or full settings.\",\"dateModified\":\"2026-03-04T12:10:21.846Z\",\"isPartOf\":{\"@id\":\"https://trilletai.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Message Flows\",\"item\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Message Flow\",\"item\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update#apireference\",\"headline\":\"Update Message Flow\",\"name\":\"Update Message Flow\",\"description\":\"Update an existing message flow with partial or full settings.\",\"url\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update\",\"mainEntityOfPage\":{\"@id\":\"https://trilletai.mintlify.app/v1/api-reference/endpoints/flows/message-flows/update#webpage\"},\"dateModified\":\"2026-03-04T12:10:21.846Z\",\"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}","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}","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}","description":"Retrieve a specific message flow.","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","description":"Toggle the autopilot mode of an existing message flow.","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 Message 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"]}