{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Sapot Chat Developer Docs","description":"Official developer documentation for Sapot Chat - the open-source customer support platform.","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/mampuai-742f1069/gRQnXdRW5rxI98sj/logo/light.png?fit=max\u0026auto=format\u0026n=gRQnXdRW5rxI98sj\u0026q=85\u0026s=24344f3ecd843a9f8c5794f7a68c530c","dark":"https://mintcdn.com/mampuai-742f1069/gRQnXdRW5rxI98sj/logo/dark.png?fit=max\u0026auto=format\u0026n=gRQnXdRW5rxI98sj\u0026q=85\u0026s=1d75bf19f7f3bca48cb25532b695ce4f"},"favicon":"https://mintcdn.com/mampuai-742f1069/gRQnXdRW5rxI98sj/favicon.png?fit=max\u0026auto=format\u0026n=gRQnXdRW5rxI98sj\u0026q=85\u0026s=3f02eedfb9520c3b82f620e35568277a","footer":{},"fonts":{"heading":{"family":"Haskoy","weight":500,"source":"https://d1j5ayohogpcd2.cloudfront.net/fonts/haskoy/Haskoy-Medium.woff2","format":"woff2"},"body":{"family":"Haskoy","weight":400,"source":"https://d1j5ayohogpcd2.cloudfront.net/fonts/haskoy/Haskoy-Regular.woff2","format":"woff2"}},"variables":{"brand":"Sapot Chat","appUrl":"https://chat.sapot.ai","websiteUrl":"https://chat.sapot.ai","communityUrl":"https://chat.sapot.ai/community","helpCenterUrl":"https://chat.sapot.ai/hc","pricingUrl":"https://chat.sapot.ai/pricing","githubOrg":"Mampu-AI","githubRepo":"Mampu-AI/chatwoot","githubUrl":"https://github.com/Mampu-AI/chatwoot","discussionsUrl":"https://github.com/Mampu-AI/chatwoot/discussions","issuesUrl":"https://github.com/Mampu-AI/chatwoot/issues","twitterHandle":"sapotchat","twitterUrl":"https://twitter.com/sapotchat","discordUrl":"https://discord.gg/cJXdrwS","linkedinUrl":"https://www.linkedin.com/company/sapotchat","contactEmail":"[email protected]","supportEmail":"[email protected]"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mampuai-742f1069","hasAudioNarration":false,"actualSubdomain":"mampuai-742f1069","customDomains":["developers.sapot.ai"],"gitSource":{"type":"github","owner":"mampu-ai","repo":"spaot-chat-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"d37be2cd-64fd-4bcd-be8b-d604657a0f08","liveDeploymentHistoryId":"6ad06e8fc622254f19630bdd","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad06e8fc622254f19630bdd"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad06e8fc622254f19630bdd","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference","count":126},{"language":"default","tag":"Application APIs","count":112},{"language":"default","tag":"AI Agents","count":18},{"language":"default","tag":"Conversations","count":13},{"language":"default","tag":"Client APIs","count":12},{"language":"default","tag":"Reports","count":12},{"language":"default","tag":"Contacts","count":11},{"language":"default","tag":"Inboxes","count":10},{"language":"default","tag":"Teams","count":9},{"language":"default","tag":"Tool Reference","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"vite-origin","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/messages-api/update-a-message","slug":"/api-reference/messages-api/update-a-message","pageMetadata":{"title":"Update a message","description":"Update a message","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json patch /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/messages-api/update-a-message","autogeneratedByOpenApi":true},"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 a message\"\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":"Update a message","description":"Update a message","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json patch /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/messages-api/update-a-message","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mampuai-742f1069/6a71578a6d7456ac/scripts/rebrand.js","/_mintlify/custom/mampuai-742f1069/10b27b2002139fbc/scripts/variablize.js"],"openApiReferenceData":{"operation":{"tags":["Messages API"],"operationId":"update-a-message","summary":"Update a message","description":"Update a message","security":[],"requestBody":"7c86290f-6f2c-4111-92e9-6fa61fc2f173","responses":{"200":"139ebe52-7e68-494c-bbca-9392c9ea2beb","401":"0cb5fa20-cb5b-4b0a-9aca-46e19b51a399"},"method":"patch","type":"path","servers":["22c37e29-2803-4a37-b747-6db39cc81bd1"],"path":"/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages/{message_id}","baseUrlOptions":["https://chat.sapot.ai/"],"title":"Update a message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"16c3f487-ffc1-40c3-a1f9-091f417b7e4b":{"in":"path","name":"inbox_identifier","schema":{"type":"string","isRequired":true,"description":"The identifier obtained from API inbox channel","uniqueKey":"","typeLabel":"string"},"required":true,"description":"The identifier obtained from API inbox channel"},"6113d87a-7a22-41e2-9b7c-a404b0752e32":{"in":"path","name":"contact_identifier","schema":{"type":"string","isRequired":true,"description":"The source id of contact obtained on contact create","uniqueKey":"","typeLabel":"string"},"required":true,"description":"The source id of contact obtained on contact create"},"c08941f8-1fab-40ce-8c82-26ff6e3a3526":{"in":"path","name":"conversation_id","schema":{"type":"integer","isRequired":true,"description":"The numeric ID of the conversation","uniqueKey":"","typeLabel":"integer"},"required":true,"description":"The numeric ID of the conversation"},"e82abada-0825-417c-b87f-3d961cd86d2d":{"in":"path","name":"message_id","schema":{"type":"integer","isRequired":true,"description":"The numeric ID of the message","uniqueKey":"","typeLabel":"integer"},"required":true,"description":"The numeric ID of the message"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"submitted_values":{"type":"object","description":"Replies to the Bot Message Types","properties":{"name":{"type":"string","description":"The name of the submiitted value","example":"My Name","uniqueKey":"submitted_values.name","typeLabel":"string"},"title":{"type":"string","description":"The title of the submitted value","example":"My Title","uniqueKey":"submitted_values.title","typeLabel":"string"},"value":{"type":"string","description":"The value of the submitted value","example":"value","uniqueKey":"submitted_values.value","typeLabel":"string"},"csat_survey_response":{"type":"object","description":"The CSAT survey response","properties":{"feedback_message":{"type":"string","description":"The feedback message of the CSAT survey response","example":"Great service!","uniqueKey":"submitted_values.csat_survey_response.feedback_message","typeLabel":"string"},"rating":{"type":"integer","description":"The rating of the CSAT survey response","example":5,"uniqueKey":"submitted_values.csat_survey_response.rating","typeLabel":"integer"}},"uniqueKey":"submitted_values.csat_survey_response","typeLabel":"object"}},"uniqueKey":"submitted_values","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"submitted_values":{"name":"My Name","title":"My Title","value":"value","csat_survey_response":{"feedback_message":"Great service!","rating":5}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"139ebe52-7e68-494c-bbca-9392c9ea2beb":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"Id of the message","uniqueKey":"id","typeLabel":"integer"},"content":{"oneOf":[{"type":"string","description":"Text content of the message. Can be null for attachment-only messages.","uniqueKey":"content.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text content of the message. Can be null for attachment-only messages.","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"string | null"},"message_type":{"type":"integer","description":"Denotes the message type. Possible values: 0 (incoming), 1 (outgoing), 2 (activity), 3 (template)","uniqueKey":"message_type","typeLabel":"integer"},"content_type":{"type":"string","description":"Content type of the message","uniqueKey":"content_type","typeLabel":"string"},"content_attributes":{"type":"object","description":"Additional content attributes of the message","uniqueKey":"content_attributes","typeLabel":"object"},"created_at":{"type":"integer","description":"Created at Unix timestamp of the message","uniqueKey":"created_at","typeLabel":"integer"},"conversation_id":{"type":"integer","description":"Display Id of the conversation the message belongs to","uniqueKey":"conversation_id","typeLabel":"integer"},"attachments":{"type":"array","description":"Attachments if any","items":{"type":"object","additionalProperties":true,"description":"Attachment payload. Available fields vary by attachment file_type.","properties":{"id":{"type":"integer","description":"Id of the attachment","uniqueKey":"attachments.items.[INDEX].id","typeLabel":"integer"},"message_id":{"type":"integer","description":"Id of the parent message","uniqueKey":"attachments.items.[INDEX].message_id","typeLabel":"integer"},"file_type":{"type":"string","enum":["image","audio","video","file","location","fallback","share","story_mention","contact","ig_reel","ig_post","ig_story","embed"],"description":"Type of the attached file","uniqueKey":"attachments.items.[INDEX].file_type","typeLabel":"enum\u003cstring>"},"account_id":{"type":"integer","description":"Id of the account","uniqueKey":"attachments.items.[INDEX].account_id","typeLabel":"integer"},"extension":{"oneOf":[{"type":"string","description":"File extension","uniqueKey":"attachments.items.[INDEX].extension.oneOf.0","typeLabel":"string"},{"type":"null","description":"File extension","uniqueKey":"attachments.items.[INDEX].extension.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].extension","typeLabel":"string | null"},"data_url":{"oneOf":[{"type":"string","description":"URL of the file. Can be null when an attachment variant has no external URL.","uniqueKey":"attachments.items.[INDEX].data_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL of the file. Can be null when an attachment variant has no external URL.","uniqueKey":"attachments.items.[INDEX].data_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].data_url","typeLabel":"string | null"},"thumb_url":{"type":"string","description":"URL of the file thumbnail","uniqueKey":"attachments.items.[INDEX].thumb_url","typeLabel":"string"},"file_size":{"type":"integer","description":"File size in bytes","uniqueKey":"attachments.items.[INDEX].file_size","typeLabel":"integer"},"width":{"oneOf":[{"type":"integer","description":"Width of the attachment when available","uniqueKey":"attachments.items.[INDEX].width.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Width of the attachment when available","uniqueKey":"attachments.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","description":"Height of the attachment when available","uniqueKey":"attachments.items.[INDEX].height.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Height of the attachment when available","uniqueKey":"attachments.items.[INDEX].height.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].height","typeLabel":"integer | null"},"coordinates_lat":{"type":"number","description":"Latitude for location attachments","uniqueKey":"attachments.items.[INDEX].coordinates_lat","typeLabel":"number"},"coordinates_long":{"type":"number","description":"Longitude for location attachments","uniqueKey":"attachments.items.[INDEX].coordinates_long","typeLabel":"number"},"fallback_title":{"oneOf":[{"type":"string","description":"Fallback title for location, fallback, and contact attachments when available","uniqueKey":"attachments.items.[INDEX].fallback_title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fallback title for location, fallback, and contact attachments when available","uniqueKey":"attachments.items.[INDEX].fallback_title.oneOf.1","typeLabel":"null"}],"uniqueKey":"attachments.items.[INDEX].fallback_title","typeLabel":"string | null"},"meta":{"type":"object","description":"Metadata for contact attachments","uniqueKey":"attachments.items.[INDEX].meta","typeLabel":"object"},"transcribed_text":{"type":"string","description":"Transcribed text for audio attachments","uniqueKey":"attachments.items.[INDEX].transcribed_text","typeLabel":"string"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"attachments","typeLabel":"object[]"},"sender":{"type":"object","additionalProperties":true,"description":"Polymorphic sender payload returned by push_event_data. Available fields vary by sender type.","properties":{"id":{"type":"integer","description":"Id of the sender","uniqueKey":"sender.id","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","description":"Name of the sender when available","uniqueKey":"sender.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the sender when available","uniqueKey":"sender.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.name","typeLabel":"string | null"},"avatar_url":{"type":"string","description":"Avatar URL of the sender. Present for senders of type user, agent_bot, and captain_assistant. Not present for contact senders (use thumbnail instead).","uniqueKey":"sender.avatar_url","typeLabel":"string"},"thumbnail":{"type":"string","description":"Avatar/thumbnail URL of the sender. Contact senders use this field; user senders may also include it.","uniqueKey":"sender.thumbnail","typeLabel":"string"},"type":{"type":"string","enum":["contact","user","agent_bot","captain_assistant"],"description":"Type of the sender","uniqueKey":"sender.type","typeLabel":"enum\u003cstring>"},"available_name":{"oneOf":[{"type":"string","description":"Display name for user senders","uniqueKey":"sender.available_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name for user senders","uniqueKey":"sender.available_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.available_name","typeLabel":"string | null"},"availability_status":{"oneOf":[{"type":"string","description":"Availability status for user senders","uniqueKey":"sender.availability_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"Availability status for user senders","uniqueKey":"sender.availability_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.availability_status","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"Email of the sender when the sender is a contact","uniqueKey":"sender.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email of the sender when the sender is a contact","uniqueKey":"sender.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.email","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the sender when the sender is a contact","uniqueKey":"sender.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the sender when the sender is a contact","uniqueKey":"sender.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.phone_number","typeLabel":"string | null"},"identifier":{"oneOf":[{"type":"string","description":"Identifier of the sender when the sender is a contact","uniqueKey":"sender.identifier.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the sender when the sender is a contact","uniqueKey":"sender.identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.identifier","typeLabel":"string | null"},"blocked":{"type":"boolean","description":"Whether the sender is blocked when the sender is a contact","uniqueKey":"sender.blocked","typeLabel":"boolean"},"additional_attributes":{"oneOf":[{"type":"object","description":"Additional attributes when the sender is a contact and available","uniqueKey":"sender.additional_attributes.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional attributes when the sender is a contact and available","uniqueKey":"sender.additional_attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.additional_attributes","typeLabel":"object | null"},"custom_attributes":{"oneOf":[{"type":"object","description":"Custom attributes when the sender is a contact and available","uniqueKey":"sender.custom_attributes.oneOf.0","typeLabel":"object"},{"type":"null","description":"Custom attributes when the sender is a contact and available","uniqueKey":"sender.custom_attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.custom_attributes","typeLabel":"object | null"},"description":{"oneOf":[{"type":"string","description":"Description when the sender is a captain assistant","uniqueKey":"sender.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description when the sender is a captain assistant","uniqueKey":"sender.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.description","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","description":"Created timestamp in ISO 8601 format when the sender is a captain assistant","uniqueKey":"sender.created_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"Created timestamp in ISO 8601 format when the sender is a captain assistant","uniqueKey":"sender.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"sender.created_at","typeLabel":"string | null"}},"uniqueKey":"sender","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"content":"\u003cstring>","message_type":123,"content_type":"\u003cstring>","content_attributes":{},"created_at":123,"conversation_id":123,"attachments":[{"id":123,"message_id":123,"file_type":"image","account_id":123,"extension":"\u003cstring>","data_url":"\u003cstring>","thumb_url":"\u003cstring>","file_size":123,"width":123,"height":123,"coordinates_lat":123,"coordinates_long":123,"fallback_title":"\u003cstring>","meta":{},"transcribed_text":"\u003cstring>"}],"sender":{"id":123,"name":"\u003cstring>","avatar_url":"\u003cstring>","thumbnail":"\u003cstring>","type":"contact","available_name":"\u003cstring>","availability_status":"\u003cstring>","email":"\u003cstring>","phone_number":"\u003cstring>","identifier":"\u003cstring>","blocked":true,"additional_attributes":{},"custom_attributes":{},"description":"\u003cstring>","created_at":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0cb5fa20-cb5b-4b0a-9aca-46e19b51a399":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"data","type":"object","properties":{"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"data · object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>","code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"22c37e29-2803-4a37-b747-6db39cc81bd1":{"url":"https://chat.sapot.ai/"}}},"originalFileLocation":"api-reference/specs/client_swagger.json"},"subdomain":"mampuai-742f1069","siteName":"Sapot Chat Developer Docs","title":"Update a message - Sapot Chat Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-03T06:00:46.754Z","originalFileLocation":"api-reference/messages-api/update-a-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=\"Update a message\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sapot Chat Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a message - Sapot Chat Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a message\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sapot Chat Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.sapot.ai/api-reference/messages-api/update-a-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mampuai-742f1069.mintlify.site/_mintlify/api/og/v2?division=Messages+API\u0026amp;title=Update+a+message\u0026amp;description=Update+a+message\u0026amp;theme=e181c24326c28d831fb71c7a\u0026amp;signature=a7fb021c9e852c66b527a3acced0daaa19d3faa4351d3fb3e84bfe03073758ef\">\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 a message - Sapot Chat Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a message\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mampuai-742f1069.mintlify.site/_mintlify/api/og/v2?division=Messages+API\u0026amp;title=Update+a+message\u0026amp;description=Update+a+message\u0026amp;theme=e181c24326c28d831fb71c7a\u0026amp;signature=a7fb021c9e852c66b527a3acced0daaa19d3faa4351d3fb3e84bfe03073758ef\">\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/mampuai-742f1069/CgmFnCTTFyR-hrnO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sapot Chat Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.sapot.ai/api-reference/messages-api/update-a-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/messages-api/update-a-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.sapot.ai/#organization\",\"name\":\"Sapot Chat Developer Docs\",\"url\":\"https://developers.sapot.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mampuai-742f1069/gRQnXdRW5rxI98sj/logo/light.png?fit=max\u0026auto=format\u0026n=gRQnXdRW5rxI98sj\u0026q=85\u0026s=24344f3ecd843a9f8c5794f7a68c530c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.sapot.ai#website\",\"name\":\"Sapot Chat Developer Docs\",\"url\":\"https://developers.sapot.ai\",\"publisher\":{\"@id\":\"https://developers.sapot.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message#webpage\",\"url\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message\",\"name\":\"Update a message\",\"description\":\"Update a message\",\"dateModified\":\"2026-06-03T06:00:46.754Z\",\"isPartOf\":{\"@id\":\"https://developers.sapot.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Client APIs\",\"item\":\"https://developers.sapot.ai/api-reference/contacts-api/create-a-contact\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Messages API\",\"item\":\"https://developers.sapot.ai/api-reference/messages-api/list-all-messages\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a message\",\"item\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message#apireference\",\"headline\":\"Update a message\",\"name\":\"Update a message\",\"description\":\"Update a message\",\"url\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message\",\"mainEntityOfPage\":{\"@id\":\"https://developers.sapot.ai/api-reference/messages-api/update-a-message#webpage\"},\"dateModified\":\"2026-06-03T06:00:46.754Z\",\"publisher\":{\"@id\":\"https://developers.sapot.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.sapot.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sapot Chat Developer Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sapot Chat Developer Docs","nav":{"global":null,"anchors":[{"anchor":"Introduction","icon":"house","pages":[{"title":"Introduction","href":"/introduction"}]},{"anchor":"AI Agents","icon":"robot","pages":[{"title":"AI Agents","href":"/ai-agents/introduction"}]},{"anchor":"API Reference","icon":"square-terminal","groups":[{"group":"Getting Started","pages":[{"title":"Introduction to Sapot Chat APIs","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Application APIs","pages":[{"group":"Account","pages":[{"title":"Get account details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}","href":"/api-reference/account/get-account-details"},{"title":"Update account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}","href":"/api-reference/account/update-account"}]},{"group":"Audit Logs","pages":[{"title":"List Audit Logs in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/audit_logs","href":"/api-reference/audit-logs/list-audit-logs-in-account"}]},{"group":"Account AgentBots","pages":[{"title":"List all AgentBots","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/agent_bots","href":"/api-reference/account-agentbots/list-all-agentbots"},{"title":"Create an Agent Bot","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/agent_bots","href":"/api-reference/account-agentbots/create-an-agent-bot"},{"title":"Get an agent bot details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/agent_bots/{id}","href":"/api-reference/account-agentbots/get-an-agent-bot-details"},{"title":"Delete an AgentBot","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/agent_bots/{id}","href":"/api-reference/account-agentbots/delete-an-agentbot"},{"title":"Update an agent bot","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/agent_bots/{id}","href":"/api-reference/account-agentbots/update-an-agent-bot"}]},{"group":"Agents","pages":[{"title":"List Agents in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/agents","href":"/api-reference/agents/list-agents-in-account"},{"title":"Add a New Agent","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/agents","href":"/api-reference/agents/add-a-new-agent"},{"title":"Remove an Agent from Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/agents/{id}","href":"/api-reference/agents/remove-an-agent-from-account"},{"title":"Update Agent in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/agents/{id}","href":"/api-reference/agents/update-agent-in-account"}]},{"group":"Canned Responses","pages":[{"title":"List all Canned Responses in an Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/canned_responses","href":"/api-reference/canned-responses/list-all-canned-responses-in-an-account"},{"title":"Add a New Canned Response","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/canned_responses","href":"/api-reference/canned-responses/add-a-new-canned-response"},{"title":"Remove a Canned Response from Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/canned_responses/{id}","href":"/api-reference/canned-responses/remove-a-canned-response-from-account"},{"title":"Update Canned Response in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/canned_responses/{id}","href":"/api-reference/canned-responses/update-canned-response-in-account"}]},{"group":"Custom Attributes","pages":[{"title":"List all custom attributes in an account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/custom_attribute_definitions","href":"/api-reference/custom-attributes/list-all-custom-attributes-in-an-account"},{"title":"Add a new custom attribute","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/custom_attribute_definitions","href":"/api-reference/custom-attributes/add-a-new-custom-attribute"},{"title":"Get a custom attribute details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/custom_attribute_definitions/{id}","href":"/api-reference/custom-attributes/get-a-custom-attribute-details"},{"title":"Remove a custom attribute from account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/custom_attribute_definitions/{id}","href":"/api-reference/custom-attributes/remove-a-custom-attribute-from-account"},{"title":"Update custom attribute in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/custom_attribute_definitions/{id}","href":"/api-reference/custom-attributes/update-custom-attribute-in-account"}]},{"group":"Contacts","pages":[{"title":"List Contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create Contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/contacts","href":"/api-reference/contacts/create-contact"},{"title":"Show Contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts/{id}","href":"/api-reference/contacts/show-contact"},{"title":"Update Contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json put /api/v1/accounts/{account_id}/contacts/{id}","href":"/api-reference/contacts/update-contact"},{"title":"Delete Contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/contacts/{id}","href":"/api-reference/contacts/delete-contact"},{"title":"Contact Conversations","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts/{id}/conversations","href":"/api-reference/contacts/contact-conversations"},{"title":"Search Contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts/search","href":"/api-reference/contacts/search-contacts"},{"title":"Contact Filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/contacts/filter","href":"/api-reference/contacts/contact-filter"},{"title":"Create contact inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes","href":"/api-reference/contacts/create-contact-inbox"},{"title":"Get Contactable Inboxes","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts/{id}/contactable_inboxes","href":"/api-reference/contacts/get-contactable-inboxes"},{"title":"Merge Contacts","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/actions/contact_merge","href":"/api-reference/contacts/merge-contacts"}]},{"group":"Contact Labels","pages":[{"title":"List Labels","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/contacts/{id}/labels","href":"/api-reference/contact-labels/list-labels"},{"title":"Add Labels","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/contacts/{id}/labels","href":"/api-reference/contact-labels/add-labels"}]},{"group":"Automation Rule","pages":[{"title":"List all automation rules in an account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/automation_rules","href":"/api-reference/automation-rule/list-all-automation-rules-in-an-account"},{"title":"Add a new automation rule","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/automation_rules","href":"/api-reference/automation-rule/add-a-new-automation-rule"},{"title":"Get a automation rule details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/automation_rules/{id}","href":"/api-reference/automation-rule/get-a-automation-rule-details"},{"title":"Remove a automation rule from account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/automation_rules/{id}","href":"/api-reference/automation-rule/remove-a-automation-rule-from-account"},{"title":"Update automation rule in Account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/automation_rules/{id}","href":"/api-reference/automation-rule/update-automation-rule-in-account"}]},{"group":"Help Center","pages":[{"title":"List all portals in an account","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/portals","href":"/api-reference/help-center/list-all-portals-in-an-account"},{"title":"Add a new portal","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/portals","href":"/api-reference/help-center/add-a-new-portal"},{"title":"Update a portal","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/portals/{id}","href":"/api-reference/help-center/update-a-portal"},{"title":"Add a new category","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/portals/{id}/categories","href":"/api-reference/help-center/add-a-new-category"},{"title":"Add a new article","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/portals/{id}/articles","href":"/api-reference/help-center/add-a-new-article"}]},{"group":"Conversations","pages":[{"title":"Get Conversation Counts","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations/meta","href":"/api-reference/conversations/get-conversation-counts"},{"title":"Conversations List","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations","href":"/api-reference/conversations/conversations-list"},{"title":"Create New Conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations","href":"/api-reference/conversations/create-new-conversation"},{"title":"Conversations Filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/filter","href":"/api-reference/conversations/conversations-filter"},{"title":"Conversation Details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations/{conversation_id}","href":"/api-reference/conversations/conversation-details"},{"title":"Update Conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/conversations/{conversation_id}","href":"/api-reference/conversations/update-conversation"},{"title":"Toggle Status","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/toggle_status","href":"/api-reference/conversations/toggle-status"},{"title":"Toggle Priority","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/toggle_priority","href":"/api-reference/conversations/toggle-priority"},{"title":"Toggle Typing Status","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/toggle_typing_status","href":"/api-reference/conversations/toggle-typing-status"},{"title":"Update Custom Attributes","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/custom_attributes","href":"/api-reference/conversations/update-custom-attributes"},{"title":"List Labels","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations/{conversation_id}/labels","href":"/api-reference/conversations/list-labels"},{"title":"Add Labels","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/labels","href":"/api-reference/conversations/add-labels"},{"title":"Conversation Reporting Events","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations/{conversation_id}/reporting_events","href":"/api-reference/conversations/conversation-reporting-events"}]},{"group":"Conversation Assignments","pages":[{"title":"Assign Conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/assignments","href":"/api-reference/conversation-assignments/assign-conversation"}]},{"group":"Inboxes","pages":[{"title":"List all inboxes","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/inboxes","href":"/api-reference/inboxes/list-all-inboxes"},{"title":"Create an inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/inboxes","href":"/api-reference/inboxes/create-an-inbox"},{"title":"Get an inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/inboxes/{id}","href":"/api-reference/inboxes/get-an-inbox"},{"title":"Update Inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/inboxes/{id}","href":"/api-reference/inboxes/update-inbox"},{"title":"Show Inbox Agent Bot","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/inboxes/{id}/agent_bot","href":"/api-reference/inboxes/show-inbox-agent-bot"},{"title":"Add or remove agent bot","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/inboxes/{id}/set_agent_bot","href":"/api-reference/inboxes/add-or-remove-agent-bot"},{"title":"List Agents in Inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/inbox_members/{inbox_id}","href":"/api-reference/inboxes/list-agents-in-inbox"},{"title":"Add a New Agent","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/inbox_members","href":"/api-reference/inboxes/add-a-new-agent"},{"title":"Remove an Agent from Inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/inbox_members","href":"/api-reference/inboxes/remove-an-agent-from-inbox"},{"title":"Update Agents in Inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/inbox_members","href":"/api-reference/inboxes/update-agents-in-inbox"}]},{"group":"Labels","pages":[{"title":"List all labels","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/labels","href":"/api-reference/labels/list-all-labels"},{"title":"Create a label","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/labels","href":"/api-reference/labels/create-a-label"},{"title":"Get a label","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/labels/{id}","href":"/api-reference/labels/get-a-label"},{"title":"Delete a label","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/labels/{id}","href":"/api-reference/labels/delete-a-label"},{"title":"Update a label","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/labels/{id}","href":"/api-reference/labels/update-a-label"}]},{"group":"Messages","pages":[{"title":"Get messages","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/conversations/{conversation_id}/messages","href":"/api-reference/messages/get-messages"},{"title":"Create New Message","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/conversations/{conversation_id}/messages","href":"/api-reference/messages/create-new-message"},{"title":"Delete a message","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/messages/delete-a-message"}]},{"group":"Integrations","pages":[{"title":"List all the Integrations","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/integrations/apps","href":"/api-reference/integrations/list-all-the-integrations"},{"title":"Create an integration hook","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/integrations/hooks","href":"/api-reference/integrations/create-an-integration-hook"},{"title":"Delete an Integration Hook","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/integrations/hooks/{hook_id}","href":"/api-reference/integrations/delete-an-integration-hook"},{"title":"Update an Integration Hook","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/integrations/hooks/{hook_id}","href":"/api-reference/integrations/update-an-integration-hook"}]},{"group":"Profile","pages":[{"title":"Fetch user profile","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/profile","href":"/api-reference/profile/fetch-user-profile"},{"title":"Update user profile","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json put /api/v1/profile","href":"/api-reference/profile/update-user-profile"}]},{"group":"Teams","pages":[{"title":"List all teams","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/teams","href":"/api-reference/teams/list-all-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/teams","href":"/api-reference/teams/create-a-team"},{"title":"Get a team details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/teams/{team_id}","href":"/api-reference/teams/get-a-team-details"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/teams/{team_id}","href":"/api-reference/teams/delete-a-team"},{"title":"Update a team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/teams/{team_id}","href":"/api-reference/teams/update-a-team"},{"title":"List Agents in Team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/teams/{team_id}/team_members","href":"/api-reference/teams/list-agents-in-team"},{"title":"Add a New Agent","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/teams/{team_id}/team_members","href":"/api-reference/teams/add-a-new-agent"},{"title":"Remove an Agent from Team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/teams/{team_id}/team_members","href":"/api-reference/teams/remove-an-agent-from-team"},{"title":"Update Agents in Team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/teams/{team_id}/team_members","href":"/api-reference/teams/update-agents-in-team"}]},{"group":"Custom Filters","pages":[{"title":"List all custom filters","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/custom_filters","href":"/api-reference/custom-filters/list-all-custom-filters"},{"title":"Create a custom filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/custom_filters","href":"/api-reference/custom-filters/create-a-custom-filter"},{"title":"Get a custom filter details","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/custom_filters/{custom_filter_id}","href":"/api-reference/custom-filters/get-a-custom-filter-details"},{"title":"Delete a custom filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/custom_filters/{custom_filter_id}","href":"/api-reference/custom-filters/delete-a-custom-filter"},{"title":"Update a custom filter","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/custom_filters/{custom_filter_id}","href":"/api-reference/custom-filters/update-a-custom-filter"}]},{"group":"Webhooks","pages":[{"title":"List all webhooks","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/webhooks","href":"/api-reference/webhooks/list-all-webhooks"},{"title":"Add a webhook","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json post /api/v1/accounts/{account_id}/webhooks","href":"/api-reference/webhooks/add-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json delete /api/v1/accounts/{account_id}/webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Update a webhook object","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json patch /api/v1/accounts/{account_id}/webhooks/{webhook_id}","href":"/api-reference/webhooks/update-a-webhook-object"}]},{"group":"Reports","pages":[{"title":"Account Reporting Events","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v1/accounts/{account_id}/reporting_events","href":"/api-reference/reports/account-reporting-events"},{"title":"Get Account reports","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports","href":"/api-reference/reports/get-account-reports"},{"title":"Get Account reports summary","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/summary","href":"/api-reference/reports/get-account-reports-summary"},{"title":"Account Conversation Metrics","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/conversations","href":"/api-reference/reports/account-conversation-metrics"},{"title":"Agent Conversation Metrics","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/conversations/","href":"/api-reference/reports/agent-conversation-metrics"},{"title":"Get conversation statistics grouped by channel type","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/summary_reports/channel","href":"/api-reference/reports/get-conversation-statistics-grouped-by-channel-type"},{"title":"Get conversation statistics grouped by inbox","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/summary_reports/inbox","href":"/api-reference/reports/get-conversation-statistics-grouped-by-inbox"},{"title":"Get conversation statistics grouped by agent","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/summary_reports/agent","href":"/api-reference/reports/get-conversation-statistics-grouped-by-agent"},{"title":"Get conversation statistics grouped by team","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/summary_reports/team","href":"/api-reference/reports/get-conversation-statistics-grouped-by-team"},{"title":"Get first response time distribution by channel","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/first_response_time_distribution","href":"/api-reference/reports/get-first-response-time-distribution-by-channel"},{"title":"Get inbox-label matrix report","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/inbox_label_matrix","href":"/api-reference/reports/get-inbox-label-matrix-report"},{"title":"Get outgoing messages count grouped by entity","deprecated":null,"version":null,"openapi":"/api-reference/specs/application_swagger.json get /api/v2/accounts/{account_id}/reports/outgoing_messages_count","href":"/api-reference/reports/get-outgoing-messages-count-grouped-by-entity"}]}]},{"group":"Client APIs","pages":[{"group":"Contacts API","pages":[{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts","href":"/api-reference/contacts-api/create-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json get /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}","href":"/api-reference/contacts-api/get-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json patch /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}","href":"/api-reference/contacts-api/update-a-contact"}]},{"group":"Conversations API","pages":[{"title":"List all conversations","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json get /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations","href":"/api-reference/conversations-api/list-all-conversations"},{"title":"Create a conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations","href":"/api-reference/conversations-api/create-a-conversation"},{"title":"Get a single conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json get /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}","href":"/api-reference/conversations-api/get-a-single-conversation"},{"title":"Resolve a conversation","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status","href":"/api-reference/conversations-api/resolve-a-conversation"},{"title":"Toggle typing status","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_typing","href":"/api-reference/conversations-api/toggle-typing-status"},{"title":"Update last seen","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/update_last_seen","href":"/api-reference/conversations-api/update-last-seen"}]},{"group":"Messages API","pages":[{"title":"List all messages","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json get /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages","href":"/api-reference/messages-api/list-all-messages"},{"title":"Create a message","description":"Create a message","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json post /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages","href":"/api-reference/messages-api/create-a-message"},{"title":"Update a message","deprecated":null,"version":null,"openapi":"/api-reference/specs/client_swagger.json patch /public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/messages-api/update-a-message"}]}]},{"group":"Other APIs","pages":[{"group":"CSAT Survey Page","pages":[{"title":"Get CSAT survey page","description":"You can redirect the client to this URL, instead of implementing the CSAT survey component yourself.","deprecated":null,"version":null,"openapi":"/api-reference/specs/other_swagger.json get /survey/responses/{conversation_uuid}","href":"/api-reference/csat-survey-page/get-csat-survey-page"}]}]}]}]},"basePath":"","title":"Update a message - Sapot Chat Developer Docs","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"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","Page-CxAy5y67.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.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"]}