curl -X POST https://api.vouchmark.com/v1/chat/chat_aBcD.../message \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"message": "Can you suggest steps to resolve the TIN issue?"}'
{ "message": "Message sent successfully", "userMessage": { "id": "msg_aBcD...", "chatId": "chat_aBcD...", "sender": "user", "content": "Can you suggest steps to resolve the TIN issue?", "timestampAt": "2026-06-27T10:05:00Z", "groundingSources": null }, "aiMessage": { "id": "msg_eFgH...", "chatId": "chat_aBcD...", "sender": "ai", "content": "Here are the recommended steps to resolve the TIN deactivation:\n\n1. Contact FIRS directly...", "timestampAt": "2026-06-27T10:05:02Z", "groundingSources": { "groundingChunks": [ { "web": { "uri": "https://firs.gov.ng/...", "title": "FIRS" } } ] } }}
Vouch AI
Send message
Send a message in a Vouch AI conversation and get the AI reply.
POST
/
v1
/
chat
/
{chatId}
/
message
curl -X POST https://api.vouchmark.com/v1/chat/chat_aBcD.../message \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"message": "Can you suggest steps to resolve the TIN issue?"}'
{ "message": "Message sent successfully", "userMessage": { "id": "msg_aBcD...", "chatId": "chat_aBcD...", "sender": "user", "content": "Can you suggest steps to resolve the TIN issue?", "timestampAt": "2026-06-27T10:05:00Z", "groundingSources": null }, "aiMessage": { "id": "msg_eFgH...", "chatId": "chat_aBcD...", "sender": "ai", "content": "Here are the recommended steps to resolve the TIN deactivation:\n\n1. Contact FIRS directly...", "timestampAt": "2026-06-27T10:05:02Z", "groundingSources": { "groundingChunks": [ { "web": { "uri": "https://firs.gov.ng/...", "title": "FIRS" } } ] } }}
Sends a message in an existing chat and returns both the persisted user message and the AI reply. Vouch AI has context about the chat’s company, its verification data, and monitoring events.
Requires a positive wallet balance. Billed at ₦100 per 1,000 tokens consumed by the request, and rate limited to 10 AI requests per minute.
Path parameters
string
required
The chat session ID.
Body
string
required
Your message, 1–4000 characters.
curl -X POST https://api.vouchmark.com/v1/chat/chat_aBcD.../message \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"message": "Can you suggest steps to resolve the TIN issue?"}'
{ "message": "Message sent successfully", "userMessage": { "id": "msg_aBcD...", "chatId": "chat_aBcD...", "sender": "user", "content": "Can you suggest steps to resolve the TIN issue?", "timestampAt": "2026-06-27T10:05:00Z", "groundingSources": null }, "aiMessage": { "id": "msg_eFgH...", "chatId": "chat_aBcD...", "sender": "ai", "content": "Here are the recommended steps to resolve the TIN deactivation:\n\n1. Contact FIRS directly...", "timestampAt": "2026-06-27T10:05:02Z", "groundingSources": { "groundingChunks": [ { "web": { "uri": "https://firs.gov.ng/...", "title": "FIRS" } } ] } }}
Both userMessage and aiMessage are stored message records. sender is "user" or "ai". groundingSources is null unless the AI used web search to answer.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vouchmark","description":"Verify Nigerian businesses, monitor counterparty risk, and prove trust on the web.","colors":{"primary":"#6466AE","light":"#8B8DC4","dark":"#45478B"},"logo":{"light":"https://mintcdn.com/vouchmark/vyDGY2ihe3oA_T8z/logo/logo.png?fit=max\u0026auto=format\u0026n=vyDGY2ihe3oA_T8z\u0026q=85\u0026s=4b7f5d3a985c0d54dda118e5f3eb7c3c","dark":"https://mintcdn.com/vouchmark/vyDGY2ihe3oA_T8z/logo/logo.png?fit=max\u0026auto=format\u0026n=vyDGY2ihe3oA_T8z\u0026q=85\u0026s=4b7f5d3a985c0d54dda118e5f3eb7c3c","href":"https://vouchmark.com"},"favicon":"https://mintcdn.com/vouchmark/vyDGY2ihe3oA_T8z/favicon.png?fit=max\u0026auto=format\u0026n=vyDGY2ihe3oA_T8z\u0026q=85\u0026s=8ce46c42758c5a8875f8efd3bb924904","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@vouchmark.com","label":"Support"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://vouchmark.com"}},"footer":{"socials":{"x":"https://x.com/vouchmark","linkedin":"https://www.linkedin.com/company/vouchmark"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"browser","href":"https://vouchmark.com"},{"anchor":"Status","icon":"signal-bars","href":"https://status.vouchmark.com"},{"anchor":"Support","icon":"envelope","href":"mailto:support@vouchmark.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vouchmark","hasAudioNarration":false,"actualSubdomain":"vouchmark","customDomains":["docs.vouchmark.com"],"gitSource":{"type":"github","owner":"vouchmark-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae43def63718976c0ca212b","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":83},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Verifications","count":15},{"language":"default","tag":"Onboarding (KYB)","count":13},{"language":"default","tag":"Monitoring","count":9},{"language":"default","tag":"Vouch AI","count":9},{"language":"default","tag":"Core concepts","count":9},{"language":"default","tag":"Compliance","count":7},{"language":"default","tag":"Wallet \u0026 Billing","count":7},{"language":"default","tag":"Developers","count":6}]},"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/vouch-ai/send-message","slug":"/api-reference/vouch-ai/send-message","pageMetadata":{"title":"Send message","api":"POST /v1/chat/{chatId}/message","description":"Send a message in a Vouch AI conversation and get the AI reply.","href":"/api-reference/vouch-ai/send-message"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a message in a Vouch AI conversation and get the AI reply.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading,Note,ParamField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Sends a message in an existing chat and returns both the persisted user message and the AI reply. Vouch AI has context about the chat’s company, its verification data, and monitoring events.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Requires a positive wallet balance. Billed at ₦100 per 1,000 tokens consumed by the request, and rate limited to 10 AI requests per minute.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`chatId`,type:`string`,required:true,id:`param-chat-id`,children:_jsx(_components.p,{children:`The chat session ID.`})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`message`,type:`string`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`Your message, 1–4000 characters.`})}),`\n`,`\n`,`\n`,_jsxs(_components.p,{children:[`Both `,_jsx(_components.code,{children:`userMessage`}),` and `,_jsx(_components.code,{children:`aiMessage`}),` are stored message records. `,_jsx(_components.code,{children:`sender`}),` is `,_jsx(_components.code,{children:`\"user\"`}),` or `,_jsx(_components.code,{children:`\"ai\"`}),`. `,_jsx(_components.code,{children:`groundingSources`}),` is `,_jsx(_components.code,{children:`null`}),` unless the AI used web search to answer.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send message","api":"POST /v1/chat/{chatId}/message","description":"Send a message in a Vouch AI conversation and get the AI reply.","href":"/api-reference/vouch-ai/send-message"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Sends a message in an existing chat and returns both the persisted user message and the AI reply. Vouch AI has context about the chat’s company, its verification data, and monitoring events.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Requires a positive wallet balance. Billed at ₦100 per 1,000 tokens consumed by the request, and rate limited to 10 AI requests per minute.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`chatId`,type:`string`,required:true,id:`param-chat-id`,children:_jsx(_components.p,{children:`The chat session ID.`})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`message`,type:`string`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`Your message, 1–4000 characters.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X POST https://api.vouchmark.com/v1/chat/chat_aBcD.../message \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer $TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{\"message\": \"Can you suggest steps to resolve the TIN issue?\"}'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Message sent successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"msg_aBcD...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chatId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chat_aBcD...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Can you suggest steps to resolve the TIN issue?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestampAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-27T10:05:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingSources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aiMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"msg_eFgH...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chatId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chat_aBcD...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Here are the recommended steps to resolve the TIN deactivation:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`1. Contact FIRS directly...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestampAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-27T10:05:02Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingSources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingChunks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"web\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"uri\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://firs.gov.ng/...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FIRS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[`Both `,_jsx(_components.code,{children:`userMessage`}),` and `,_jsx(_components.code,{children:`aiMessage`}),` are stored message records. `,_jsx(_components.code,{children:`sender`}),` is `,_jsx(_components.code,{children:`\"user\"`}),` or `,_jsx(_components.code,{children:`\"ai\"`}),`. `,_jsx(_components.code,{children:`groundingSources`}),` is `,_jsx(_components.code,{children:`null`}),` unless the AI used web search to answer.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send message","api":"POST /v1/chat/{chatId}/message","description":"Send a message in a Vouch AI conversation and get the AI reply.","href":"/api-reference/vouch-ai/send-message"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> -X POST https://api.vouchmark.com/v1/chat/chat_aBcD.../message \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> -H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization: Bearer $TOKEN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> -H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> -d \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\"message\": \"Can you suggest steps to resolve the TIN issue?\"}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Message sent successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"userMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"msg_aBcD...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chatId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"chat_aBcD...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sender\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Can you suggest steps to resolve the TIN issue?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestampAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-27T10:05:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"groundingSources\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"aiMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"msg_eFgH...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chatId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"chat_aBcD...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sender\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ai\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Here are the recommended steps to resolve the TIN deactivation:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\n\\n\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">1. Contact FIRS directly...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestampAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-27T10:05:02Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"groundingSources\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"groundingChunks\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"web\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"uri\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://firs.gov.ng/...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FIRS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Send message","path":"/v1/chat/{chatId}/message","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"chatId":{"schema":[{"type":"string","description":"The chat session ID.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"string","description":"Your message, 1–4000 characters.","required":true}]}}],"examples":{"example":{"value":{"message":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"vouchmark","siteName":"Vouchmark","title":"Send message - Vouchmark","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-27T22:42:34.780Z","originalFileLocation":"api-reference/vouch-ai/send-message.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a message in a Vouch AI conversation and get the AI reply.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vouchmark\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_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/vouchmark/oiIZI56Q3NT85JaQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send message - Vouchmark\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a message in a Vouch AI conversation and get the AI reply.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vouchmark\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vouchmark.mintlify.site/_mintlify/api/og/v2?division=Vouch+AI\u0026amp;title=Send+message\u0026amp;description=Send+a+message+in+a+Vouch+AI+conversation+and+get+the+AI+reply.\u0026amp;theme=537dc3d63a6ec063e2d1a23f\u0026amp;signature=a25c7c484317576845cbacea4a67b18a31c57d41699a057cbd04043a64b2f37f\">\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 - Vouchmark\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a message in a Vouch AI conversation and get the AI reply.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vouchmark.mintlify.site/_mintlify/api/og/v2?division=Vouch+AI\u0026amp;title=Send+message\u0026amp;description=Send+a+message+in+a+Vouch+AI+conversation+and+get+the+AI+reply.\u0026amp;theme=537dc3d63a6ec063e2d1a23f\u0026amp;signature=a25c7c484317576845cbacea4a67b18a31c57d41699a057cbd04043a64b2f37f\">\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/vouchmark/oiIZI56Q3NT85JaQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vouchmark\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6466AE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vouchmark.com/api-reference/vouch-ai/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/vouch-ai/send-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vouchmark.com/#organization\",\"name\":\"Vouchmark\",\"url\":\"https://docs.vouchmark.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vouchmark/vyDGY2ihe3oA_T8z/logo/logo.png?fit=max\u0026auto=format\u0026n=vyDGY2ihe3oA_T8z\u0026q=85\u0026s=4b7f5d3a985c0d54dda118e5f3eb7c3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vouchmark.com#website\",\"name\":\"Vouchmark\",\"url\":\"https://docs.vouchmark.com\",\"publisher\":{\"@id\":\"https://docs.vouchmark.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message#webpage\",\"url\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message\",\"name\":\"Send message\",\"description\":\"Send a message in a Vouch AI conversation and get the AI reply.\",\"dateModified\":\"2026-06-27T22:42:34.780Z\",\"isPartOf\":{\"@id\":\"https://docs.vouchmark.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Vouch AI\",\"item\":\"https://docs.vouchmark.com/api-reference/vouch-ai/new-chat\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send message\",\"item\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message#apireference\",\"headline\":\"Send message\",\"name\":\"Send message\",\"description\":\"Send a message in a Vouch AI conversation and get the AI reply.\",\"url\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vouchmark.com/api-reference/vouch-ai/send-message#webpage\"},\"dateModified\":\"2026-06-27T22:42:34.780Z\",\"publisher\":{\"@id\":\"https://docs.vouchmark.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vouchmark.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vouchmark\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vouchmark\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/vouch-ai/send-message.md","siteName":"Vouchmark","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"browser","href":"https://vouchmark.com"},{"anchor":"Status","icon":"signal-bars","href":"https://status.vouchmark.com"},{"anchor":"Support","icon":"envelope","href":"mailto:support@vouchmark.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Auth","pages":[{"title":"Sign up","api":"POST /v1/signup","href":"/api-reference/auth/signup"},{"title":"Log in","api":"POST /v1/login","href":"/api-reference/auth/login"},{"title":"Refresh token","api":"POST /v1/refresh-token","href":"/api-reference/auth/refresh-token"},{"title":"Log out","api":"POST /v1/logout","href":"/api-reference/auth/logout"}]},{"group":"Companies","pages":[{"title":"List my companies","api":"GET /v1/dashboard/my-companies","href":"/api-reference/companies/list"},{"title":"Get a company","api":"GET /v1/dashboard/company-details?companyId={companyId}","href":"/api-reference/companies/get"},{"title":"Edit a company","api":"POST /v1/edit-company/{companyId}","href":"/api-reference/companies/edit"},{"title":"Resolve FIRS TIN","api":"POST /v1/check-firstin","href":"/api-reference/companies/check-firs-tin"}]},{"group":"Verifications","pages":[{"title":"Verify TIN (upload TCC)","api":"POST /v1/verifyTin","href":"/api-reference/verifications/verify-tin"},{"title":"Verify JTB TIN","api":"POST /v1/verifyJtbTin","href":"/api-reference/verifications/verify-jtb-tin"},{"title":"Verify utility bill","api":"POST /v1/verifyBill","href":"/api-reference/verifications/verify-bill"},{"title":"Verify utility bill (image)","api":"POST /v1/verify-utility-bill/image","href":"/api-reference/verifications/verify-bill-image"},{"title":"Verify utility bill (manual)","api":"POST /v1/verify-utility-bill/manual","href":"/api-reference/verifications/verify-bill-manual"},{"title":"Verify CAC documents","api":"POST /v1/verifyCacAndReport","href":"/api-reference/verifications/verify-cac"},{"title":"Verify one CAC document","api":"POST /v1/verifyCacDocument","href":"/api-reference/verifications/verify-cac-document"},{"title":"Get CAC verification status","api":"GET /v1/cacVerificationStatus/{companyId}","href":"/api-reference/verifications/cac-status"},{"title":"Check verification progress","api":"POST /v1/checkVerificationProgress","href":"/api-reference/verifications/check-progress"},{"title":"Physical address verification","api":"POST /v1/physicalAddress","href":"/api-reference/verifications/physical-address"}]},{"group":"Onboarding (KYB)","pages":[{"title":"Module catalog","api":"GET /v1/kyb/modules","href":"/api-reference/onboarding/module-catalog"},{"title":"List widgets","api":"GET /v1/kyb/widgets","href":"/api-reference/onboarding/list-widgets"},{"title":"Create widget","api":"POST /v1/kyb/widgets","href":"/api-reference/onboarding/create-widget"},{"title":"Get widget","api":"GET /v1/kyb/widgets/{id}","href":"/api-reference/onboarding/get-widget"},{"title":"Update widget","api":"PATCH /v1/kyb/widgets/{id}","href":"/api-reference/onboarding/update-widget"},{"title":"Set widget status","api":"PATCH /v1/kyb/widgets/{id}/status","href":"/api-reference/onboarding/set-widget-status"},{"title":"Delete widget","api":"DELETE /v1/kyb/widgets/{id}","href":"/api-reference/onboarding/delete-widget"},{"title":"Widget cost estimate","api":"GET /v1/kyb/widgets/{id}/estimate","href":"/api-reference/onboarding/cost-estimate"},{"title":"List applicants","api":"GET /v1/kyb/applicants","href":"/api-reference/onboarding/list-applicants"},{"title":"Get applicant","api":"GET /v1/kyb/applicants/{applicantId}","href":"/api-reference/onboarding/get-applicant"},{"title":"Create applicant","api":"POST /v1/kyb/widgets/{id}/applicants","href":"/api-reference/onboarding/create-applicant"},{"title":"Run module","api":"POST /v1/kyb/applicants/{applicantId}/modules/{moduleId}/run","href":"/api-reference/onboarding/run-module"},{"title":"Submit applicant","api":"POST /v1/kyb/applicants/{applicantId}/submit","href":"/api-reference/onboarding/submit-applicant"}]},{"group":"Widget Embed (Runtime)","pages":[{"title":"Get embed config","api":"GET /v1/widget/embed/config","href":"/api-reference/onboarding/embed-config"},{"title":"Create embed session","api":"POST /v1/widget/embed/sessions","href":"/api-reference/onboarding/create-session"},{"title":"Resume embed session","api":"GET /v1/widget/embed/sessions/{sessionId}","href":"/api-reference/onboarding/resume-session"},{"title":"Save session answers","api":"PATCH /v1/widget/embed/sessions/{sessionId}/answers","href":"/api-reference/onboarding/save-answers"},{"title":"Upload session attachment","api":"POST /v1/widget/embed/sessions/{sessionId}/uploads","href":"/api-reference/onboarding/upload-attachment"},{"title":"Submit embed session","api":"POST /v1/widget/embed/sessions/{sessionId}/submit","href":"/api-reference/onboarding/submit-session"}]},{"group":"Trust Badge","pages":[{"title":"Verify a badge token","api":"GET /v1/trust-badge/verify","href":"/api-reference/trust-badge/verify"},{"title":"Get my badge","api":"GET /v1/trust-badge/my-badge","href":"/api-reference/trust-badge/my-badge"}]},{"group":"Monitoring","pages":[{"title":"List monitored vendors","api":"GET /v1/monitoring/vendors","href":"/api-reference/monitoring/list-vendors"},{"title":"Get vendor profile","api":"GET /v1/monitoring/vendors/{vendorId}","href":"/api-reference/monitoring/vendor-profile"},{"title":"List vendor events","api":"GET /v1/monitoring/vendors/{vendorId}/events","href":"/api-reference/monitoring/vendor-events"},{"title":"Vendor score history","api":"GET /v1/monitoring/vendors/{vendorId}/score-history","href":"/api-reference/monitoring/score-history"},{"title":"Media mentions","api":"GET /v1/monitoring/media-mentions","href":"/api-reference/monitoring/media-mentions"},{"title":"List alerts","api":"GET /v1/monitoring/alerts","href":"/api-reference/monitoring/alerts"},{"title":"Add to watchlist","api":"POST /v1/monitoring/vendors/watchlist","href":"/api-reference/monitoring/add-to-watchlist"},{"title":"Remove from watchlist","api":"DELETE /v1/monitoring/vendors/watchlist/{vendorId}","href":"/api-reference/monitoring/remove-from-watchlist"},{"title":"Get watchlist capacity","api":"GET /v1/monitoring/watchlist/capacity","href":"/api-reference/monitoring/watchlist-limits"}]},{"group":"Investigations","pages":[{"title":"List investigation reports","api":"GET /v1/investigation/reports","href":"/api-reference/investigations/list-reports"},{"title":"Get investigation report","api":"GET /v1/investigation/reports/{reportId}","href":"/api-reference/investigations/get-report"}]},{"group":"Disputes","pages":[{"title":"List disputes","api":"GET /v1/disputes","href":"/api-reference/disputes/list-disputes"},{"title":"Submit dispute","api":"POST /v1/disputes","href":"/api-reference/disputes/submit-dispute"},{"title":"Get dispute","api":"GET /v1/disputes/{disputeId}","href":"/api-reference/disputes/get-dispute"}]},{"group":"Vouch AI","pages":[{"title":"Start new chat","api":"POST /v1/chat/new","description":"Create or return the Vouch AI chat for a company.","href":"/api-reference/vouch-ai/new-chat"},{"title":"Send message","api":"POST /v1/chat/{chatId}/message","href":"/api-reference/vouch-ai/send-message"},{"title":"Stream message","api":"POST /v1/chat/{chatId}/stream","description":"Send a message and receive the AI reply as a stream of events.","href":"/api-reference/vouch-ai/stream-message"},{"title":"Chat history","api":"GET /v1/chat/history","href":"/api-reference/vouch-ai/chat-history"},{"title":"Get chat","api":"GET /v1/chat/{chatId}","href":"/api-reference/vouch-ai/get-chat"},{"title":"Rename chat","api":"PATCH /v1/chat/{chatId}/title","href":"/api-reference/vouch-ai/rename-chat"},{"title":"Delete chat","api":"DELETE /v1/chat/{chatId}","href":"/api-reference/vouch-ai/delete-chat"},{"title":"Quick chat","api":"POST /v1/chat/quick","href":"/api-reference/vouch-ai/quick-chat"},{"title":"AI company overview","api":"POST /v1/company/ai-overview","href":"/api-reference/vouch-ai/ai-overview"}]},{"group":"Compliance","pages":[{"title":"List obligations","api":"GET /v1/compliance/obligations","href":"/api-reference/compliance/list-obligations"},{"title":"Upcoming obligations","api":"GET /v1/compliance/obligations/upcoming","href":"/api-reference/compliance/upcoming"},{"title":"Create obligation","api":"POST /v1/compliance/obligations","href":"/api-reference/compliance/create-obligation"},{"title":"Update obligation","api":"PATCH /v1/compliance/obligations/{obligationId}","href":"/api-reference/compliance/update-obligation"},{"title":"Complete obligation","api":"POST /v1/compliance/obligations/{obligationId}/complete","href":"/api-reference/compliance/complete-obligation"},{"title":"Delete obligation","api":"DELETE /v1/compliance/obligations/{obligationId}","href":"/api-reference/compliance/delete-obligation"},{"title":"Seed obligations","api":"POST /v1/compliance/seed","href":"/api-reference/compliance/seed"}]},{"group":"Wallet \u0026 Billing","pages":[{"title":"Get wallet","api":"GET /v1/wallet","href":"/api-reference/wallet/get-wallet"},{"title":"List transactions","api":"GET /v1/wallet/transactions","href":"/api-reference/wallet/transactions"},{"title":"Top up wallet","api":"POST /v1/wallet/topup","href":"/api-reference/wallet/topup"},{"title":"Verify top-up","api":"GET /v1/wallet/topup/verify","href":"/api-reference/wallet/verify-topup"},{"title":"Update auto top-up","api":"PATCH /v1/wallet/auto-top-up","href":"/api-reference/wallet/auto-topup"},{"title":"Update threshold","api":"PATCH /v1/wallet/threshold","href":"/api-reference/wallet/threshold"},{"title":"Pricing rates","api":"GET /v1/wallet/pricing-rates","href":"/api-reference/wallet/pricing-rates"}]},{"group":"Developers","pages":[{"title":"List API keys","api":"GET /v1/developers/api-keys","href":"/api-reference/developers/list-api-keys"},{"title":"Rotate API key","api":"POST /v1/developers/api-keys/rotate","href":"/api-reference/developers/rotate-api-key"},{"title":"List webhooks","api":"GET /v1/developers/webhooks","href":"/api-reference/developers/list-webhooks"},{"title":"Create webhook","api":"POST /v1/developers/webhooks","href":"/api-reference/developers/create-webhook"},{"title":"Rotate webhook secret","api":"POST /v1/developers/webhooks/{id}/rotate-secret","href":"/api-reference/developers/rotate-webhook-secret"},{"title":"Delete webhook","api":"DELETE /v1/developers/webhooks/{id}","href":"/api-reference/developers/delete-webhook"}]}]}]},"basePath":"","title":"Send message - Vouchmark","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js"]}