Sends a user message to the conversation and returns the AI agent’s response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.
Send message
curl --request POST \ --url https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "message": { "content": "Hello, I need help with my order.", "role": "user" }, "metadata": { "age": 34, "first_name": "John", "plan_type": "term_life" }, "stream": true}'
import requests
url = "https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}"
payload = {
"message": {
"content": "Hello, I need help with my order.",
"role": "user"
},
"metadata": {
"age": 34,
"first_name": "John",
"plan_type": "term_life"
},
"stream": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
message: {content: 'Hello, I need help with my order.', role: 'user'},
metadata: {age: 34, first_name: 'John', plan_type: 'term_life'},
stream: true
})
};
fetch('https://api.dimedove.com/v1/apps/{app_id}/conversations/{conversation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Override the app's default streaming setting for this request. When true, the response is delivered as Server-Sent Events (SSE). When false, a single JSON response is returned. If omitted, the app's configured default is used.
Arbitrary key-value context to enrich the AI agent's response. Pass the latest snapshot on any message — the agent will use this fresh context for the current response and it will be persisted as the conversation's latest metadata. Maximum 16KB.
The status of the response. Either 'completed' or 'failed'.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Dimedove","description":"Comprehensive documentation for Dimedove's customer engagement platform","colors":{"primary":"#0f0e0d","light":"#f4f4f5","dark":"#27272a"},"logo":{"light":"https://mintcdn.com/dimedove/-v7Xq33nDK5FEKS4/images/logos/light.png?fit=max\u0026auto=format\u0026n=-v7Xq33nDK5FEKS4\u0026q=85\u0026s=f8dacb84b710528bdf19f71e49e57985","dark":"https://mintcdn.com/dimedove/-v7Xq33nDK5FEKS4/images/logos/dark.png?fit=max\u0026auto=format\u0026n=-v7Xq33nDK5FEKS4\u0026q=85\u0026s=a99cd64dda55025c9df66d67d15fb584"},"favicon":"https://mintcdn.com/dimedove/-v7Xq33nDK5FEKS4/favicon.ico?fit=max\u0026auto=format\u0026n=-v7Xq33nDK5FEKS4\u0026q=85\u0026s=4037acf77e1e1a84b5738fe60c2b3fbe","api":{"playground":{"display":"none"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.dimedove.com/v1"}},"appearance":{"default":"dark","strict":false},"navbar":{"links":[{"href":"https://status.dimedove.com/","label":"Status"},{"href":"https://cal.com/felixsimard/support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.dimedove.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/dimedove","x":"https://x.com/dimedove"}},"seo":{"metatags":{"charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","description":"Dimedove customer engagement platform documentation - Learn how to use agents, manage inbox, contacts, team collaboration and webhooks","keywords":"dimedove, customer engagement, agents, inbox, contacts, team, webhooks, documentation","author":"Dimedove","robots":"index, follow","category":"Technology"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dimedove","hasAudioNarration":false,"actualSubdomain":"dimedove","customDomains":["docs.dimedove.com"],"gitSource":{"type":"github","owner":"dimedove","repo":"dimedove-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab66edfbae6c83badada925","collectionId":"df196b8c-2d42-41c2-9196-6d6248701968","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab66edfbae6c83badada925"},"feedback":{"thumbs":false,"edits":true,"issues":true},"entitlements":{},"buildId":"6ab66edfbae6c83badada925","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Platform","count":74},{"language":"default","tag":"Integrations","count":46},{"language":"default","tag":"Agents","count":27},{"language":"default","tag":"API Reference","count":21},{"language":"default","tag":"Developer","count":12},{"language":"default","tag":"Legal","count":12},{"language":"default","tag":"Team","count":10},{"language":"default","tag":"Behavior","count":7},{"language":"default","tag":"Conversations","count":7},{"language":"default","tag":"Outbound","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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/conversations/send-message","slug":"/api-reference/conversations/send-message","pageMetadata":{"title":"Send message","description":"Sends a user message to the conversation and returns the AI agent's response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json post /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/send-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: \"Sends a user message to the conversation and returns the AI agent’s response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\"\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Send message","description":"Sends a user message to the conversation and returns the AI agent's response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json post /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/send-message","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"apps_api_send_message","summary":"Send message","parameters":["b83d0739-708d-4f0f-9505-fcea7aeec45f","870d9461-d582-42f1-afa6-a88bfd4db851"],"responses":{"200":"017d511f-2774-452b-90e6-491b6a49fe34","401":"76218226-0650-4f6b-ac5d-7ba4b2e4004c","403":"d77bf3e7-f387-475b-8484-8d210f24fec0","404":"00d1ec25-3c85-4b09-95ed-36285fc16b62","429":"6bc1691a-e2bf-4c58-83bc-4a65da824194"},"description":"Sends a user message to the conversation and returns the AI agent's response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.","tags":["Conversations"],"requestBody":"de460430-63d7-465e-8c70-206669ac2555","security":["52ac4684-13ae-4b6a-b5bc-e94d5d3ea913"],"method":"post","type":"path","servers":["52be8296-636c-4dbd-a65c-8fefb69cc129"],"path":"/apps/{app_id}/conversations/{conversation_id}","baseUrlOptions":["https://api.dimedove.com/v1"],"title":"Send message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b83d0739-708d-4f0f-9505-fcea7aeec45f":{"in":"path","name":"app_id","schema":{"description":"The unique identifier of the app.","title":"App Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The unique identifier of the app."},"870d9461-d582-42f1-afa6-a88bfd4db851":{"in":"path","name":"conversation_id","schema":{"description":"The unique identifier of the conversation.","title":"Conversation Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The unique identifier of the conversation."}},"requestBody":{"content":{"application/json":{"schema":{"example":{"message":{"content":"Hello, I need help with my order.","role":"user"},"metadata":{"age":34,"first_name":"John","plan_type":"term_life"},"stream":true},"properties":{"message":{"properties":{"content":{"description":"The text content of the message to send to the AI agent.","title":"Content","type":"string","isRequired":true,"uniqueKey":"message.content","typeLabel":"string"},"role":{"default":"user","description":"The role of the message sender. Currently only 'user' is supported.","title":"Role","type":"string","uniqueKey":"message.role","typeLabel":"string"}},"required":["content"],"title":"MessageInput","type":"object","description":"The message object to send.","isRequired":true,"uniqueKey":"message","typeLabel":"MessageInput · object"},"stream":{"oneOf":[{"type":"boolean","title":"Stream","description":"Override the app's default streaming setting for this request. When true, the response is delivered as Server-Sent Events (SSE). When false, a single JSON response is returned. If omitted, the app's configured default is used.","uniqueKey":"stream.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Stream","description":"Override the app's default streaming setting for this request. When true, the response is delivered as Server-Sent Events (SSE). When false, a single JSON response is returned. If omitted, the app's configured default is used.","uniqueKey":"stream.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream","typeLabel":"boolean | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Arbitrary key-value context to enrich the AI agent's response. Pass the latest snapshot on any message — the agent will use this fresh context for the current response and it will be persisted as the conversation's latest metadata. Maximum 16KB.","additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Arbitrary key-value context to enrich the AI agent's response. Pass the latest snapshot on any message — the agent will use this fresh context for the current response and it will be persisted as the conversation's latest metadata. Maximum 16KB.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"}},"required":["message"],"title":"SendMessageRequest","type":"object","uniqueKey":"","typeLabel":"SendMessageRequest · object"},"examples":{"Example":{"title":"Example","value":{"message":{"content":"Hello, I need help with my order.","role":"user"},"metadata":{"age":34,"first_name":"John","plan_type":"term_life"},"stream":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"017d511f-2774-452b-90e6-491b6a49fe34":{"description":"OK","content":{"application/json":{"schema":{"properties":{"id":{"description":"Unique identifier for the response.","title":"Id","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"created_at":{"description":"Unix timestamp (in seconds) of when the response was generated.","title":"Created At","type":"integer","isRequired":true,"uniqueKey":"created_at","typeLabel":"integer"},"conversation_id":{"description":"The ID of the conversation this response belongs to.","title":"Conversation Id","type":"string","isRequired":true,"uniqueKey":"conversation_id","typeLabel":"string"},"object":{"default":"response","description":"The object type. Always 'response'.","title":"Object","type":"string","uniqueKey":"object","typeLabel":"string"},"output":{"default":[],"description":"The list of output items produced by the AI agent, including messages and function calls.","items":{"properties":{"type":{"description":"The type of the output item. Either 'message' for text responses or 'function_call' for tool invocations.","title":"Type","type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].type","typeLabel":"string"},"role":{"oneOf":[{"type":"string","title":"Role","description":"The role of the output item author. Typically 'assistant'. Only present for 'message' type items.","uniqueKey":"output.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","title":"Role","description":"The role of the output item author. Typically 'assistant'. Only present for 'message' type items.","uniqueKey":"output.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].role","typeLabel":"string | null"},"content":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"output.items.[INDEX].content.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Content","description":"The content parts of the message. Each part is an object with a 'type' field and type-specific data. Only present for 'message' type items.","uniqueKey":"output.items.[INDEX].content.oneOf.0","typeLabel":"Content · object[]"},{"type":"null","title":"Content","description":"The content parts of the message. Each part is an object with a 'type' field and type-specific data. Only present for 'message' type items.","uniqueKey":"output.items.[INDEX].content.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].content","typeLabel":"Content · object[] | null"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the function that was called. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the function that was called. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].name","typeLabel":"string | null"},"arguments":{"oneOf":[{"type":"string","title":"Arguments","description":"The JSON-encoded arguments passed to the function. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].arguments.oneOf.0","typeLabel":"string"},{"type":"null","title":"Arguments","description":"The JSON-encoded arguments passed to the function. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].arguments.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].arguments","typeLabel":"string | null"},"call_id":{"oneOf":[{"type":"string","title":"Call Id","description":"The unique identifier for this function call. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].call_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Call Id","description":"The unique identifier for this function call. Only present for 'function_call' type items.","uniqueKey":"output.items.[INDEX].call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].call_id","typeLabel":"string | null"}},"required":["type"],"title":"ResponseOutputItem","type":"object","uniqueKey":"output.items.[INDEX]","typeLabel":"ResponseOutputItem · object"},"title":"Output","type":"array","uniqueKey":"output","typeLabel":"ResponseOutputItem · object[]"},"status":{"default":"completed","description":"The status of the response. Either 'completed' or 'failed'.","title":"Status","type":"string","uniqueKey":"status","typeLabel":"string"}},"required":["id","created_at","conversation_id"],"title":"ResponseSchema","type":"object","uniqueKey":"","typeLabel":"ResponseSchema · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","created_at":123,"conversation_id":"\u003cstring>","object":"response","output":[],"status":"completed"}}},"exampleType":"generated"}},"exampleType":"generated"},"76218226-0650-4f6b-ac5d-7ba4b2e4004c":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"description":"A human-readable description of the error.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"The error type identifier (e.g. 'invalid_api_key', 'not_found', 'rate_limit_exceeded').","title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"}},"required":["message","type"],"title":"OpenAIErrorDetail","type":"object","description":"The error detail object.","isRequired":true,"uniqueKey":"error","typeLabel":"OpenAIErrorDetail · object"}},"required":["error"],"title":"OpenAIErrorSchema","type":"object","uniqueKey":"","typeLabel":"OpenAIErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","param":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d77bf3e7-f387-475b-8484-8d210f24fec0":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"description":"A human-readable description of the error.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"The error type identifier (e.g. 'invalid_api_key', 'not_found', 'rate_limit_exceeded').","title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"}},"required":["message","type"],"title":"OpenAIErrorDetail","type":"object","description":"The error detail object.","isRequired":true,"uniqueKey":"error","typeLabel":"OpenAIErrorDetail · object"}},"required":["error"],"title":"OpenAIErrorSchema","type":"object","uniqueKey":"","typeLabel":"OpenAIErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","param":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"00d1ec25-3c85-4b09-95ed-36285fc16b62":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"description":"A human-readable description of the error.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"The error type identifier (e.g. 'invalid_api_key', 'not_found', 'rate_limit_exceeded').","title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"}},"required":["message","type"],"title":"OpenAIErrorDetail","type":"object","description":"The error detail object.","isRequired":true,"uniqueKey":"error","typeLabel":"OpenAIErrorDetail · object"}},"required":["error"],"title":"OpenAIErrorSchema","type":"object","uniqueKey":"","typeLabel":"OpenAIErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","param":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6bc1691a-e2bf-4c58-83bc-4a65da824194":{"description":"Too Many Requests","content":{"application/json":{"schema":{"properties":{"error":{"properties":{"message":{"description":"A human-readable description of the error.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"The error type identifier (e.g. 'invalid_api_key', 'not_found', 'rate_limit_exceeded').","title":"Type","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"param":{"oneOf":[{"type":"string","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","title":"Param","description":"The parameter that caused the error, if applicable.","uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.param","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"An error code providing additional detail, if applicable.","uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"string | null"}},"required":["message","type"],"title":"OpenAIErrorDetail","type":"object","description":"The error detail object.","isRequired":true,"uniqueKey":"error","typeLabel":"OpenAIErrorDetail · object"}},"required":["error"],"title":"OpenAIErrorSchema","type":"object","uniqueKey":"","typeLabel":"OpenAIErrorSchema · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","type":"\u003cstring>","param":"\u003cstring>","code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"52ac4684-13ae-4b6a-b5bc-e94d5d3ea913":{"AppsApiKeyAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"52be8296-636c-4dbd-a65c-8fefb69cc129":{"url":"https://api.dimedove.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AppsApiKeyAuth","name":"Authorization"}],"title":"AppsApiKeyAuth"}]},"originalFileLocation":"openapi/apps-api.json"},"subdomain":"dimedove","siteName":"Dimedove","title":"Send message - Dimedove","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-06T15:20:26.441Z","originalFileLocation":"api-reference/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=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sends a user message to the conversation and returns the AI agent\u0026#x27;s response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\">\u003cmeta data-mint-head name=\"keywords\" content=\"dimedove, customer engagement, agents, inbox, contacts, team, webhooks, documentation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dimedove\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_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/dimedove/8AZF37mQFp0GXQz_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send message - Dimedove\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a user message to the conversation and returns the AI agent\u0026#x27;s response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dimedove\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dimedove.com/api-reference/conversations/send-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dimedove.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+message\u0026amp;description=Sends+a+user+message+to+the+conversation+and+returns+the+AI+agent%27s+response.+Supports+both+streaming+%28Server-Sent+Events%29+and+non-streaming+%28JSON%29+response+mod\u0026amp;theme=d724c1208185907e79df376b\u0026amp;signature=148eff184454f0d4d889d13835e92b5e2fe5ec57057a14611cdd56f367767bcb\">\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 message - Dimedove\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a user message to the conversation and returns the AI agent\u0026#x27;s response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dimedove.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+message\u0026amp;description=Sends+a+user+message+to+the+conversation+and+returns+the+AI+agent%27s+response.+Supports+both+streaming+%28Server-Sent+Events%29+and+non-streaming+%28JSON%29+response+mod\u0026amp;theme=d724c1208185907e79df376b\u0026amp;signature=148eff184454f0d4d889d13835e92b5e2fe5ec57057a14611cdd56f367767bcb\">\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/dimedove/8AZF37mQFp0GXQz_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dimedove\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f0e0d\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"author\" content=\"Dimedove\">\u003cmeta data-mint-head name=\"category\" content=\"Technology\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dimedove.com/api-reference/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/conversations/send-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dimedove.com/#organization\",\"name\":\"Dimedove\",\"url\":\"https://docs.dimedove.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dimedove/-v7Xq33nDK5FEKS4/images/logos/light.png?fit=max\u0026auto=format\u0026n=-v7Xq33nDK5FEKS4\u0026q=85\u0026s=f8dacb84b710528bdf19f71e49e57985\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dimedove.com#website\",\"name\":\"Dimedove\",\"url\":\"https://docs.dimedove.com\",\"publisher\":{\"@id\":\"https://docs.dimedove.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dimedove.com/api-reference/conversations/send-message#webpage\",\"url\":\"https://docs.dimedove.com/api-reference/conversations/send-message\",\"name\":\"Send message\",\"description\":\"Sends a user message to the conversation and returns the AI agent's response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\",\"dateModified\":\"2026-07-06T15:20:26.441Z\",\"isPartOf\":{\"@id\":\"https://docs.dimedove.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dimedove.com/api-reference/conversations/send-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dimedove.com/api-reference/conversations/send-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.dimedove.com/api-reference/applications/get-app-config\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conversations\",\"item\":\"https://docs.dimedove.com/api-reference/conversations/create-conversation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send message\",\"item\":\"https://docs.dimedove.com/api-reference/conversations/send-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dimedove.com/api-reference/conversations/send-message#apireference\",\"headline\":\"Send message\",\"name\":\"Send message\",\"description\":\"Sends a user message to the conversation and returns the AI agent's response. Supports both streaming (Server-Sent Events) and non-streaming (JSON) response modes. This endpoint is rate-limited.\",\"url\":\"https://docs.dimedove.com/api-reference/conversations/send-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dimedove.com/api-reference/conversations/send-message#webpage\"},\"dateModified\":\"2026-07-06T15:20:26.441Z\",\"publisher\":{\"@id\":\"https://docs.dimedove.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dimedove.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dimedove\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dimedove","nav":{"global":null,"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":"/platform/quickstart/introduction"}]},{"tab":"Developer","pages":[{"title":"Developer","href":"/developer/messenger/overview"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"API Reference","pages":[{"group":"Applications","pages":[{"title":"Get app config","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json get /apps/{app_id}/config","href":"/api-reference/applications/get-app-config"},{"title":"Get app metrics","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json get /apps/{app_id}/metrics","href":"/api-reference/applications/get-app-metrics"}]},{"group":"Conversations","pages":[{"title":"Create conversation","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json post /apps/{app_id}/conversations","href":"/api-reference/conversations/create-conversation"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json get /apps/{app_id}/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"List user conversations","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json get /apps/{app_id}/users/{external_user_id}/conversations","href":"/api-reference/conversations/list-user-conversations"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json get /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/get-conversation"},{"title":"Update conversation","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json patch /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/update-conversation"},{"title":"Delete conversation","description":"Soft-deletes a conversation. The conversation will no longer appear in list requests, but the underlying data remains accessible from the dashboard.","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json delete /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/delete-conversation"},{"title":"Send message","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json post /apps/{app_id}/conversations/{conversation_id}","href":"/api-reference/conversations/send-message"}]},{"group":"Completions","pages":[{"title":"Create completion","description":"Generates a one-shot text completion using the app's agent configuration. Unlike the conversation endpoints, this does not create or belong to a conversation. It produces a single piece of text from your instruction, grounded in the agent's business context. Supports both streaming (Server-Sent Events) and non-streaming (JSON) modes.","deprecated":null,"version":null,"openapi":"/openapi/apps-api.json post /apps/{app_id}/completions","href":"/api-reference/completions/create-completion"}]}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]},{"tab":"Legal","pages":[{"title":"Legal","href":"/legal/terms-of-service"}]},{"tab":"FAQs","pages":[{"title":"FAQs","href":"/faqs/general"}]}]},"basePath":"","title":"Send message - Dimedove","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}