{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Chat API","colors":{"primary":"#128C7E","light":"#25D366","dark":"#075E54"},"appearance":{"default":"dark","strict":true},"background":{"decoration":"windows"},"contextual":{"options":["copy","chatgpt","claude","view"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"doc-7dfdf753","hasAudioNarration":false,"actualSubdomain":"doc-7dfdf753","customDomains":["docs.chat.voicebot.studio"],"gitSource":{"type":"github","owner":"qnova-ac","repo":"healvi-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae929ed0c4f53f93336c3c6:success","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":83},{"language":"default","tag":"Endpoint Groups","count":82},{"language":"default","tag":"Workflow","count":82},{"language":"default","tag":"Conversations","count":16},{"language":"default","tag":"Profiles","count":9},{"language":"default","tag":"Messages","count":8},{"language":"default","tag":"Settings","count":6},{"language":"default","tag":"Whatsapp","count":6},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Support","count":5}]},"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":"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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.3) transparent}#sidebar::-webkit-scrollbar{width:6px}#sidebar::-webkit-scrollbar-track{background:transparent;border-radius:10px}#sidebar::-webkit-scrollbar-thumb{background:rgba(156, 163, 175, 0.3);border-radius:10px;transition:all 0.2s ease}#sidebar::-webkit-scrollbar-thumb:hover{background:rgba(156, 163, 175, 0.5)}#sidebar-content{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.3) transparent}#sidebar-content::-webkit-scrollbar{width:6px}#sidebar-content::-webkit-scrollbar-track{background:transparent;border-radius:10px}#sidebar-content::-webkit-scrollbar-thumb{background:rgba(156, 163, 175, 0.3);border-radius:10px;transition:all 0.2s ease}#sidebar-content::-webkit-scrollbar-thumb:hover{background:rgba(156, 163, 175, 0.5)}.modern-scrollbar-alternative #sidebar::-webkit-scrollbar{width:8px}.modern-scrollbar-alternative #sidebar::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.05);border-radius:4px}.modern-scrollbar-alternative #sidebar::-webkit-scrollbar-thumb{background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);border-radius:4px;transition:all 0.3s ease}.modern-scrollbar-alternative #sidebar::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);transform:scale(1.1)}@media (prefers-color-scheme: dark){#sidebar::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}#sidebar::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}#sidebar-content::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}#sidebar-content::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}.modern-scrollbar-alternative #sidebar::-webkit-scrollbar-track{background:rgba(255, 255, 255, 0.05)}}.mac-style-scrollbar #sidebar::-webkit-scrollbar{width:12px}.mac-style-scrollbar #sidebar::-webkit-scrollbar-track{background:transparent}.mac-style-scrollbar #sidebar::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border:3px solid transparent;background-clip:padding-box;border-radius:10px;transition:all 0.2s ease}.mac-style-scrollbar #sidebar::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.4);background-clip:padding-box}#content-area,#content-container,.mdx-content,body,html{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.3) transparent}#content-area::-webkit-scrollbar,#content-container::-webkit-scrollbar,.mdx-content::-webkit-scrollbar,body::-webkit-scrollbar,html::-webkit-scrollbar{width:8px}#content-area::-webkit-scrollbar-track,#content-container::-webkit-scrollbar-track,.mdx-content::-webkit-scrollbar-track,body::-webkit-scrollbar-track,html::-webkit-scrollbar-track{background:transparent;border-radius:10px}#content-area::-webkit-scrollbar-thumb,#content-container::-webkit-scrollbar-thumb,.mdx-content::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,html::-webkit-scrollbar-thumb{background:rgba(156, 163, 175, 0.4);border-radius:10px;transition:all 0.2s ease}#content-area::-webkit-scrollbar-thumb:hover,#content-container::-webkit-scrollbar-thumb:hover,.mdx-content::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,html::-webkit-scrollbar-thumb:hover{background:rgba(156, 163, 175, 0.6)}@media (prefers-color-scheme: dark){#content-area::-webkit-scrollbar-thumb,#content-container::-webkit-scrollbar-thumb,.mdx-content::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,html::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.25)}#content-area::-webkit-scrollbar-thumb:hover,#content-container::-webkit-scrollbar-thumb:hover,.mdx-content::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,html::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.4)}}@supports (scrollbar-width: thin){#sidebar{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.3) transparent}#sidebar-content{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.3) transparent}#content-area,#content-container,.mdx-content,body,html{scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.4) transparent}}body::before{content:'';position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg, \n rgba(37, 211, 102, 0.03) 0%, \n rgba(18, 140, 126, 0.05) 50%, \n rgba(7, 94, 84, 0.03) 100%);pointer-events:none;z-index:-1}.modern-geometric body::before{background:radial-gradient(circle at 20% 20%, rgba(37, 211, 102, 0.1) 0%, transparent 50%),\n radial-gradient(circle at 80% 80%, rgba(18, 140, 126, 0.08) 0%, transparent 50%),\n radial-gradient(circle at 40% 70%, rgba(7, 94, 84, 0.06) 0%, transparent 50%)}.animated-mesh body::before{background:linear-gradient(45deg, \n rgba(37, 211, 102, 0.05), \n rgba(18, 140, 126, 0.03), \n rgba(7, 94, 84, 0.05), \n rgba(37, 211, 102, 0.02));background-size:400% 400%;animation:meshMove 15s ease infinite}@keyframes meshMove{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}.dot-pattern body::before{background-image:radial-gradient(circle, rgba(37, 211, 102, 0.1) 1px, transparent 1px);background-size:20px 20px;background-position:0 0, 10px 10px}.grid-pattern body::before{background-image:linear-gradient(rgba(37, 211, 102, 0.03) 1px, transparent 1px),\n linear-gradient(90deg, rgba(37, 211, 102, 0.03) 1px, transparent 1px);background-size:50px 50px}body::after{content:'';position:fixed;top:0;left:0;width:100%;height:200px;background:linear-gradient(180deg, \n rgba(37, 211, 102, 0.08) 0%, \n rgba(18, 140, 126, 0.04) 50%, \n transparent 100%);pointer-events:none;z-index:-1}.almond-nav-bottom-section,#sidebar .almond-nav-bottom-section,.sidebar-group:last-child,#sidebar>div:last-child,[class*=\"bottom-section\"],[class*=\"nav-bottom\"],[class*=\"sidebar\"]>div:last-child,[class*=\"navigation\"]>div:last-child,#sidebar div[class*=\"maple\"],#sidebar div[style*=\"background\"],#sidebar>div,#sidebar-content>div,#sidebar *{background:transparent!important;background-color:transparent!important}#sidebar,#sidebar *:not(.icon):not(svg):not(path){background:transparent!important;background-color:transparent!important;backdrop-filter:none!important}#sidebar::-webkit-scrollbar-thumb,#sidebar-content::-webkit-scrollbar-thumb{background:rgba(156, 163, 175, 0.3)!important}.almond-nav-bottom-section-divider{background:rgba(255, 255, 255, 0.1)!important}@media (prefers-color-scheme: dark){body::before{background:linear-gradient(135deg, \n rgba(37, 211, 102, 0.05) 0%, \n rgba(18, 140, 126, 0.08) 50%, \n rgba(7, 94, 84, 0.06) 100%)}body::after{background:linear-gradient(180deg, \n rgba(37, 211, 102, 0.1) 0%, \n rgba(18, 140, 126, 0.06) 50%, \n transparent 100%)}.modern-geometric body::before{background:radial-gradient(circle at 20% 20%, rgba(37, 211, 102, 0.15) 0%, transparent 50%),\n radial-gradient(circle at 80% 80%, rgba(18, 140, 126, 0.12) 0%, transparent 50%),\n radial-gradient(circle at 40% 70%, rgba(7, 94, 84, 0.08) 0%, transparent 50%)}.almond-nav-bottom-section,#sidebar .almond-nav-bottom-section,.sidebar-group:last-child,#sidebar>div:last-child{background:transparent!important;border-top:1px solid rgba(255, 255, 255, 0.05)!important}}"}],"page":{"pagePath":"api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages","slug":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages","pageMetadata":{"title":"Add a message to a conversation","description":"Add a message from the agent to a conversation.","openapi":"api-reference/openapi.json post /conversations/{conversationId}/messages","href":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages"},"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: \"Add a message from the agent to a conversation.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add a message to a conversation","description":"Add a message from the agent to a conversation.","openapi":"api-reference/openapi.json post /conversations/{conversationId}/messages","href":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Add a message from the agent to a conversation.","tags":["messages"],"parameters":["3fd22a34-eca8-4d5f-a402-858fd4137ac9"],"requestBody":"21a8b98a-4ee2-41ab-8b87-b9114a14feff","responses":{"200":"abefc3bc-5342-4e90-91fe-76dcce9f0411"},"method":"post","type":"path","servers":["e6fd8218-61fe-4be6-a974-34298f2974a9"],"security":["35b30358-3378-44cc-adaa-dfffb7b7022c"],"path":"/conversations/{conversationId}/messages","baseUrlOptions":["https://1-some-client.some-server.healvi-chat/third-party/v1"],"title":"Add a message from the agent to a conversation.","description":"Add a message from the agent to a conversation.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3fd22a34-eca8-4d5f-a402-858fd4137ac9":{"in":"path","name":"conversationId","schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"type","typeLabel":"string"},"reference_id":{"oneOf":[{"description":"ID of message within the same conversation this message is referring to.","type":"integer","uniqueKey":"reference_id.oneOf.0","typeLabel":"integer"},{"description":"ID of message within the same conversation this message is referring to.","type":"null","uniqueKey":"reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_id","typeLabel":"integer | null"},"text":{"type":"object","properties":{"content":{"type":"string","uniqueKey":"text.content","typeLabel":"string"}},"uniqueKey":"text","typeLabel":"object"},"image":{"type":"object","properties":{"caption":{"oneOf":[{"type":"string","uniqueKey":"image.caption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"image.caption.oneOf.1","typeLabel":"null"}],"uniqueKey":"image.caption","typeLabel":"string | null"}},"uniqueKey":"image","typeLabel":"object"},"video":{"type":"object","properties":{"caption":{"oneOf":[{"type":"string","uniqueKey":"video.caption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"video.caption.oneOf.1","typeLabel":"null"}],"uniqueKey":"video.caption","typeLabel":"string | null"}},"uniqueKey":"video","typeLabel":"object"},"audio":{"type":"object","properties":{"voice":{"type":"boolean","uniqueKey":"audio.voice","typeLabel":"boolean"}},"uniqueKey":"audio","typeLabel":"object"},"document":{"type":"object","properties":{"filename":{"oneOf":[{"type":"string","uniqueKey":"document.filename.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.filename.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.filename","typeLabel":"string | null"},"caption":{"oneOf":[{"type":"string","uniqueKey":"document.caption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.caption.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.caption","typeLabel":"string | null"}},"uniqueKey":"document","typeLabel":"object"},"location":{"type":"object","properties":{"latitude":{"type":"string","uniqueKey":"location.latitude","typeLabel":"string"},"longitude":{"type":"string","uniqueKey":"location.longitude","typeLabel":"string"},"remaining_fields":{"type":"string","example":"See location schema.","uniqueKey":"location.remaining_fields","typeLabel":"string"}},"uniqueKey":"location","typeLabel":"object"},"contact":{"type":"object","properties":{"name":{"type":"object","properties":{"formatted_name":{"type":"string","uniqueKey":"contact.name.formatted_name","typeLabel":"string"}},"uniqueKey":"contact.name","typeLabel":"object"},"remaining_fields":{"type":"string","example":"See contact schema.","uniqueKey":"contact.remaining_fields","typeLabel":"string"}},"uniqueKey":"contact","typeLabel":"object"},"file":{"description":"Used when type is image / video / audio / document.","type":"object","properties":{"url":{"description":"URL of file to download and re-upload to target messenger service.\nURL must be available from public. If you do not want to host the file yourself,\nuse the temporary upload endpoint for files.\n","type":"string","uniqueKey":"file.url","typeLabel":"string"},"mime_type":{"description":"Type of file.","type":"string","uniqueKey":"file.mime_type","typeLabel":"string"},"size":{"description":"Size of file in bytes.","type":"integer","uniqueKey":"file.size","typeLabel":"integer"},"internal_uuid":{"oneOf":[{"description":"See the temporary upload endpoint for files.\nURL field will be ignored when UUID is given.\n","type":"string","uniqueKey":"file.internal_uuid.oneOf.0","typeLabel":"string"},{"description":"See the temporary upload endpoint for files.\nURL field will be ignored when UUID is given.\n","type":"null","uniqueKey":"file.internal_uuid.oneOf.1","typeLabel":"null"}],"uniqueKey":"file.internal_uuid","typeLabel":"string | null"}},"uniqueKey":"file","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","reference_id":123,"text":{"content":"\u003cstring>"},"image":{"caption":"\u003cstring>"},"video":{"caption":"\u003cstring>"},"audio":{"voice":true},"document":{"filename":"\u003cstring>","caption":"\u003cstring>"},"location":{"latitude":"\u003cstring>","longitude":"\u003cstring>","remaining_fields":"See location schema."},"contact":{"name":{"formatted_name":"\u003cstring>"},"remaining_fields":"See contact schema."},"file":{"url":"\u003cstring>","mime_type":"\u003cstring>","size":123,"internal_uuid":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"abefc3bc-5342-4e90-91fe-76dcce9f0411":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"description":"A message within a conversation.","type":"object","properties":{"id":{"type":"integer","description":"Internal ID.","uniqueKey":"data.id","typeLabel":"integer"},"conversation_id":{"type":"integer","description":"Foreign ID of related conversation.","uniqueKey":"data.conversation_id","typeLabel":"integer"},"from":{"description":"Who wrote the message.","type":"string","enum":["system","agent","customer"],"uniqueKey":"data.from","typeLabel":"enum\u003cstring>"},"source":{"description":"What triggered the message.","type":"string","enum":["user","whatsapp-campaign"],"uniqueKey":"data.source","typeLabel":"enum\u003cstring>"},"user_id":{"oneOf":[{"description":"Id of user who created this message.","type":"integer","uniqueKey":"data.user_id.oneOf.0","typeLabel":"integer"},{"description":"Id of user who created this message.","type":"null","uniqueKey":"data.user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user_id","typeLabel":"integer | null"},"contents":{"description":"A message can contain multiple contents when receiving.\nUsually it is just one item. For example when sending multiple\ncontacts with WhatsApp, it will generate one message with multiple\ncontacts within the contents array. When sending, only one item in the\narray is allowed.\n","type":"array","items":{"type":"any","uniqueKey":"data.contents.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.contents","typeLabel":"any[]"},"status":{"description":"Status of message. Created messages have not been sent yet via external API.","type":"string","enum":["created","sent","delivered","read","error"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"agent_reaction":{"oneOf":[{"description":"String containing a single emoji.","type":"string","uniqueKey":"data.agent_reaction.oneOf.0","typeLabel":"string"},{"description":"String containing a single emoji.","type":"null","uniqueKey":"data.agent_reaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.agent_reaction","typeLabel":"string | null"},"customer_reaction":{"oneOf":[{"description":"String containing a single emoji.","type":"string","uniqueKey":"data.customer_reaction.oneOf.0","typeLabel":"string"},{"description":"String containing a single emoji.","type":"null","uniqueKey":"data.customer_reaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customer_reaction","typeLabel":"string | null"},"sent_at":{"oneOf":[{"description":"Datetime when message was sent.","type":"string","format":"date-time","example":"2023-01-01T12:00:00Z","uniqueKey":"data.sent_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Datetime when message was sent.","type":"null","format":"date-time","example":"2023-01-01T12:00:00Z","uniqueKey":"data.sent_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sent_at","typeLabel":"string\u003cdate-time> | null"},"reference":{"oneOf":[{"description":"Reference of a message within the same conversation","uniqueKey":"data.reference.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"data.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reference","typeLabel":"any | null"},"latest_error":{"oneOf":[{"type":"object","description":"Contains the latest error if something went wrong.","properties":{"id":{"type":"integer","description":"Internal ID.","uniqueKey":"data.latest_error.oneOf.0.id","typeLabel":"integer"},"message_id":{"type":"integer","description":"Foreign ID of related message.","uniqueKey":"data.latest_error.oneOf.0.message_id","typeLabel":"integer"},"type":{"type":"string","enum":["status-update","other"],"uniqueKey":"data.latest_error.oneOf.0.type","typeLabel":"enum\u003cstring>"},"original_message":{"description":"Error message from bridge or messenger service.","type":"string","uniqueKey":"data.latest_error.oneOf.0.original_message","typeLabel":"string"},"created_at":{"oneOf":[{"description":"Datetime when error was created.","type":"string","format":"date-time","example":"2023-01-01T12:00:00Z","uniqueKey":"data.latest_error.oneOf.0.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Datetime when error was created.","type":"null","format":"date-time","example":"2023-01-01T12:00:00Z","uniqueKey":"data.latest_error.oneOf.0.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_error.oneOf.0.created_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.latest_error.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.latest_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.latest_error","typeLabel":"object | null"},"whatsapp_campaign":{"oneOf":[{"type":"object","description":"If \"source\" is \"whatsapp-campaign\" then this will be the campaign which created this message.","properties":{"id":{"type":"integer","description":"Internal ID.","uniqueKey":"data.whatsapp_campaign.oneOf.0.id","typeLabel":"integer"},"name":{"description":"Name of campaign.","type":"string","uniqueKey":"data.whatsapp_campaign.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"data.whatsapp_campaign.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.whatsapp_campaign.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.whatsapp_campaign","typeLabel":"object | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":123,"conversation_id":123,"from":"system","source":"user","user_id":123,"contents":["\u003cunknown>"],"status":"created","agent_reaction":"\u003cstring>","customer_reaction":"\u003cstring>","sent_at":"2023-01-01T12:00:00Z","reference":"\u003cunknown>","latest_error":{"id":123,"message_id":123,"type":"status-update","original_message":"\u003cstring>","created_at":"2023-01-01T12:00:00Z"},"whatsapp_campaign":{"id":123,"name":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"35b30358-3378-44cc-adaa-dfffb7b7022c":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"e6fd8218-61fe-4be6-a974-34298f2974a9":{"url":"https://1-some-client.some-server.healvi-chat/third-party/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"doc-7dfdf753","siteName":"Chat API","title":"Add a message to a conversation - Chat API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Add a message from the agent to a conversation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chat API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/doc-7dfdf753/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/doc-7dfdf753/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/doc-7dfdf753/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/doc-7dfdf753/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add a message to a conversation - Chat API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a message from the agent to a conversation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chat API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://doc-7dfdf753.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Add+a+message+to+a+conversation\u0026amp;description=Add+a+message+from+the+agent+to+a+conversation.\u0026amp;theme=09f94c1deb5b6605c0cd27a5\u0026amp;signature=a9a67d068d78a40a4c0ecd0cc0c0fdc7362184af9498bcdfc36e4dc8f69b8125\">\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=\"Add a message to a conversation - Chat API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a message from the agent to a conversation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://doc-7dfdf753.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Add+a+message+to+a+conversation\u0026amp;description=Add+a+message+from+the+agent+to+a+conversation.\u0026amp;theme=09f94c1deb5b6605c0cd27a5\u0026amp;signature=a9a67d068d78a40a4c0ecd0cc0c0fdc7362184af9498bcdfc36e4dc8f69b8125\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/doc-7dfdf753/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chat API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#128C7E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chat.voicebot.studio/#organization\",\"name\":\"Chat API\",\"url\":\"https://docs.chat.voicebot.studio\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chat.voicebot.studio#website\",\"name\":\"Chat API\",\"url\":\"https://docs.chat.voicebot.studio\",\"publisher\":{\"@id\":\"https://docs.chat.voicebot.studio/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages#webpage\",\"url\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages\",\"name\":\"Add a message to a conversation\",\"description\":\"Add a message from the agent to a conversation.\",\"isPartOf\":{\"@id\":\"https://docs.chat.voicebot.studio#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint Groups\",\"item\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Support/get-support-openapi\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflow\",\"item\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Support/get-support-openapi\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Messages\",\"item\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/get-conversations-conversationid-messages\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Add a message to a conversation\",\"item\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages#apireference\",\"headline\":\"Add a message to a conversation\",\"name\":\"Add a message to a conversation\",\"description\":\"Add a message from the agent to a conversation.\",\"url\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chat.voicebot.studio/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages#webpage\"},\"publisher\":{\"@id\":\"https://docs.chat.voicebot.studio/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chat.voicebot.studio#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chat API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chat API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages.md","siteName":"Chat API","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoint Groups","pages":[{"group":"Workflow","pages":[{"group":"Support","pages":[{"title":"Openapi Documentation","openapi":"api-reference/openapi.json get /support/openapi","href":"/api-reference/endpoint/openapi/Support/get-support-openapi"},{"title":"Channels","openapi":"api-reference/openapi.json get /support/channels","href":"/api-reference/endpoint/openapi/Support/get-support-channels"},{"title":"Activity Types","openapi":"api-reference/openapi.json get /support/activity-types","href":"/api-reference/endpoint/openapi/Support/get-support-activity-types"},{"title":"Allowed Mime Types","openapi":"api-reference/openapi.json get /support/allowed-mime-types","href":"/api-reference/endpoint/openapi/Support/get-support-allowed-mime-types"},{"title":"Media Size Limits","openapi":"api-reference/openapi.json get /support/media-size-limits","href":"/api-reference/endpoint/openapi/Support/get-support-media-size-limits"}]},{"group":"Auth","pages":[{"title":"Signed Login URL","openapi":"api-reference/openapi.json get /auth/signed-login-url","href":"/api-reference/endpoint/openapi/Auth/get-auth-signed-login-url"}]},{"group":"Users","pages":[{"title":"List Users","openapi":"api-reference/openapi.json get /users","href":"/api-reference/endpoint/openapi/Users/get-users"},{"title":"Create User","openapi":"api-reference/openapi.json post /users","href":"/api-reference/endpoint/openapi/Users/post-users"},{"title":"Show User by ID","openapi":"api-reference/openapi.json get /users/{id}","href":"/api-reference/endpoint/openapi/Users/get-users-id"},{"title":"Delete User","openapi":"api-reference/openapi.json delete /users/{id}","href":"/api-reference/endpoint/openapi/Users/delete-users-id"}]},{"group":"Settings","pages":[{"title":"General Settings","openapi":"api-reference/openapi.json get /settings/general","href":"/api-reference/endpoint/openapi/Settings/get-settings-general"},{"title":"Update General Settings","openapi":"api-reference/openapi.json patch /settings/general","href":"/api-reference/endpoint/openapi/Settings/patch-settings-general"},{"title":"Third Party Settings","openapi":"api-reference/openapi.json get /settings/third-party","href":"/api-reference/endpoint/openapi/Settings/get-settings-third-party"},{"title":"Update Third Party Settings","openapi":"api-reference/openapi.json patch /settings/third-party","href":"/api-reference/endpoint/openapi/Settings/patch-settings-third-party"},{"title":"CRM","openapi":"api-reference/openapi.json get /settings/crm","href":"/api-reference/endpoint/openapi/Settings/get-settings-crm"},{"title":"Update CRM Settings","openapi":"api-reference/openapi.json patch /settings/crm","href":"/api-reference/endpoint/openapi/Settings/patch-settings-crm"}]},{"group":"Agents","pages":[{"title":"List of available agents","openapi":"api-reference/openapi.json get /agents","href":"/api-reference/endpoint/openapi/Agents/get-agents"},{"title":"Agent by ID","openapi":"api-reference/openapi.json get /agents/{id}","href":"/api-reference/endpoint/openapi/Agents/get-agents-id"}]},{"group":"Customers","pages":[{"title":"List of available customers","openapi":"api-reference/openapi.json get /customers","href":"/api-reference/endpoint/openapi/Customers/get-customers"},{"title":"Show Customer by ID","openapi":"api-reference/openapi.json get /customers/{id}","href":"/api-reference/endpoint/openapi/Customers/get-customers-id"},{"title":"Delete Customer by ID","openapi":"api-reference/openapi.json delete /customers/{id}","href":"/api-reference/endpoint/openapi/Customers/delete-customers-id"},{"title":"List users attached to a customer","openapi":"api-reference/openapi.json get /customers/{id}/users","href":"/api-reference/endpoint/openapi/Customers/get-customers-id-users"},{"title":"Sync Users","openapi":"api-reference/openapi.json post /customers/{id}/users","href":"/api-reference/endpoint/openapi/Customers/post-customers-id-users"}]},{"group":"Profiles","pages":[{"title":"List available profiles","openapi":"api-reference/openapi.json get /profiles","href":"/api-reference/endpoint/openapi/Profiles/get-profiles"},{"title":"Show Profile by ID","openapi":"api-reference/openapi.json get /profiles/{id}","href":"/api-reference/endpoint/openapi/Profiles/get-profiles-id"},{"title":"Update Profile","openapi":"api-reference/openapi.json patch /profiles/{id}","href":"/api-reference/endpoint/openapi/Profiles/patch-profiles-id"},{"title":"Marketing Opt In","openapi":"api-reference/openapi.json post /profiles/{id}/marketing-opt-in","href":"/api-reference/endpoint/openapi/Profiles/post-profiles-id-marketing-opt-in"},{"title":"Activities","openapi":"api-reference/openapi.json get /profiles/{profileId}/activities","href":"/api-reference/endpoint/openapi/Profiles/get-profiles-profileid-activities"},{"title":"Activity by ID","openapi":"api-reference/openapi.json get /profiles/{profileId}/activities/{activityId}","href":"/api-reference/endpoint/openapi/Profiles/get-profiles-profileid-activities-activityid"},{"title":"Profile Tags","openapi":"api-reference/openapi.json get /profiles/{profileId}/tags","href":"/api-reference/endpoint/openapi/Profiles/get-profiles-profileid-tags"},{"title":"Sync Tags","openapi":"api-reference/openapi.json post /profiles/{profileId}/tags","href":"/api-reference/endpoint/openapi/Profiles/post-profiles-profileid-tags"},{"title":"Delete Tag","openapi":"api-reference/openapi.json delete /profiles/{profileId}/tags/{tagId}","href":"/api-reference/endpoint/openapi/Profiles/delete-profiles-profileid-tags-tagid"}]},{"group":"Tags","pages":[{"title":"List Tags","openapi":"api-reference/openapi.json get /tags","href":"/api-reference/endpoint/openapi/Tags/get-tags"},{"title":"Create Tag","openapi":"api-reference/openapi.json post /tags","href":"/api-reference/endpoint/openapi/Tags/post-tags"},{"title":"Show Tag by ID","openapi":"api-reference/openapi.json get /tags/{id}","href":"/api-reference/endpoint/openapi/Tags/get-tags-id"},{"title":"Update Tag","openapi":"api-reference/openapi.json patch /tags/{id}","href":"/api-reference/endpoint/openapi/Tags/patch-tags-id"},{"title":"Delete Tag","openapi":"api-reference/openapi.json delete /tags/{id}","href":"/api-reference/endpoint/openapi/Tags/delete-tags-id"}]},{"group":"Files","pages":[{"title":"Temporary Upload","openapi":"api-reference/openapi.json post /files/temporary-upload","href":"/api-reference/endpoint/openapi/Files/post-files-temporary-upload"},{"title":"Download File by UUID","openapi":"api-reference/openapi.json get /files/{uuid}","href":"/api-reference/endpoint/openapi/Files/get-files-uuid"}]},{"group":"Templates","pages":[{"title":"List Templates","openapi":"api-reference/openapi.json get /templates","href":"/api-reference/endpoint/openapi/Templates/get-templates"},{"title":"Create Template","openapi":"api-reference/openapi.json post /templates","href":"/api-reference/endpoint/openapi/Templates/post-templates"},{"title":"Show Template by ID","openapi":"api-reference/openapi.json get /templates/{id}","href":"/api-reference/endpoint/openapi/Templates/get-templates-id"},{"title":"Update Template","openapi":"api-reference/openapi.json patch /templates/{id}","href":"/api-reference/endpoint/openapi/Templates/patch-templates-id"},{"title":"Delete Template by ID","openapi":"api-reference/openapi.json delete /templates/{id}","href":"/api-reference/endpoint/openapi/Templates/delete-templates-id"}]},{"group":"Marketing","pages":[{"title":"Whatsapp QR Code","openapi":"api-reference/openapi.json get /marketing/whatsapp-qr-code","href":"/api-reference/endpoint/openapi/Marketing/get-marketing-whatsapp-qr-code"}]},{"group":"Ratings","pages":[{"title":"List of available ratings","openapi":"api-reference/openapi.json get /ratings","href":"/api-reference/endpoint/openapi/Ratings/get-ratings"},{"title":"Show Rating by ID","openapi":"api-reference/openapi.json get /ratings/{id}","href":"/api-reference/endpoint/openapi/Ratings/get-ratings-id"},{"title":"Delete Rating","openapi":"api-reference/openapi.json delete /ratings/{id}","href":"/api-reference/endpoint/openapi/Ratings/delete-ratings-id"}]},{"group":"Conversations","pages":[{"title":"List of available conversations","openapi":"api-reference/openapi.json get /conversations","href":"/api-reference/endpoint/openapi/Conversations/get-conversations"},{"title":"Show Conversation by ID","openapi":"api-reference/openapi.json get /conversations/{id}","href":"/api-reference/endpoint/openapi/Conversations/get-conversations-id"},{"title":"Update conversation by ID","openapi":"api-reference/openapi.json patch /conversations/{id}","href":"/api-reference/endpoint/openapi/Conversations/patch-conversations-id"},{"title":"Delete Conversation by ID","openapi":"api-reference/openapi.json delete /conversations/{id}","href":"/api-reference/endpoint/openapi/Conversations/delete-conversations-id"},{"title":"Mark Read","openapi":"api-reference/openapi.json post /conversations/{id}/mark-read","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-mark-read"},{"title":"Mark Unread","openapi":"api-reference/openapi.json post /conversations/{id}/mark-unread","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-mark-unread"},{"title":"Update conversation status","openapi":"api-reference/openapi.json patch /conversations/{id}/status","href":"/api-reference/endpoint/openapi/Conversations/patch-conversations-id-status"},{"title":"Snooze Conversation","openapi":"api-reference/openapi.json post /conversations/{id}/snooze","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-snooze"},{"title":"Parse Text","openapi":"api-reference/openapi.json post /conversations/{id}/parse-text","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-parse-text"},{"title":"Invite Rating","openapi":"api-reference/openapi.json post /conversations/{id}/invite-rating","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-invite-rating"},{"title":"Restart Conversation","openapi":"api-reference/openapi.json post /conversations/{id}/restart","href":"/api-reference/endpoint/openapi/Conversations/post-conversations-id-restart"},{"title":"List of available notes","openapi":"api-reference/openapi.json get /conversation/{conversationId}/notes","href":"/api-reference/endpoint/openapi/Conversations/get-conversation-conversationid-notes"},{"title":"Add a new note to a conversation","openapi":"api-reference/openapi.json post /conversation/{conversationId}/notes","href":"/api-reference/endpoint/openapi/Conversations/post-conversation-conversationid-notes"},{"title":"Show Note by ID","openapi":"api-reference/openapi.json get /conversation/{conversationId}/notes/{noteId}","href":"/api-reference/endpoint/openapi/Conversations/get-conversation-conversationid-notes-noteid"},{"title":"Update Note by ID","openapi":"api-reference/openapi.json patch /conversation/{conversationId}/notes/{noteId}","href":"/api-reference/endpoint/openapi/Conversations/patch-conversation-conversationid-notes-noteid"},{"title":"Delete Note by ID","openapi":"api-reference/openapi.json delete /conversation/{conversationId}/notes/{noteId}","href":"/api-reference/endpoint/openapi/Conversations/delete-conversation-conversationid-notes-noteid"}]},{"group":"Messages","pages":[{"title":"List Messages","description":"List latest (ordered desc) messages of conversation.","openapi":"api-reference/openapi.json get /conversations/{conversationId}/messages","href":"/api-reference/endpoint/openapi/Messages/get-conversations-conversationid-messages"},{"title":"Add a message to a conversation","openapi":"api-reference/openapi.json post /conversations/{conversationId}/messages","href":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages"},{"title":"Show Message by ID","description":"Show message by ID.","openapi":"api-reference/openapi.json get /conversations/{conversationId}/messages/{messageId}","href":"/api-reference/endpoint/openapi/Messages/get-conversations-conversationid-messages-messageid"},{"title":"Delete Message by ID","openapi":"api-reference/openapi.json delete /conversations/{conversationId}/messages/{messageId}","href":"/api-reference/endpoint/openapi/Messages/delete-conversations-conversationid-messages-messageid"},{"title":"Set Reaction","openapi":"api-reference/openapi.json post /conversations/{conversationId}/messages/{messageId}/set-reaction","href":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages-messageid-set-reaction"},{"title":"Duplicate Message","openapi":"api-reference/openapi.json post /conversations/{conversationId}/messages/{messageId}/duplicate","href":"/api-reference/endpoint/openapi/Messages/post-conversations-conversationid-messages-messageid-duplicate"},{"title":"Message Errors","openapi":"api-reference/openapi.json get /conversations/{conversationId}/messages/{messageId}/errors","href":"/api-reference/endpoint/openapi/Messages/get-conversations-conversationid-messages-messageid-errors"},{"title":"Message Error by ID","openapi":"api-reference/openapi.json get /conversations/{conversationId}/messages/{messageId}/errors/{errorId}","href":"/api-reference/endpoint/openapi/Messages/get-conversations-conversationid-messages-messageid-errors-errorid"}]},{"group":"Search","pages":[{"title":"Search Messages","openapi":"api-reference/openapi.json post /search/messages","href":"/api-reference/endpoint/openapi/Search/post-search-messages"},{"title":"Search Tags","openapi":"api-reference/openapi.json post /search/tags","href":"/api-reference/endpoint/openapi/Search/post-search-tags"}]},{"group":"Whatsapp","pages":[{"title":"Get Agent Usage","openapi":"api-reference/openapi.json get /whatsapp/agent-usage","href":"/api-reference/endpoint/openapi/Whatsapp/get-whatsapp-agent-usage"},{"title":"List WhatsApp Templates","openapi":"api-reference/openapi.json get /whatsapp/templates","href":"/api-reference/endpoint/openapi/Whatsapp/get-whatsapp-templates"},{"title":"Submit Template for Approval","openapi":"api-reference/openapi.json post /whatsapp/templates","href":"/api-reference/endpoint/openapi/Whatsapp/post-whatsapp-templates"},{"title":"Show WhatsApp Template by ID","openapi":"api-reference/openapi.json get /whatsapp/templates/{id}","href":"/api-reference/endpoint/openapi/Whatsapp/get-whatsapp-templates-id"},{"title":"Delete Template by ID","openapi":"api-reference/openapi.json delete /whatsapp/templates/{id}","href":"/api-reference/endpoint/openapi/Whatsapp/delete-whatsapp-templates-id"},{"title":"Send Template","openapi":"api-reference/openapi.json post /whatsapp/send-template","href":"/api-reference/endpoint/openapi/Whatsapp/post-whatsapp-send-template"}]},{"group":"Metrics","pages":[{"title":"Metric by month","openapi":"api-reference/openapi.json get /metrics/{year}/{month}","href":"/api-reference/endpoint/openapi/Metrics/get-metrics-year-month"}]},{"group":"Deletion logs","pages":[{"title":"Export Csv","openapi":"api-reference/openapi.json get /deletion-logs/export-csv","href":"/api-reference/endpoint/openapi/Deletion logs/get-deletion-logs-export-csv"}]}]}]}]}]},"basePath":"","title":"Add a message to a conversation - Chat API","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-1CZdsdAn.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}