Optional: ID of an existing conversation to continue. If provided, the message will be added to the existing conversation. If not provided, a new conversation will be created and returned in the response.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"LiveChatAI API Documentation","colors":{"primary":"#2188F3","light":"#2188F3","dark":"#2188F3"},"favicon":"https://mintcdn.com/livechatai/6nheG7kWh-i0JEuW/favicon.png?fit=max\u0026auto=format\u0026n=6nheG7kWh-i0JEuW\u0026q=85\u0026s=e4ffbe6df5d385f1ecc62efb834998fb","logo":{"light":"https://mintcdn.com/livechatai/6nheG7kWh-i0JEuW/logo/logo-black.png?fit=max\u0026auto=format\u0026n=6nheG7kWh-i0JEuW\u0026q=85\u0026s=54efa1885be0b382474f85983f649ef4","dark":"https://mintcdn.com/livechatai/6nheG7kWh-i0JEuW/logo/logo-white.png?fit=max\u0026auto=format\u0026n=6nheG7kWh-i0JEuW\u0026q=85\u0026s=f0ab6ba3ee34927f74e7a71689edf590"},"navbar":{"links":[{"label":"Support","href":"mailto:support@livechatai.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.livechatai.com"}},"footer":{"socials":{"discord":"https://discord.com/invite/X2WwkMVKt5","x":"https://x.com/LiveChatAI","linkedin":"https://www.linkedin.com/company/livechatai","youtube":"https://www.youtube.com/@livechataicom"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","href":"https://help.livechatai.com/","icon":"book-open-cover"},{"anchor":"Community","href":"https://discord.com/invite/X2WwkMVKt5","icon":"discord"},{"anchor":"Blog","href":"https://livechatai.com/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"livechatai","hasAudioNarration":false,"actualSubdomain":"livechatai","customDomains":["api.livechatai.com"],"gitSource":{"type":"github","owner":"popupsmartdev","repo":"live-chat-ai","deployBranch":"main","contentDirectory":"apps/api-doc","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a9ebf07f9357daf08fc2d49","collectionId":"6b1e39cf-0f64-446e-a206-9dcbac560003","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a9ebf07f9357daf08fc2d49"},"entitlements":{},"buildId":"6a9ebf07f9357daf08fc2d49","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference v2","count":43},{"language":"default","tag":"API Reference - DEPRECATED (1 Aug 2025)","count":16},{"language":"default","tag":"Conversations","count":9},{"language":"default","tag":"Translations","count":8},{"language":"default","tag":"Chatbot ","count":8},{"language":"default","tag":"Analytics","count":7},{"language":"default","tag":"Data Sources","count":7},{"language":"default","tag":"Data Source ","count":7},{"language":"default","tag":"Agents","count":4},{"language":"default","tag":"Contacts","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference-v2/conversations/send-message","slug":"/api-reference-v2/conversations/send-message","pageMetadata":{"openapi":"post /api/v2/conversations","title":"Send a message","description":"Send a message to start or continue a conversation with an agent","href":"/api-reference-v2/conversations/send-message"},"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: \"Send a message to start or continue a conversation with an agent\"\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":{"openapi":"post /api/v2/conversations","title":"Send a message","description":"Send a message to start or continue a conversation with an agent","href":"/api-reference-v2/conversations/send-message"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["fae03746-3c5f-4571-9707-04c0d8dc2182"],"tags":["Conversations"],"description":"Send a message to start or continue a conversation with an agent","summary":"Send a message","requestBody":"2d0fcb0e-882e-42cd-b6b0-e1ff3dad6844","responses":{"200":"09c1be0d-4df8-4031-abe3-00e66474144d","401":"67c18b57-ab07-428b-a971-0221ae5ed473","403":"c9f34484-91e4-48fc-84e2-8f952fd7a5cb","429":"da2cff74-2ffe-4dc0-baea-50164a01bfe0","500":"6bd152b6-736e-4712-84cd-74f27382cd49"},"method":"post","type":"path","servers":["b1b83d82-bae1-4dc7-aea6-2871c4c5ab9e"],"path":"/api/v2/conversations","baseUrlOptions":["https://app.livechatai.com"],"title":"Send a message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"description":"Message details for the agent","content":{"application/json":{"schema":{"type":"object","required":["question","agentId"],"properties":{"question":{"type":"string","example":"What are your business hours?","description":"The question or message to send to the agent","isRequired":true,"uniqueKey":"question","typeLabel":"string"},"agentId":{"type":"string","example":"clx1234567890abcdef","description":"Unique identifier of the agent to message","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"contactId":{"type":"string","example":"contact_1234567890","description":"Optional: ID of an existing contact to associate with this conversation. If not provided, a new contact may be created automatically.","uniqueKey":"contactId","typeLabel":"string"},"conversationId":{"type":"string","example":"chat_1234567890","description":"Optional: ID of an existing conversation to continue. If provided, the message will be added to the existing conversation. If not provided, a new conversation will be created and returned in the response.","uniqueKey":"conversationId","typeLabel":"string"},"messageType":{"type":"string","enum":["TEXT","IMAGE","FILE"],"example":"TEXT","description":"Type of message being sent. Resolved automatically when attachments are provided (single image -> IMAGE, otherwise FILE).","uniqueKey":"messageType","typeLabel":"enum\u003cstring>"},"attachments":{"type":"array","description":"Optional file attachments. Upload each file to S3 first via the attachments presign endpoint, then reference the returned metadata here.","items":{"type":"object","required":["url","name","mimeType","size"],"properties":{"url":{"type":"string","example":"https://cdn.example.com/bot/chat/abc/messages/file.pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url","typeLabel":"string"},"name":{"type":"string","example":"report.pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].name","typeLabel":"string"},"mimeType":{"type":"string","example":"application/pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mimeType","typeLabel":"string"},"size":{"type":"integer","description":"File size in bytes","isRequired":true,"uniqueKey":"attachments.items.[INDEX].size","typeLabel":"integer"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"attachments","typeLabel":"object[]"},"streaming":{"type":"boolean","example":false,"description":"Optional: Enable streaming of the response","uniqueKey":"streaming","typeLabel":"boolean"},"ip":{"type":"string","example":"192.168.1.1","description":"Optional: Client IP address","uniqueKey":"ip","typeLabel":"string"},"country":{"type":"string","example":"US","description":"Optional: Client country code","uniqueKey":"country","typeLabel":"string"},"responseFormat":{"type":"string","enum":["MARKDOWN","PLAIN"],"default":"MARKDOWN","example":"MARKDOWN","description":"Optional: Format of the AI response (MARKDOWN or PLAIN text)","uniqueKey":"responseFormat","typeLabel":"enum\u003cstring>"},"integrationType":{"type":"string","enum":["WHATSAPP","SLACK"],"example":"WHATSAPP","description":"Optional: Integration type for the conversation","uniqueKey":"integrationType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"question":"What are your business hours?","agentId":"clx1234567890abcdef","contactId":"contact_1234567890","conversationId":"chat_1234567890","messageType":"TEXT","attachments":[{"url":"https://cdn.example.com/bot/chat/abc/messages/file.pdf","name":"report.pdf","mimeType":"application/pdf","size":123}],"streaming":false,"ip":"192.168.1.1","country":"US","responseFormat":"MARKDOWN","integrationType":"WHATSAPP"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"09c1be0d-4df8-4031-abe3-00e66474144d":{"description":"Message sent and response received successfully","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"success","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"Message sent successfully","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"conversationId":{"type":"string","example":"chat_1234567890","description":"ID of the conversation","uniqueKey":"data.conversationId","typeLabel":"string"},"contactId":{"type":"string","example":"contact_1234567890","description":"ID of the contact","uniqueKey":"data.contactId","typeLabel":"string"},"response":{"type":"string","example":"Our business hours are Monday to Friday, 9 AM to 6 PM EST.","description":"AI agent response","uniqueKey":"data.response","typeLabel":"string"},"messageId":{"type":"string","example":"msg_1234567890","description":"ID of the sent message","uniqueKey":"data.messageId","typeLabel":"string"},"responseMessageId":{"type":"string","example":"msg_0987654321","description":"ID of the response message","uniqueKey":"data.responseMessageId","typeLabel":"string"},"links":{"type":"array","items":{"type":"object","properties":{"link":{"type":"string","example":"https://example.com/page","uniqueKey":"data.links.items.[INDEX].link","typeLabel":"string"},"type":{"type":"string","example":"WEBSITE","uniqueKey":"data.links.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"data.links.items.[INDEX]","typeLabel":"object"},"description":"Relevant sources used for the response","uniqueKey":"data.links","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"Message sent successfully","data":{"conversationId":"chat_1234567890","contactId":"contact_1234567890","response":"Our business hours are Monday to Friday, 9 AM to 6 PM EST.","messageId":"msg_1234567890","responseMessageId":"msg_0987654321","links":[{"link":"https://example.com/page","type":"WEBSITE"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"67c18b57-ab07-428b-a971-0221ae5ed473":{"description":"Unauthorized access","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c9f34484-91e4-48fc-84e2-8f952fd7a5cb":{"description":"Access denied - Invalid agent access.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"da2cff74-2ffe-4dc0-baea-50164a01bfe0":{"description":"Rate limit exceeded - Too many requests.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"6bd152b6-736e-4712-84cd-74f27382cd49":{"description":"An internal server error occurred.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"fae03746-3c5f-4571-9707-04c0d8dc2182":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"b1b83d82-bae1-4dc7-aea6-2871c4c5ab9e":{"url":"https://app.livechatai.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","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-v2/openapi.json"},"subdomain":"livechatai","siteName":"LiveChatAI API Documentation","title":"Send a message - LiveChatAI API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T10:53:50.315Z","originalFileLocation":"api-reference-v2/conversations/send-message.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a message to start or continue a conversation with an agent\">\u003cmeta data-mint-head name=\"application-name\" content=\"LiveChatAI API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_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/livechatai/j9WQ7z5dvL5YK_MC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a message - LiveChatAI API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a message to start or continue a conversation with an agent\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LiveChatAI API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.livechatai.com/api-reference-v2/conversations/send-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://livechatai.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+message\u0026amp;description=Send+a+message+to+start+or+continue+a+conversation+with+an+agent\u0026amp;theme=44885a49d2661da5e474e315\u0026amp;signature=d800e676c5834745a3ff544c61ad757b9e44262f230131e27c4670c5dcfc0159\">\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=\"Send a message - LiveChatAI API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a message to start or continue a conversation with an agent\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://livechatai.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+message\u0026amp;description=Send+a+message+to+start+or+continue+a+conversation+with+an+agent\u0026amp;theme=44885a49d2661da5e474e315\u0026amp;signature=d800e676c5834745a3ff544c61ad757b9e44262f230131e27c4670c5dcfc0159\">\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/livechatai/j9WQ7z5dvL5YK_MC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LiveChatAI API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2188F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.livechatai.com/api-reference-v2/conversations/send-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference-v2/conversations/send-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.livechatai.com/#organization\",\"name\":\"LiveChatAI API Documentation\",\"url\":\"https://api.livechatai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/livechatai/6nheG7kWh-i0JEuW/logo/logo-black.png?fit=max\u0026auto=format\u0026n=6nheG7kWh-i0JEuW\u0026q=85\u0026s=54efa1885be0b382474f85983f649ef4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.livechatai.com#website\",\"name\":\"LiveChatAI API Documentation\",\"url\":\"https://api.livechatai.com\",\"publisher\":{\"@id\":\"https://api.livechatai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message#webpage\",\"url\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message\",\"name\":\"Send a message\",\"description\":\"Send a message to start or continue a conversation with an agent\",\"dateModified\":\"2026-01-26T10:53:50.315Z\",\"isPartOf\":{\"@id\":\"https://api.livechatai.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conversations\",\"item\":\"https://api.livechatai.com/api-reference-v2/conversations/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send a message\",\"item\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message#apireference\",\"headline\":\"Send a message\",\"name\":\"Send a message\",\"description\":\"Send a message to start or continue a conversation with an agent\",\"url\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message\",\"mainEntityOfPage\":{\"@id\":\"https://api.livechatai.com/api-reference-v2/conversations/send-message#webpage\"},\"dateModified\":\"2026-01-26T10:53:50.315Z\",\"publisher\":{\"@id\":\"https://api.livechatai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.livechatai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LiveChatAI API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LiveChatAI API Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","href":"https://help.livechatai.com/","icon":"book-open-cover"},{"anchor":"Community","href":"https://discord.com/invite/X2WwkMVKt5","icon":"discord"},{"anchor":"Blog","href":"https://livechatai.com/blog","icon":"newspaper"}]},"tabs":[{"tab":"API Reference v2","groups":[{"group":"API v2 Documentation","pages":[{"title":"Introduction","href":"/api-reference-v2/introduction"}]},{"group":"Agents","pages":[{"openapi":"post /api/v2/agents","title":"Create an agent","href":"/api-reference-v2/agents/create"},{"openapi":"get /api/v2/agents","title":"List agents","href":"/api-reference-v2/agents/list"},{"openapi":"get /api/v2/agents/{agentId}","title":"Retrieve an agent","href":"/api-reference-v2/agents/retrieve"},{"openapi":"delete /api/v2/agents/{agentId}","title":"Delete an agent","href":"/api-reference-v2/agents/delete"}]},{"group":"Conversations","pages":[{"openapi":"get /api/v2/conversations","title":"List conversations","href":"/api-reference-v2/conversations/list"},{"openapi":"get /api/v2/conversations/views","title":"List conversation views","href":"/api-reference-v2/conversations/list-views"},{"openapi":"post /api/v2/conversations/create","title":"Create a conversation","description":"Create a new conversation without sending a message. This is a lightweight endpoint that only creates a contact and chat record, skipping AI processing, similarity search, and smart tag processing. Ideal for integrations that need a conversation ID quickly.","href":"/api-reference-v2/conversations/create"},{"openapi":"post /api/v2/conversations","title":"Send a message","href":"/api-reference-v2/conversations/send-message"},{"openapi":"get /api/v2/conversations/{conversationId}","title":"Retrieve a conversation","description":"Retrieve details of a specific conversation including messages","href":"/api-reference-v2/conversations/retrieve"},{"openapi":"post /api/v2/conversations/{conversationId}/reply","title":"Reply to a conversation","href":"/api-reference-v2/conversations/reply"},{"title":"Upload an attachment","openapi":"post /api/v2/conversations/{conversationId}/attachments/presign","href":"/api-reference-v2/conversations/attachment-presign"},{"openapi":"post /api/v2/conversations/{conversationId}/typing","title":"Send an \"agent is typing\" indicator","href":"/api-reference-v2/conversations/typing"},{"openapi":"post /api/v2/conversations/{conversationId}/end","title":"End a conversation","href":"/api-reference-v2/conversations/end"}]},{"group":"Contacts","pages":[{"openapi":"post /api/v2/contacts","title":"Create or update a contact","href":"/api-reference-v2/contacts/create"},{"openapi":"get /api/v2/contacts","title":"List contacts","href":"/api-reference-v2/contacts/list"},{"openapi":"get /api/v2/contacts/{contactId}/conversations","title":"List conversations for a contact","href":"/api-reference-v2/contacts/list-conversations"},{"openapi":"get /api/v2/contacts/{contactId}","title":"Retrieve a contact","href":"/api-reference-v2/contacts/retrieve"}]},{"group":"Data Sources","pages":[{"openapi":"get /api/v2/data-sources","title":"List data sources","href":"/api-reference-v2/data-sources/list"},{"openapi":"post /api/v2/data-sources/text","title":"Create a text data source","href":"/api-reference-v2/data-sources/create-text"},{"openapi":"post /api/v2/data-sources/url","title":"Create a URL data source","href":"/api-reference-v2/data-sources/create-url"},{"openapi":"post /api/v2/data-sources/qa","title":"Create a Q\u0026A data source","href":"/api-reference-v2/data-sources/create-qa"},{"openapi":"post /api/v2/data-sources/file","title":"Create a file data source","href":"/api-reference-v2/data-sources/create-file"},{"openapi":"put /api/v2/data-sources/qa","title":"Update a Q\u0026A data source","href":"/api-reference-v2/data-sources/update-qa"},{"openapi":"delete /api/v2/data-sources","title":"Delete data sources","href":"/api-reference-v2/data-sources/delete"}]},{"group":"Translations","pages":[{"openapi":"get /api/v2/chatbots/{chatbotId}/translations","title":"Get chatbot translations","href":"/api-reference-v2/translations/list"},{"openapi":"get /api/v2/chatbots/{chatbotId}/translations/languages","title":"List available languages","href":"/api-reference-v2/translations/list-languages"},{"openapi":"post /api/v2/chatbots/{chatbotId}/translations/languages","title":"Add a language","href":"/api-reference-v2/translations/add-language"},{"openapi":"delete /api/v2/chatbots/{chatbotId}/translations/languages/{language}","title":"Remove a language","href":"/api-reference-v2/translations/delete-language"},{"openapi":"put /api/v2/chatbots/{chatbotId}/translations/{language}","title":"Bulk update translations","href":"/api-reference-v2/translations/update-bulk"},{"openapi":"patch /api/v2/chatbots/{chatbotId}/translations/{language}/{key}","title":"Update a translation key","href":"/api-reference-v2/translations/update-key"},{"openapi":"delete /api/v2/chatbots/{chatbotId}/translations/{language}/{key}","title":"Reset a translation key","href":"/api-reference-v2/translations/delete-key"},{"openapi":"patch /api/v2/chatbots/{chatbotId}/translations/settings","title":"Update localization settings","href":"/api-reference-v2/translations/update-settings"}]},{"group":"AI Suggestions","pages":[{"openapi":"get /api/v2/ai-suggestions","title":"List AI Suggestions","href":"/api-reference-v2/ai-suggestions/list"},{"openapi":"get /api/v2/ai-suggestions/{suggestionId}","title":"Retrieve AI Suggestion","href":"/api-reference-v2/ai-suggestions/retrieve"},{"openapi":"delete /api/v2/ai-suggestions/{suggestionId}","title":"Delete AI Suggestion","href":"/api-reference-v2/ai-suggestions/delete"}]},{"group":"Analytics","pages":[{"openapi":"get /api/v2/analytics","title":"Get main analytics","href":"/api-reference-v2/analytics/main"},{"openapi":"get /api/v2/analytics/agent","title":"Get agent analytics","href":"/api-reference-v2/analytics/agent"},{"openapi":"get /api/v2/analytics/ai-functions","title":"Get AI function analytics","href":"/api-reference-v2/analytics/ai-functions"},{"openapi":"get /api/v2/analytics/csat","title":"Get CSAT analytics","href":"/api-reference-v2/analytics/csat"},{"openapi":"get /api/v2/analytics/sentiments","title":"Get sentiment analytics","href":"/api-reference-v2/analytics/sentiments"},{"openapi":"get /api/v2/analytics/resolutions","title":"Get resolution analytics","href":"/api-reference-v2/analytics/resolutions"},{"openapi":"get /api/v2/analytics/topics","title":"Get topics analytics","href":"/api-reference-v2/analytics/topics"}]}]},{"tab":"API Reference - DEPRECATED (1 Aug 2025)","pages":[{"title":"API Reference - DEPRECATED (1 Aug 2025)","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Send a message - LiveChatAI API Documentation","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}