curl --request POST \ --url 'https://api.minimo.it/public/v1/inbox/threads/1234/reply' \ --header 'Authorization: Bearer {{BEARER_TOKEN}}' \ --header 'Content-Type: application/json' \ --data '{"text": "Yes, we ship to Sicily in 2 working days.", "channel": "whatsapp"}'
const res = await fetch('https://api.minimo.it/public/v1/inbox/threads/1234/reply', {
method: 'POST',
headers: {
'Authorization': 'Bearer {{BEARER_TOKEN}}',
'Content-Type': 'application/json',
},
body: JSON.stringify({"text": "Yes, we ship to Sicily in 2 working days.", "channel": "whatsapp"}),
});
const { data } = await res.json();
console.log(data);
import requests
res = requests.post(
'https://api.minimo.it/public/v1/inbox/threads/1234/reply',
headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},
json={'text': 'Yes, we ship to Sicily in 2 working days.', 'channel': 'whatsapp'},
)
print(res.json())
{ "data": { "sent": true, "messageId": 90113, "preview": { "channel": "whatsapp", "to": "393331234567", "subject": null, "text": "Yes, we ship to Sicily in 2 working days." }, "effects": [ "The AI agent pauses on this conversation (an operator reply hands it over to a human).", "The conversation is assigned to you." ], "thread": { "threadId": 1234, "status": "open", "unreadMessages": 2, "pinned": false, "channels": [ "whatsapp" ], "contact": { "contactId": 5678, "name": "Mario Rossi", "email": null, "phone": "393331234567" }, "assignedTo": { "userId": 42, "name": "Giulia Bianchi" }, "needsHuman": false, "ai": { "state": "paused", "since": "2026-11-13T09:02:00.000Z" }, "snoozedUntil": null, "updatedAt": "2026-11-13T09:00:00.000Z", "lastMessage": { "messageId": 90112, "direction": "inbound", "channel": "whatsapp", "subject": null, "preview": "Can I talk to a person?", "at": "2026-11-13T09:00:00.000Z" } } }}
Threads
Reply to Thread
Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread
POST
/
public
/
v1
/
inbox
/
threads
/
{threadId}
/
reply
CLI
curl --request POST \ --url 'https://api.minimo.it/public/v1/inbox/threads/1234/reply' \ --header 'Authorization: Bearer {{BEARER_TOKEN}}' \ --header 'Content-Type: application/json' \ --data '{"text": "Yes, we ship to Sicily in 2 working days.", "channel": "whatsapp"}'
const res = await fetch('https://api.minimo.it/public/v1/inbox/threads/1234/reply', {
method: 'POST',
headers: {
'Authorization': 'Bearer {{BEARER_TOKEN}}',
'Content-Type': 'application/json',
},
body: JSON.stringify({"text": "Yes, we ship to Sicily in 2 working days.", "channel": "whatsapp"}),
});
const { data } = await res.json();
console.log(data);
import requests
res = requests.post(
'https://api.minimo.it/public/v1/inbox/threads/1234/reply',
headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},
json={'text': 'Yes, we ship to Sicily in 2 working days.', 'channel': 'whatsapp'},
)
print(res.json())
{ "data": { "sent": true, "messageId": 90113, "preview": { "channel": "whatsapp", "to": "393331234567", "subject": null, "text": "Yes, we ship to Sicily in 2 working days." }, "effects": [ "The AI agent pauses on this conversation (an operator reply hands it over to a human).", "The conversation is assigned to you." ], "thread": { "threadId": 1234, "status": "open", "unreadMessages": 2, "pinned": false, "channels": [ "whatsapp" ], "contact": { "contactId": 5678, "name": "Mario Rossi", "email": null, "phone": "393331234567" }, "assignedTo": { "userId": 42, "name": "Giulia Bianchi" }, "needsHuman": false, "ai": { "state": "paused", "since": "2026-11-13T09:02:00.000Z" }, "snoozedUntil": null, "updatedAt": "2026-11-13T09:00:00.000Z", "lastMessage": { "messageId": 90112, "direction": "inbound", "channel": "whatsapp", "subject": null, "preview": "Can I talk to a person?", "at": "2026-11-13T09:00:00.000Z" } } }}
The reply is sent as the user who created the key, exactly like a reply typed in the inbox. Send
"dryRun": true first to see the recipient, the subject, the WhatsApp window and the effects without sending.
Rules
WhatsApp 24-hour window. Free text only within 24 hours of the contact’s last WhatsApp message. Outside it the
answer is 422WHATSAPP_WINDOW_CLOSED and nothing is sent: use an approved
template instead.
Email threading. Sent to the address of the contact’s last email (or the contact’s email) in the same email
thread, from your workspace’s sender. The subject in the preview is the subject sent.
No double sends. The same text sent in the same thread in the last 10 minutes is not sent again: "sent": false
with duplicateOf (the id of the message already sent).
Handover. A WhatsApp reply pauses the AI on this conversation and assigns it to the key’s user if nobody had it.
Permissions
The API key needs the Inbox permission. A key with no user (none created it) cannot reply.
Common Errors
Errors answer with the code in message and a sentence you can show in userMessage:
{ "status": "FAIL", "message": "WHATSAPP_WINDOW_CLOSED", "userMessage": "WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message (this window closed at 2026-11-12T16:15:41.406Z). Send an approved template instead (...)."}
Status
message
When
422
WHATSAPP_WINDOW_CLOSED
WhatsApp reply outside the 24-hour window. Nothing is sent.
422
NO_RECIPIENT_PHONE / NO_RECIPIENT_EMAIL
The contact has no phone / email.
422
NO_REPLY_CHANNEL
The thread has no WhatsApp or email message and no channel was given.
422
SUBJECT_REQUIRED
Email reply to a contact who never emailed in this thread: pass subject.
409
REPLY_IN_PROGRESS
The same reply is being sent right now by another call. Read the thread before trying again.
400
INVALID_PARAMETERS
Empty or too long text, a field of the wrong type, or a key with no user.
MCP: agents use minimo_inbox_reply, which asks for confirmation before sending (Inbox for your AI agent)
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
threadId
integer
required
The threadId from List Threads or Search Threads.
Body
application/json
text
string
required
Plain text.
Required string length: 1 - 4096
channel
enum<string>
Default: the channel of the contact's last WhatsApp or email message.
Available options:
whatsapp,
email
subject
string
Email only. Default: Re: <subject of their last email>.
Maximum string length: 300
dryRun
boolean
true = validate and return the preview, send nothing. A JSON boolean, not "true".
Response
Sent, previewed (dryRun), or skipped as a double send (duplicateOf)
data
object
Show child attributes
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Minimo Docs","colors":{"primary":"#000000","light":"#fafafa","dark":"#000000"},"favicon":"https://mintcdn.com/minimo/3CkweOTs_wJBldaS/favicon.svg?fit=max\u0026auto=format\u0026n=3CkweOTs_wJBldaS\u0026q=85\u0026s=741f59ded2f05d51dd8ed745b6b9304d","logo":{"light":"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/light.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=770ea7f424284ce6f88684bb97af23f0","dark":"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/dark.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=d0eaf24238816ed860e88d67985c7d27"},"api":{"openapi":["api-reference/openApi.yml"]},"navbar":{"links":[{"label":"Support","href":"mailto:info@minimo.it"}],"primary":{"type":"button","label":"Start now for free","href":"https://app.minimo.it"}},"footer":{"socials":{"instagram":"https://instagram.com/thebareminimo","linkedin":"https://www.linkedin.com/company/thebareminimo"}},"integrations":{},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Sito Web","href":"https://minimo.it","icon":"desktop"},{"anchor":"Blog","href":"https://minimo.it/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"minimo","hasAudioNarration":false,"actualSubdomain":"minimo","customDomains":["docs.minimo.it"],"gitSource":{"type":"github","owner":"thebareminimo","repo":"docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af73a67e0e076832781b1f7","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API Reference","count":43},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Product","count":22},{"language":"default","tag":"Embedded for SaaS","count":19},{"language":"default","tag":"Connect a Bot (WhatsApp)","count":14},{"language":"default","tag":"Inbox","count":11},{"language":"default","tag":"Messaging Channels","count":10},{"language":"default","tag":"Widgets","count":8},{"language":"default","tag":"Core Data","count":7},{"language":"default","tag":"Webhooks","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/inbox/reply","slug":"/api-reference/inbox/reply","pageMetadata":{"title":"Reply to Thread","description":"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread","openapi":"post /public/v1/inbox/threads/{threadId}/reply","href":"/api-reference/inbox/reply"},"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: \"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The reply is sent as `,_jsx(_components.strong,{children:`the user who created the key`}),`, exactly like a reply typed in the inbox. Send\n`,_jsx(_components.code,{children:`\"dryRun\": true`}),` first to see the recipient, the subject, the WhatsApp window and the effects without sending.`]}),`\n`,_jsx(Heading,{level:`2`,id:`rules`,children:`Rules`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`WhatsApp 24-hour window.`}),` Free text only within 24 hours of the contact’s last WhatsApp message. Outside it the\nanswer is `,_jsx(_components.code,{children:`422`}),` `,_jsx(_components.code,{children:`WHATSAPP_WINDOW_CLOSED`}),` and nothing is sent: use an approved\n`,_jsx(_components.a,{href:`/api-reference/messaging-channels/whatsapp/send-template`,children:`template`}),` instead.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email threading.`}),` Sent to the address of the contact’s last email (or the contact’s email) in the same email\nthread, from your workspace’s sender. The subject in the preview is the subject sent.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No double sends.`}),` The same text sent in the same thread in the last 10 minutes is not sent again: `,_jsx(_components.code,{children:`\"sent\": false`}),`\nwith `,_jsx(_components.code,{children:`duplicateOf`}),` (the id of the message already sent).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Handover.`}),` A WhatsApp reply pauses the AI on this conversation and assigns it to the key’s user if nobody had it.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`permissions`,children:`Permissions`}),`\n`,_jsxs(_components.p,{children:[`The API key needs the `,_jsx(_components.strong,{children:`Inbox`}),` permission. A key with no user (none created it) cannot reply.`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-errors`,children:`Common Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with the code in `,_jsx(_components.code,{children:`message`}),` and a sentence you can show in `,_jsx(_components.code,{children:`userMessage`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FAIL\"`}),_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:`\"WHATSAPP_WINDOW_CLOSED\"`}),_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:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message (this window closed at 2026-11-12T16:15:41.406Z). Send an approved template instead (...).\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WHATSAPP_WINDOW_CLOSED`})}),_jsx(_components.td,{children:`WhatsApp reply outside the 24-hour window. Nothing is sent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`NO_RECIPIENT_PHONE`}),` / `,_jsx(_components.code,{children:`NO_RECIPIENT_EMAIL`})]}),_jsx(_components.td,{children:`The contact has no phone / email.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NO_REPLY_CHANNEL`})}),_jsxs(_components.td,{children:[`The thread has no WhatsApp or email message and no `,_jsx(_components.code,{children:`channel`}),` was given.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SUBJECT_REQUIRED`})}),_jsxs(_components.td,{children:[`Email reply to a contact who never emailed in this thread: pass `,_jsx(_components.code,{children:`subject`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REPLY_IN_PROGRESS`})}),_jsx(_components.td,{children:`The same reply is being sent right now by another call. Read the thread before trying again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_PARAMETERS`})}),_jsx(_components.td,{children:`Empty or too long text, a field of the wrong type, or a key with no user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Unknown thread, or a thread of another workspace.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/api-reference/messaging-channels/whatsapp/send-template`,children:`Send WhatsApp Template`})}),`: write first, or after the 24-hour window`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`MCP`}),`: agents use `,_jsx(_components.code,{children:`minimo_inbox_reply`}),`, which asks for confirmation before sending (`,_jsx(_components.a,{href:`/product/inbox/ai-agent`,children:`Inbox for your AI agent`}),`)`]}),`\n`]})]})}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":"Reply to Thread","description":"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread","openapi":"post /public/v1/inbox/threads/{threadId}/reply","href":"/api-reference/inbox/reply"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Rules","slug":"rules","depth":2,"children":[]},{"title":"Permissions","slug":"permissions","depth":2,"children":[]},{"title":"Common Errors","slug":"common-errors","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Reply to an inbox thread","description":"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread","operationId":"replyInboxThread","parameters":["57ac6bcd-62ce-4479-aa4d-bed167d2f267"],"requestBody":"b2e9c7a1-323f-4d06-a0a3-6e772d881ae6","responses":{"201":"90ec3179-272c-4523-bdf0-1aafafe3e8e6","400":"1f5f8abf-6296-4776-9152-531b2a11906e","401":"b7454fa6-2fd8-45b4-a277-734e05f74565","404":"ebfb4d73-b290-4b9b-8f23-fc88f467ba3b","409":"15afa3ed-254e-4cab-bfcb-a0b3bdd8b1b7","422":"386d5f2f-d9b9-4074-b9b2-238dd4832e9e"},"security":["f836f265-acd3-4239-93c4-479fd8201bda"],"x-codeSamples":[{"label":"CLI","lang":"cURL","source":"curl --request POST \\\n --url 'https://api.minimo.it/public/v1/inbox/threads/1234/reply' \\\n --header 'Authorization: Bearer {{BEARER_TOKEN}}' \\\n --header 'Content-Type: application/json' \\\n --data '{\"text\": \"Yes, we ship to Sicily in 2 working days.\", \"channel\": \"whatsapp\"}'"},{"lang":"JavaScript","source":"const res = await fetch('https://api.minimo.it/public/v1/inbox/threads/1234/reply', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer {{BEARER_TOKEN}}',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\"text\": \"Yes, we ship to Sicily in 2 working days.\", \"channel\": \"whatsapp\"}),\n});\nconst { data } = await res.json();\nconsole.log(data);"},{"lang":"Python","source":"import requests\n\nres = requests.post(\n 'https://api.minimo.it/public/v1/inbox/threads/1234/reply',\n headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},\n json={'text': 'Yes, we ship to Sicily in 2 working days.', 'channel': 'whatsapp'},\n)\nprint(res.json())"}],"method":"post","type":"path","servers":["eb61a3ba-83d3-4de4-bc9b-4ff42ffeacae"],"path":"/public/v1/inbox/threads/{threadId}/reply","baseUrlOptions":["https://api.minimo.it"],"title":"Reply to an inbox thread","codeSamples":[{"label":"CLI","lang":"cURL","source":"curl --request POST \\\n --url 'https://api.minimo.it/public/v1/inbox/threads/1234/reply' \\\n --header 'Authorization: Bearer {{BEARER_TOKEN}}' \\\n --header 'Content-Type: application/json' \\\n --data '{\"text\": \"Yes, we ship to Sicily in 2 working days.\", \"channel\": \"whatsapp\"}'"},{"lang":"JavaScript","source":"const res = await fetch('https://api.minimo.it/public/v1/inbox/threads/1234/reply', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer {{BEARER_TOKEN}}',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\"text\": \"Yes, we ship to Sicily in 2 working days.\", \"channel\": \"whatsapp\"}),\n});\nconst { data } = await res.json();\nconsole.log(data);"},{"lang":"Python","source":"import requests\n\nres = requests.post(\n 'https://api.minimo.it/public/v1/inbox/threads/1234/reply',\n headers={'Authorization': 'Bearer {{BEARER_TOKEN}}'},\n json={'text': 'Yes, we ship to Sicily in 2 working days.', 'channel': 'whatsapp'},\n)\nprint(res.json())"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"57ac6bcd-62ce-4479-aa4d-bed167d2f267":{"name":"threadId","in":"path","required":true,"description":"The `threadId` from List Threads or Search Threads.","schema":{"type":"integer","isRequired":true,"description":"The `threadId` from List Threads or Search Threads.","uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1,"maxLength":4096,"description":"Plain text.","isRequired":true,"uniqueKey":"text","typeLabel":"string"},"channel":{"type":"string","enum":["whatsapp","email"],"description":"Default: the channel of the contact's last WhatsApp or email message.","uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"subject":{"type":"string","maxLength":300,"description":"Email only. Default: `Re: \u003csubject of their last email>`.","uniqueKey":"subject","typeLabel":"string"},"dryRun":{"type":"boolean","description":"`true` = validate and return the preview, send nothing. A JSON boolean, not `\"true\"`.","uniqueKey":"dryRun","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"whatsapp":{"title":"whatsapp","value":{"text":"Yes, we ship to Sicily in 2 working days.","channel":"whatsapp"}},"emailDryRun":{"title":"emailDryRun","value":{"text":"Your refund is on its way.","channel":"email","dryRun":true}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"90ec3179-272c-4523-bdf0-1aafafe3e8e6":{"description":"Sent, previewed (`dryRun`), or skipped as a double send (`duplicateOf`)","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"sent":{"type":"boolean","description":"`false` with `dryRun`, or when the same text was already sent (see `duplicateOf`).","uniqueKey":"data.sent","typeLabel":"boolean"},"messageId":{"type":"integer","description":"The message sent.","uniqueKey":"data.messageId","typeLabel":"integer"},"duplicateOf":{"type":"integer","description":"The same text was sent in this thread in the last 10 minutes: the id of that message. Nothing was sent again.","uniqueKey":"data.duplicateOf","typeLabel":"integer"},"preview":{"type":"object","properties":{"channel":{"type":"string","enum":["whatsapp","email"],"uniqueKey":"data.preview.channel","typeLabel":"enum\u003cstring>"},"to":{"type":"string","description":"Phone number or email address the reply goes to.","uniqueKey":"data.preview.to","typeLabel":"string"},"subject":{"oneOf":[{"type":"string","description":"Email only: the subject that is sent.","uniqueKey":"data.preview.subject.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only: the subject that is sent.","uniqueKey":"data.preview.subject.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.preview.subject","typeLabel":"string | null"},"text":{"type":"string","uniqueKey":"data.preview.text","typeLabel":"string"}},"uniqueKey":"data.preview","typeLabel":"object"},"whatsappWindow":{"oneOf":[{"type":"object","description":"`dryRun` only, WhatsApp only.","properties":{"open":{"type":"boolean","uniqueKey":"data.whatsappWindow.oneOf.0.open","typeLabel":"boolean"},"closesAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.whatsappWindow.oneOf.0.closesAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.whatsappWindow.oneOf.0.closesAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.whatsappWindow.oneOf.0.closesAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.whatsappWindow.oneOf.0","typeLabel":"object"},{"type":"null","description":"`dryRun` only, WhatsApp only.","properties":{"open":{"type":"boolean"},"closesAt":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"uniqueKey":"data.whatsappWindow.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.whatsappWindow","typeLabel":"object | null"},"effects":{"type":"array","items":{"type":"string","uniqueKey":"data.effects.items.[INDEX]","typeLabel":"string"},"description":"What the reply does besides sending (AI pause, assignment, email threading).","uniqueKey":"data.effects","typeLabel":"string[]"},"thread":{"type":"object","description":"One conversation with one contact: email, WhatsApp, SMS and Telegram together. The MCP `minimo_inbox_*` tools return the same object.","properties":{"threadId":{"type":"integer","example":1234,"uniqueKey":"data.thread.threadId","typeLabel":"integer"},"status":{"type":"string","enum":["open","closed","snoozed"],"uniqueKey":"data.thread.status","typeLabel":"enum\u003cstring>"},"unreadMessages":{"type":"integer","example":2,"uniqueKey":"data.thread.unreadMessages","typeLabel":"integer"},"pinned":{"type":"boolean","uniqueKey":"data.thread.pinned","typeLabel":"boolean"},"channels":{"type":"array","description":"Channels this contact has used in the thread.","items":{"type":"string","enum":["whatsapp","email","sms","telegram"],"uniqueKey":"data.thread.channels.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"data.thread.channels","typeLabel":"enum\u003cstring>[]"},"contact":{"type":"object","properties":{"contactId":{"type":"integer","example":5678,"uniqueKey":"data.thread.contact.contactId","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","example":"Mario Rossi","uniqueKey":"data.thread.contact.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Mario Rossi","uniqueKey":"data.thread.contact.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.contact.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"mario@example.com","uniqueKey":"data.thread.contact.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"mario@example.com","uniqueKey":"data.thread.contact.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.contact.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","example":"393331234567","uniqueKey":"data.thread.contact.phone.oneOf.0","typeLabel":"string"},{"type":"null","example":"393331234567","uniqueKey":"data.thread.contact.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.contact.phone","typeLabel":"string | null"}},"uniqueKey":"data.thread.contact","typeLabel":"object"},"assignedTo":{"oneOf":[{"type":"object","description":"The teammate the thread is assigned to, `null` if nobody.","properties":{"userId":{"type":"integer","example":42,"uniqueKey":"data.thread.assignedTo.oneOf.0.userId","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","example":"Giulia Bianchi","uniqueKey":"data.thread.assignedTo.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Giulia Bianchi","uniqueKey":"data.thread.assignedTo.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.assignedTo.oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"data.thread.assignedTo.oneOf.0","typeLabel":"object"},{"type":"null","description":"The teammate the thread is assigned to, `null` if nobody.","properties":{"userId":{"type":"integer","example":42},"name":{"oneOf":[{"type":"string","example":"Giulia Bianchi"},{"type":"null","example":"Giulia Bianchi"}]}},"uniqueKey":"data.thread.assignedTo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.assignedTo","typeLabel":"object | null"},"needsHuman":{"type":"boolean","description":"The AI handed the thread over to a person.","uniqueKey":"data.thread.needsHuman","typeLabel":"boolean"},"ai":{"type":"object","properties":{"state":{"type":"string","enum":["active","paused","disabled"],"description":"`active` = the AI answers. `paused` = a teammate replied or the AI handed over; the AI comes back after the assistant's pause time. `disabled` = off on this thread until it is turned on again.","uniqueKey":"data.thread.ai.state","typeLabel":"enum\u003cstring>"},"since":{"oneOf":[{"type":"string","format":"date-time","description":"When the AI paused (`paused` only).","uniqueKey":"data.thread.ai.since.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the AI paused (`paused` only).","uniqueKey":"data.thread.ai.since.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.ai.since","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.thread.ai","typeLabel":"object"},"snoozedUntil":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.thread.snoozedUntil.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.thread.snoozedUntil.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.snoozedUntil","typeLabel":"string\u003cdate-time> | null"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.thread.updatedAt","typeLabel":"string\u003cdate-time>"},"lastMessage":{"oneOf":[{"type":"object","properties":{"messageId":{"type":"integer","example":90112,"uniqueKey":"data.thread.lastMessage.oneOf.0.messageId","typeLabel":"integer"},"direction":{"type":"string","enum":["inbound","outbound"],"description":"`inbound` = from the contact, `outbound` = from you, your team or your AI.","uniqueKey":"data.thread.lastMessage.oneOf.0.direction","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","enum":["whatsapp","email","sms","telegram"],"uniqueKey":"data.thread.lastMessage.oneOf.0.channel","typeLabel":"enum\u003cstring>"},"subject":{"oneOf":[{"type":"string","description":"Email only.","uniqueKey":"data.thread.lastMessage.oneOf.0.subject.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only.","uniqueKey":"data.thread.lastMessage.oneOf.0.subject.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.lastMessage.oneOf.0.subject","typeLabel":"string | null"},"preview":{"type":"string","description":"The text on one line, up to 280 characters.","uniqueKey":"data.thread.lastMessage.oneOf.0.preview","typeLabel":"string"},"at":{"type":"string","format":"date-time","uniqueKey":"data.thread.lastMessage.oneOf.0.at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.thread.lastMessage.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"messageId":{"type":"integer","example":90112},"direction":{"type":"string","enum":["inbound","outbound"],"description":"`inbound` = from the contact, `outbound` = from you, your team or your AI."},"channel":{"type":"string","enum":["whatsapp","email","sms","telegram"]},"subject":{"oneOf":[{"type":"string","description":"Email only."},{"type":"null","description":"Email only."}]},"preview":{"type":"string","description":"The text on one line, up to 280 characters."},"at":{"type":"string","format":"date-time"}},"uniqueKey":"data.thread.lastMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.thread.lastMessage","typeLabel":"object | null"}},"uniqueKey":"data.thread","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"sent":{"title":"sent","value":{"data":{"sent":true,"messageId":90113,"preview":{"channel":"whatsapp","to":"393331234567","subject":null,"text":"Yes, we ship to Sicily in 2 working days."},"effects":["The AI agent pauses on this conversation (an operator reply hands it over to a human).","The conversation is assigned to you."],"thread":{"threadId":1234,"status":"open","unreadMessages":2,"pinned":false,"channels":["whatsapp"],"contact":{"contactId":5678,"name":"Mario Rossi","email":null,"phone":"393331234567"},"assignedTo":{"userId":42,"name":"Giulia Bianchi"},"needsHuman":false,"ai":{"state":"paused","since":"2026-11-13T09:02:00.000Z"},"snoozedUntil":null,"updatedAt":"2026-11-13T09:00:00.000Z","lastMessage":{"messageId":90112,"direction":"inbound","channel":"whatsapp","subject":null,"preview":"Can I talk to a person?","at":"2026-11-13T09:00:00.000Z"}}}}},"dryRun":{"title":"dryRun","value":{"data":{"sent":false,"preview":{"channel":"whatsapp","to":"393331234567","subject":null,"text":"Yes, we ship to Sicily in 2 working days."},"whatsappWindow":{"open":true,"closesAt":"2026-11-14T09:00:00.000Z"},"effects":["The AI agent pauses on this conversation (an operator reply hands it over to a human).","The conversation is assigned to you."]}}}},"exampleType":"examples"}},"exampleType":"examples"},"1f5f8abf-6296-4776-9152-531b2a11906e":{"description":"`INVALID_PARAMETERS`: empty or too long text, a field of the wrong type, or a key with no user.","content":{"application/json":{"schema":{"type":"object","description":"`message` is the code, `userMessage` a sentence you can show to a person.","properties":{"status":{"type":"string","example":"FAIL","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"WHATSAPP_WINDOW_CLOSED","uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","example":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead.","uniqueKey":"userMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"FAIL","message":"WHATSAPP_WINDOW_CLOSED","userMessage":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead."}}},"exampleType":"generated"}},"exampleType":"generated"},"b7454fa6-2fd8-45b4-a277-734e05f74565":{"description":"Missing or invalid API key, or a key without the `Inbox` permission.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ebfb4d73-b290-4b9b-8f23-fc88f467ba3b":{"description":"Unknown thread, or a thread of another workspace.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"15afa3ed-254e-4cab-bfcb-a0b3bdd8b1b7":{"description":"`REPLY_IN_PROGRESS`: the same reply is being sent right now by another call. Read the thread before trying again.","content":{"application/json":{"schema":{"type":"object","description":"`message` is the code, `userMessage` a sentence you can show to a person.","properties":{"status":{"type":"string","example":"FAIL","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"WHATSAPP_WINDOW_CLOSED","uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","example":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead.","uniqueKey":"userMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"FAIL","message":"WHATSAPP_WINDOW_CLOSED","userMessage":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead."}}},"exampleType":"generated"}},"exampleType":"generated"},"386d5f2f-d9b9-4074-b9b2-238dd4832e9e":{"description":"`WHATSAPP_WINDOW_CLOSED`, `NO_RECIPIENT_PHONE`, `NO_RECIPIENT_EMAIL`, `NO_REPLY_CHANNEL` or `SUBJECT_REQUIRED`. Nothing is sent.","content":{"application/json":{"schema":{"type":"object","description":"`message` is the code, `userMessage` a sentence you can show to a person.","properties":{"status":{"type":"string","example":"FAIL","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"WHATSAPP_WINDOW_CLOSED","uniqueKey":"message","typeLabel":"string"},"userMessage":{"type":"string","example":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead.","uniqueKey":"userMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"FAIL","message":"WHATSAPP_WINDOW_CLOSED","userMessage":"WhatsApp allows free text only within 24 hours of the contact's last WhatsApp message. Send an approved template instead."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f836f265-acd3-4239-93c4-479fd8201bda":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"mn-API_CLIENT_ID-API_KEY","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"eb61a3ba-83d3-4de4-bc9b-4ff42ffeacae":{"url":"https://api.minimo.it"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"mn-API_CLIENT_ID-API_KEY","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openApi.yml"},"subdomain":"minimo","siteName":"Minimo Docs","title":"Reply to Thread - Minimo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T15:01:40.370Z","originalFileLocation":"api-reference/inbox/reply.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\">\u003cmeta data-mint-head name=\"application-name\" content=\"Minimo Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reply to Thread - Minimo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Minimo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.minimo.it/api-reference/inbox/reply\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://minimo.mintlify.site/_mintlify/api/og/v2?division=Threads\u0026amp;title=Reply+to+Thread\u0026amp;description=Answer+the+contact+by+WhatsApp+%28inside+the+24-hour+window%29+or+by+email+in+the+same+email+thread\u0026amp;theme=06602465e78cf5662614cb8c\u0026amp;signature=75bc33f7e41366b3f00b947cb59083559cc8c5ad6fd913bc79542e182b1815f2\">\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=\"Reply to Thread - Minimo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://minimo.mintlify.site/_mintlify/api/og/v2?division=Threads\u0026amp;title=Reply+to+Thread\u0026amp;description=Answer+the+contact+by+WhatsApp+%28inside+the+24-hour+window%29+or+by+email+in+the+same+email+thread\u0026amp;theme=06602465e78cf5662614cb8c\u0026amp;signature=75bc33f7e41366b3f00b947cb59083559cc8c5ad6fd913bc79542e182b1815f2\">\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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Minimo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.minimo.it/api-reference/inbox/reply\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/inbox/reply.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.minimo.it/#organization\",\"name\":\"Minimo Docs\",\"url\":\"https://docs.minimo.it\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/light.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=770ea7f424284ce6f88684bb97af23f0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.minimo.it#website\",\"name\":\"Minimo Docs\",\"url\":\"https://docs.minimo.it\",\"publisher\":{\"@id\":\"https://docs.minimo.it/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.minimo.it/api-reference/inbox/reply#webpage\",\"url\":\"https://docs.minimo.it/api-reference/inbox/reply\",\"name\":\"Reply to Thread\",\"description\":\"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\",\"dateModified\":\"2026-11-13T15:01:40.370Z\",\"isPartOf\":{\"@id\":\"https://docs.minimo.it#website\"},\"breadcrumb\":{\"@id\":\"https://docs.minimo.it/api-reference/inbox/reply#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.minimo.it/api-reference/inbox/reply#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inbox\",\"item\":\"https://docs.minimo.it/api-reference/inbox/list-threads\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Threads\",\"item\":\"https://docs.minimo.it/api-reference/inbox/list-threads\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Reply to Thread\",\"item\":\"https://docs.minimo.it/api-reference/inbox/reply\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.minimo.it/api-reference/inbox/reply#apireference\",\"headline\":\"Reply to Thread\",\"name\":\"Reply to Thread\",\"description\":\"Answer the contact by WhatsApp (inside the 24-hour window) or by email in the same email thread\",\"url\":\"https://docs.minimo.it/api-reference/inbox/reply\",\"mainEntityOfPage\":{\"@id\":\"https://docs.minimo.it/api-reference/inbox/reply#webpage\"},\"dateModified\":\"2026-11-13T15:01:40.370Z\",\"publisher\":{\"@id\":\"https://docs.minimo.it/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.minimo.it#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Minimo Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Minimo Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/inbox/reply.md","siteName":"Minimo Docs","nav":{"global":{"anchors":[{"anchor":"Sito Web","href":"https://minimo.it","icon":"desktop"},{"anchor":"Blog","href":"https://minimo.it/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Product","pages":[{"title":"Product","href":"/product/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/overview/introduction"},{"title":"Authentication \u0026 API Keys","href":"/api-reference/overview/authentication"},{"title":"API Conventions","href":"/api-reference/overview/conventions"}]},{"group":"Core Data","pages":[{"group":"Contacts","pages":[{"title":"Create or Update Contact","openapi":"post /public/v1/contacts","href":"/api-reference/core-data/contacts/upsert"},{"title":"Get Contact by Email","openapi":"get /public/v1/contacts/by-email/{email}","href":"/api-reference/core-data/contacts/get-by-email"},{"title":"Update Contact by ID","openapi":"put /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/update-by-id"},{"title":"Opt Out of Marketing","openapi":"post /public/v1/contacts/opt-out","href":"/api-reference/core-data/contacts/opt-out"},{"title":"Delete Contact","openapi":"delete /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/delete"}]},{"group":"Custom Fields","pages":[{"title":"List Custom Fields","openapi":"get /public/v1/custom-fields","href":"/api-reference/core-data/custom-fields/list"},{"title":"Create Custom Field","openapi":"post /public/v1/custom-fields","href":"/api-reference/core-data/custom-fields/create"}]}]},{"group":"Messaging Channels","pages":[{"group":"Email","pages":[{"title":"Send Email Template","openapi":"post /public/v1/templates/email/send","href":"/api-reference/messaging-channels/email/send-template"},{"title":"Create Email Template","href":"/api-reference/messaging-channels/email/create-template"},{"title":"List Email Templates","openapi":"get /public/v1/templates/email","href":"/api-reference/messaging-channels/email/list-templates"},{"title":"Get Email Template Stats","openapi":"get /public/v1/transactionals/{id}/stats","href":"/api-reference/messaging-channels/email/stats"},{"title":"Send One-Shot HTML Email","openapi":"post /public/v1/emails","href":"/api-reference/messaging-channels/email/send-html"},{"title":"Get One-Shot Email Statistics","openapi":"get /public/v1/emails/{id}/stats","href":"/api-reference/messaging-channels/email/html-stats"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp Senders","openapi":"get /public/v1/templates/whatsapp/senders","href":"/api-reference/messaging-channels/whatsapp/list-senders"},{"title":"Send WhatsApp Template","openapi":"post /public/v1/templates/whatsapp/send","href":"/api-reference/messaging-channels/whatsapp/send-template"},{"title":"List WhatsApp Templates","openapi":"get /public/v1/templates/whatsapp","href":"/api-reference/messaging-channels/whatsapp/list-templates"},{"title":"Inbound \u0026 Webhooks","href":"/api-reference/messaging-channels/whatsapp/inbound-webhooks"}]}]},{"group":"Inbox","pages":[{"group":"Threads","pages":[{"title":"List Threads","openapi":"get /public/v1/inbox/threads","href":"/api-reference/inbox/list-threads"},{"title":"Search Threads","openapi":"get /public/v1/inbox/threads/search","href":"/api-reference/inbox/search-threads"},{"title":"Get Thread","openapi":"get /public/v1/inbox/threads/{threadId}","href":"/api-reference/inbox/get-thread"},{"title":"Update Thread","openapi":"patch /public/v1/inbox/threads/{threadId}","href":"/api-reference/inbox/update-thread"},{"title":"Turn AI Off or On","description":"Hand one conversation to a person, or give it back to the AI","openapi":"post /public/v1/inbox/threads/{threadId}/ai","href":"/api-reference/inbox/set-ai"},{"title":"Reply to Thread","openapi":"post /public/v1/inbox/threads/{threadId}/reply","href":"/api-reference/inbox/reply"}]}]},{"group":"Connect a Bot (WhatsApp)","pages":[{"title":"Overview","description":"Answer your WhatsApp number with your own bot or AI: Minimo receives and sends, your backend decides the reply","href":"/api-reference/whatsapp-transport/overview"},{"group":"Messages","pages":[{"title":"Send a Message","openapi":"post /public/v1/templates/whatsapp/send","href":"/api-reference/whatsapp-transport/send"},{"title":"Download Media","openapi":"get /public/v1/media/{id}","href":"/api-reference/whatsapp-transport/media"}]},{"group":"Webhooks","pages":[{"title":"Register Webhook","openapi":"post /public/v1/webhooks/registrations","href":"/api-reference/whatsapp-transport/webhook-register"},{"title":"List Webhooks","openapi":"get /public/v1/webhooks/registrations","href":"/api-reference/whatsapp-transport/webhook-list"},{"title":"Get Webhook","openapi":"get /public/v1/webhooks/registrations/{id}","href":"/api-reference/whatsapp-transport/webhook-get"},{"title":"Update Webhook","openapi":"put /public/v1/webhooks/registrations/{id}","href":"/api-reference/whatsapp-transport/webhook-update"},{"title":"Delete Webhook","openapi":"delete /public/v1/webhooks/registrations/{id}","href":"/api-reference/whatsapp-transport/webhook-delete"},{"title":"Webhook Delivery Logs","openapi":"get /public/v1/webhooks/registrations/{id}/logs","href":"/api-reference/whatsapp-transport/webhook-logs"},{"title":"Webhook Events","href":"/api-reference/whatsapp-transport/webhooks"}]},{"group":"Conversations","pages":[{"title":"List Conversations","openapi":"get /public/v1/whatsapp/conversations","href":"/api-reference/whatsapp-transport/conversations"},{"title":"List Conversation Messages","openapi":"get /public/v1/whatsapp/conversations/{chatId}/messages","href":"/api-reference/whatsapp-transport/conversation-messages"}]},{"title":"Handle Unsubscribe Requests","href":"/api-reference/whatsapp-transport/opt-out"},{"title":"Notes \u0026 Limits","href":"/api-reference/whatsapp-transport/notes"}]},{"group":"Legacy (Deprecated)","pages":[{"title":"Legacy API (Deprecated)","icon":"triangle-exclamation","href":"/api-reference/legacy/introduction"},{"title":"Send Email (Deprecated)","openapi":"post /api/transactionals","href":"/api-reference/legacy/send-email-deprecated"},{"title":"List Email Transactionals (Deprecated)","href":"/api-reference/legacy/list-email-transactionals-deprecated"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/embedded-start-here"}]}]},"basePath":"","title":"Reply to Thread - Minimo Docs","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BvKnMd7F.js","utils-BMt52org.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CGXZuDGO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dl57XWH2.js","snippetPresets-CWd8CxSk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BR-Wkc_D.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-YMmi08aZ.js","shallow-DBC1OB78.js","getApiPlaygroundDisplay-Be7mmEzP.js","CodeSnippet-B14o1TgQ.js","CodeSnippets-CJ2q3fTq.js","Page-Chgj7sZe.js","getPastedJson-DnpLXm8x.js","icon-BpkSFtdK.js","MethodPill-BO3zPf-g.js","DuplicateIcon-Bib3qwfw.js","createIcon-CY2noFo3.js","DynamicMarkdown-TAXIW2vN.js","SectionHeading-Dfs3Fmfw.js","axios-vUo_bRtp.js","Markdown-CGAo_eqA.js","clsx-BNa-H6W6.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-r2tNEC1n.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B7oWe6jc.js"]}