{ "type": "https://api.nedzo.ai/errors/validation-error", "title": "Validation Error", "status": 400, "detail": "A WhatsApp template is needed outside the 24-hour window. Send templateId."}
Send conversationId to reply in a conversation. Send contactId or phone to start one. Send exactly one of the three.Plans with WhatsApp (Pro and up) can use this endpoint. On other plans it returns 403.WhatsApp lets you send text only within 24 hours of the contact’s last message. Outside that window, send an approved template with templateId. A text send outside the window is refused with 400, and nothing is sent. See Reply windows.
Every send checks Do Not Disturb (DND) first. If the contact has DND on, or the number is on the opt-out list, the send is refused with 403 and nothing is sent. If DND can’t be checked, the send is refused too.
Sometimes the message goes out but Nedzo can’t save it. The answer is still 201, and messageId is null. The contact got the message, so don’t send it again. Then conversationId is the conversation you sent into. If that conversation had ended, the message may have gone out on a new thread that does not show in the log.
The body is not valid, the conversation is not a WhatsApp conversation, the workspace has no active WhatsApp sender, or a template is needed because the 24-hour window has closed
402
The account has no plan in force, no balance or messages left, the workspace hit its spend limit, or the trial has not converted. During a trial you can message a number verified in your workspace.
403
The contact has DND on, the contact’s data is restricted, or your plan does not include WhatsApp
404
The workspace, contact or conversation was not found
409
A send to this contact is already in progress
429
Too many messages in a short time. Wait, then send again.
502
The message could not be sent. Check the conversation before you try again, in case it went out.
503
Nedzo couldn’t check the workspace’s limits. Nothing was sent. Try again in a moment.
{ "type": "https://api.nedzo.ai/errors/validation-error", "title": "Validation Error", "status": 400, "detail": "A WhatsApp template is needed outside the 24-hour window. Send templateId."}
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Nedzo","colors":{"primary":"#2e79ff","light":"#5a9aff","dark":"#2e79ff"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/favicon.png","logo":{"light":"https://mintcdn.com/nedzoai/0cscfgNlBg1KdrWc/logo/logo.png?fit=max\u0026auto=format\u0026n=0cscfgNlBg1KdrWc\u0026q=85\u0026s=e06023604ef01b7035733cfb69ef32be","dark":"https://mintcdn.com/nedzoai/0cscfgNlBg1KdrWc/logo/logo.png?fit=max\u0026auto=format\u0026n=0cscfgNlBg1KdrWc\u0026q=85\u0026s=e06023604ef01b7035733cfb69ef32be"},"api":{"openapi":"https://api.nedzo.ai/v1/openapi.json","mdx":{"server":"https://api.nedzo.ai/v1","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Support","href":"mailto:support@nedzo.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.nedzo.ai"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/nedzo"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","href":"https://www.skool.com/nedzo-ai","icon":"users"},{"anchor":"Academy","href":"https://www.skool.com/nedzo-ai/classroom","icon":"graduation-cap"},{"anchor":"Status","href":"https://status.nedzo.ai","icon":"signal-bars"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nedzoai","hasAudioNarration":false,"actualSubdomain":"nedzoai","customDomains":["docs.nedzo.ai"],"gitSource":{"type":"github","owner":"nedzoai","repo":"nedzo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{},"buildId":"6acf60378cb1216fb5d15001","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"Documentation","count":52},{"language":"default","tag":"Workflows","count":29},{"language":"default","tag":"Agents","count":25},{"language":"default","tag":"Workspaces","count":13},{"language":"default","tag":"Billing","count":12},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Integrations","count":10},{"language":"default","tag":"Campaigns","count":9},{"language":"default","tag":"Actions","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/conversations/send-whatsapp","slug":"/api-reference/conversations/send-whatsapp","pageMetadata":{"title":"Send a WhatsApp message","api":"POST /conversations/whatsapp","description":"Start a WhatsApp conversation with a contact or phone number, or reply in one.","href":"/api-reference/conversations/send-whatsapp"},"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: \"Start a WhatsApp conversation with a contact or phone number, or reply in one.\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,ParamField,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`conversationId`}),` to reply in a conversation. Send `,_jsx(_components.code,{children:`contactId`}),` or `,_jsx(_components.code,{children:`phone`}),` to start one. Send exactly one of the three.`]}),`\n`,_jsxs(_components.p,{children:[`Plans with WhatsApp (Pro and up) can use this endpoint. On other plans it returns `,_jsx(_components.code,{children:`403`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`WhatsApp lets you send text only within 24 hours of the contact’s last message. Outside that window, send an approved template with `,_jsx(_components.code,{children:`templateId`}),`. A text send outside the window is refused with `,_jsx(_components.code,{children:`400`}),`, and nothing is sent. See `,_jsx(_components.a,{href:`/integrations/whatsapp#reply-windows`,children:`Reply windows`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Every send checks Do Not Disturb (DND) first. If the contact has DND on, or the number is on the opt-out list, the send is refused with `,_jsx(_components.code,{children:`403`}),` and nothing is sent. If DND can’t be checked, the send is refused too.`]})}),`\n`,_jsx(ParamField,{body:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Workspace UUID (required for account API keys, optional for workspace API keys)`})}),`\n`,_jsx(ParamField,{body:`conversationId`,type:`string`,id:`param-conversation-id`,children:_jsx(_components.p,{children:`Reply in this conversation. It must be a WhatsApp conversation in the workspace.`})}),`\n`,_jsx(ParamField,{body:`contactId`,type:`string`,id:`param-contact-id`,children:_jsx(_components.p,{children:`Start a conversation with this contact. The contact needs a phone number.`})}),`\n`,_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:_jsx(_components.p,{children:`Start a conversation with this number, in E.164 format. Nedzo finds the contact with this number, or makes one.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Name for a contact this send makes. Ignored when the contact exists.`})}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,id:`param-content`,children:_jsxs(_components.p,{children:[`The text. Send `,_jsx(_components.code,{children:`content`}),`, `,_jsx(_components.code,{children:`templateId`}),`, or both. With a template, `,_jsx(_components.code,{children:`content`}),` is the text Nedzo shows for the message in Unibox.`]})}),`\n`,_jsx(ParamField,{body:`templateId`,type:`string`,id:`param-template-id`,children:_jsx(_components.p,{children:`An approved WhatsApp template from your workspace’s template list`})}),`\n`,_jsx(ParamField,{body:`templateVariables`,type:`object`,id:`param-template-variables`,children:_jsxs(_components.p,{children:[`Values for the template’s numbered placeholders, for example `,_jsx(_components.code,{children:`{ \"1\": \"Jane\" }`}),`. Needs `,_jsx(_components.code,{children:`templateId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`whatsappSenderId`,type:`string`,id:`param-whatsapp-sender-id`,children:_jsx(_components.p,{children:`Start from this WhatsApp sender. By default Nedzo uses the workspace’s first active sender. Ignored on a reply.`})}),`\n`,_jsxs(Heading,{level:`2`,id:`when-messageid-is-null`,children:[`When `,_jsx(_components.code,{children:`messageId`}),` is null`]}),`\n`,_jsxs(_components.p,{children:[`Sometimes the message goes out but Nedzo can’t save it. The answer is still `,_jsx(_components.code,{children:`201`}),`, and `,_jsx(_components.code,{children:`messageId`}),` is `,_jsx(_components.code,{children:`null`}),`. The contact got the message, so don’t send it again. Then `,_jsx(_components.code,{children:`conversationId`}),` is the conversation you sent into. If that conversation had ended, the message may have gone out on a new thread that does not show in the log.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The body is not valid, the conversation is not a WhatsApp conversation, the workspace has no active WhatsApp sender, or a template is needed because the 24-hour window has closed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:`The account has no plan in force, no balance or messages left, the workspace hit its spend limit, or the trial has not converted. During a trial you can message a number verified in your workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The contact has DND on, the contact’s data is restricted, or your plan does not include WhatsApp`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The workspace, contact or conversation was not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A send to this contact is already in progress`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Too many messages in a short time. Wait, then send again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:`The message could not be sent. Check the conversation before you try again, in case it went out.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Nedzo couldn’t check the workspace’s limits. Nothing was sent. Try again in a moment.`})]})]})]})]})}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 a WhatsApp message","api":"POST /conversations/whatsapp","description":"Start a WhatsApp conversation with a contact or phone number, or reply in one.","href":"/api-reference/conversations/send-whatsapp"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,RequestExample,ResponseExample,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`conversationId`}),` to reply in a conversation. Send `,_jsx(_components.code,{children:`contactId`}),` or `,_jsx(_components.code,{children:`phone`}),` to start one. Send exactly one of the three.`]}),`\n`,_jsxs(_components.p,{children:[`Plans with WhatsApp (Pro and up) can use this endpoint. On other plans it returns `,_jsx(_components.code,{children:`403`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`WhatsApp lets you send text only within 24 hours of the contact’s last message. Outside that window, send an approved template with `,_jsx(_components.code,{children:`templateId`}),`. A text send outside the window is refused with `,_jsx(_components.code,{children:`400`}),`, and nothing is sent. See `,_jsx(_components.a,{href:`/integrations/whatsapp#reply-windows`,children:`Reply windows`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Every send checks Do Not Disturb (DND) first. If the contact has DND on, or the number is on the opt-out list, the send is refused with `,_jsx(_components.code,{children:`403`}),` and nothing is sent. If DND can’t be checked, the send is refused too.`]})}),`\n`,_jsx(ParamField,{body:`workspaceId`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Workspace UUID (required for account API keys, optional for workspace API keys)`})}),`\n`,_jsx(ParamField,{body:`conversationId`,type:`string`,id:`param-conversation-id`,children:_jsx(_components.p,{children:`Reply in this conversation. It must be a WhatsApp conversation in the workspace.`})}),`\n`,_jsx(ParamField,{body:`contactId`,type:`string`,id:`param-contact-id`,children:_jsx(_components.p,{children:`Start a conversation with this contact. The contact needs a phone number.`})}),`\n`,_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:_jsx(_components.p,{children:`Start a conversation with this number, in E.164 format. Nedzo finds the contact with this number, or makes one.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Name for a contact this send makes. Ignored when the contact exists.`})}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,id:`param-content`,children:_jsxs(_components.p,{children:[`The text. Send `,_jsx(_components.code,{children:`content`}),`, `,_jsx(_components.code,{children:`templateId`}),`, or both. With a template, `,_jsx(_components.code,{children:`content`}),` is the text Nedzo shows for the message in Unibox.`]})}),`\n`,_jsx(ParamField,{body:`templateId`,type:`string`,id:`param-template-id`,children:_jsx(_components.p,{children:`An approved WhatsApp template from your workspace’s template list`})}),`\n`,_jsx(ParamField,{body:`templateVariables`,type:`object`,id:`param-template-variables`,children:_jsxs(_components.p,{children:[`Values for the template’s numbered placeholders, for example `,_jsx(_components.code,{children:`{ \"1\": \"Jane\" }`}),`. Needs `,_jsx(_components.code,{children:`templateId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`whatsappSenderId`,type:`string`,id:`param-whatsapp-sender-id`,children:_jsx(_components.p,{children:`Start from this WhatsApp sender. By default Nedzo uses the workspace’s first active sender. Ignored on a reply.`})}),`\n`,_jsxs(Heading,{level:`2`,id:`when-messageid-is-null`,children:[`When `,_jsx(_components.code,{children:`messageId`}),` is null`]}),`\n`,_jsxs(_components.p,{children:[`Sometimes the message goes out but Nedzo can’t save it. The answer is still `,_jsx(_components.code,{children:`201`}),`, and `,_jsx(_components.code,{children:`messageId`}),` is `,_jsx(_components.code,{children:`null`}),`. The contact got the message, so don’t send it again. Then `,_jsx(_components.code,{children:`conversationId`}),` is the conversation you sent into. If that conversation had ended, the message may have gone out on a new thread that does not show in the log.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`The body is not valid, the conversation is not a WhatsApp conversation, the workspace has no active WhatsApp sender, or a template is needed because the 24-hour window has closed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:`The account has no plan in force, no balance or messages left, the workspace hit its spend limit, or the trial has not converted. During a trial you can message a number verified in your workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The contact has DND on, the contact’s data is restricted, or your plan does not include WhatsApp`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The workspace, contact or conversation was not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A send to this contact is already in progress`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Too many messages in a short time. Wait, then send again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:`The message could not be sent. Check the conversation before you try again, in case it went out.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Nedzo couldn’t check the workspace’s limits. Nothing was sent. Try again in a moment.`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Template`,numberOfLines:`8`,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:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.nedzo.ai/v1/conversations/whatsapp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contactId\": \"456e4567-e89b-12d3-a456-426614174000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"templateId\": \"HXb5b62575e6e4ff6129ad7c8efe1f983e\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"templateVariables\": { \"1\": \"Jane\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`4`,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:`4`,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:` \"conversationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9b2f6c1e-3a4d-4e5f-8a9b-0c1d2e3f4a5b\"`}),_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:` \"messageId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4d1c2b3a-5e6f-4a7b-8c9d-0e1f2a3b4c5d\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400 Template needed`,numberOfLines:`6`,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:`6`,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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.nedzo.ai/errors/validation-error\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation Error\"`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_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:` \"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A WhatsApp template is needed outside the 24-hour window. Send templateId.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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":"Send a WhatsApp message","api":"POST /conversations/whatsapp","description":"Start a WhatsApp conversation with a contact or phone number, or reply in one.","href":"/api-reference/conversations/send-whatsapp"}}}},"mdxExtracts":{"tableOfContents":[{"title":"When messageId is null","slug":"when-messageid-is-null","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Template","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=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.nedzo.ai/v1/conversations/whatsapp\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"contactId\": \"456e4567-e89b-12d3-a456-426614174000\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"templateId\": \"HXb5b62575e6e4ff6129ad7c8efe1f983e\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"templateVariables\": { \"1\": \"Jane\" }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","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=\"4\">\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\"> \"conversationId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9b2f6c1e-3a4d-4e5f-8a9b-0c1d2e3f4a5b\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messageId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"4d1c2b3a-5e6f-4a7b-8c9d-0e1f2a3b4c5d\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 Template needed","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=\"6\">\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\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.nedzo.ai/errors/validation-error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\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\">\"Validation Error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"detail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A WhatsApp template is needed outside the 24-hour window. Send templateId.\"\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 a WhatsApp message","path":"/conversations/whatsapp","servers":[{"url":"https://api.nedzo.ai/v1"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"workspaceId":[{"type":"string","description":"Workspace UUID (required for account API keys, optional for workspace API keys)"}],"conversationId":[{"type":"string","description":"Reply in this conversation. It must be a WhatsApp conversation in the workspace."}],"contactId":[{"type":"string","description":"Start a conversation with this contact. The contact needs a phone number."}],"phone":[{"type":"string","description":"Start a conversation with this number, in E.164 format. Nedzo finds the contact with this number, or makes one."}],"name":[{"type":"string","description":"Name for a contact this send makes. Ignored when the contact exists."}],"content":[{"type":"string","description":"The text. Send `content` , `templateId` , or both. With a template, `content` is the text Nedzo shows for the message in Unibox."}],"templateId":[{"type":"string","description":"An approved WhatsApp template from your workspace’s template list"}],"templateVariables":[{"type":"object","properties":{},"description":"Values for the template’s numbered placeholders, for example `{ \"1\": \"Jane\" }` . Needs `templateId` ."}],"whatsappSenderId":[{"type":"string","description":"Start from this WhatsApp sender. By default Nedzo uses the workspace’s first active sender. Ignored on a reply."}]}}],"examples":{"example":{"value":{"workspaceId":"\u003cstring>","conversationId":"\u003cstring>","contactId":"\u003cstring>","phone":"\u003cstring>","name":"\u003cstring>","content":"\u003cstring>","templateId":"\u003cstring>","templateVariables":{},"whatsappSenderId":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"nedzoai","siteName":"Nedzo","title":"Send a WhatsApp message - Nedzo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T13:36:58.441Z","originalFileLocation":"api-reference/conversations/send-whatsapp.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=\"Start a WhatsApp conversation with a contact or phone number, or reply in one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nedzo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/favicon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/favicon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/favicon.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/favicon.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a WhatsApp message - Nedzo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a WhatsApp conversation with a contact or phone number, or reply in one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nedzo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nedzoai.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+WhatsApp+message\u0026amp;description=Start+a+WhatsApp+conversation+with+a+contact+or+phone+number%2C+or+reply+in+one.\u0026amp;theme=f3886dfb76ec709059304224\u0026amp;signature=69e48599f8d1a516dc06457ba2ff94944a7d8165a8f66e28021e422370bf3e3d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send a WhatsApp message - Nedzo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a WhatsApp conversation with a contact or phone number, or reply in one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nedzoai.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+WhatsApp+message\u0026amp;description=Start+a+WhatsApp+conversation+with+a+contact+or+phone+number%2C+or+reply+in+one.\u0026amp;theme=f3886dfb76ec709059304224\u0026amp;signature=69e48599f8d1a516dc06457ba2ff94944a7d8165a8f66e28021e422370bf3e3d\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/nedzoai/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nedzo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2e79ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/conversations/send-whatsapp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nedzo.ai/#organization\",\"name\":\"Nedzo\",\"url\":\"https://docs.nedzo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nedzoai/0cscfgNlBg1KdrWc/logo/logo.png?fit=max\u0026auto=format\u0026n=0cscfgNlBg1KdrWc\u0026q=85\u0026s=e06023604ef01b7035733cfb69ef32be\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nedzo.ai#website\",\"name\":\"Nedzo\",\"url\":\"https://docs.nedzo.ai\",\"publisher\":{\"@id\":\"https://docs.nedzo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp#webpage\",\"url\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp\",\"name\":\"Send a WhatsApp message\",\"description\":\"Start a WhatsApp conversation with a contact or phone number, or reply in one.\",\"dateModified\":\"2026-10-12T13:36:58.441Z\",\"isPartOf\":{\"@id\":\"https://docs.nedzo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conversations\",\"item\":\"https://docs.nedzo.ai/api-reference/conversations/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send a WhatsApp message\",\"item\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp#apireference\",\"headline\":\"Send a WhatsApp message\",\"name\":\"Send a WhatsApp message\",\"description\":\"Start a WhatsApp conversation with a contact or phone number, or reply in one.\",\"url\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nedzo.ai/api-reference/conversations/send-whatsapp#webpage\"},\"dateModified\":\"2026-10-12T13:36:58.441Z\",\"publisher\":{\"@id\":\"https://docs.nedzo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nedzo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nedzo\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nedzo","nav":{"global":{"anchors":[{"anchor":"Community","href":"https://www.skool.com/nedzo-ai","icon":"users"},{"anchor":"Academy","href":"https://www.skool.com/nedzo-ai/classroom","icon":"graduation-cap"},{"anchor":"Status","href":"https://status.nedzo.ai","icon":"signal-bars"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","api":"GET /workspaces","href":"/api-reference/workspaces/list"},{"title":"Create workspace","api":"POST /workspaces","href":"/api-reference/workspaces/create"},{"title":"Get workspace","api":"GET /workspaces/{id}","href":"/api-reference/workspaces/get"},{"title":"Update workspace","api":"PATCH /workspaces/{id}","href":"/api-reference/workspaces/update"},{"title":"Delete workspace","api":"DELETE /workspaces/{id}","href":"/api-reference/workspaces/delete"},{"group":"Billing","pages":[{"title":"Get wallet balance","api":"GET /workspaces/{workspaceId}/billing/balance","href":"/api-reference/workspace-billing/get-balance"},{"title":"Credit wallet","api":"POST /workspaces/{workspaceId}/billing/wallet/credit","href":"/api-reference/workspace-billing/credit-wallet"},{"title":"Debit wallet","api":"POST /workspaces/{workspaceId}/billing/wallet/debit","href":"/api-reference/workspace-billing/debit-wallet"},{"title":"List wallet transactions","api":"GET /workspaces/{workspaceId}/billing/transactions","href":"/api-reference/workspace-billing/list-transactions"},{"title":"Get usage summary","api":"GET /workspaces/{workspaceId}/billing/usage","href":"/api-reference/workspace-billing/get-usage"},{"title":"List payment methods","api":"GET /workspaces/{workspaceId}/billing/payment-methods","href":"/api-reference/workspace-billing/list-payment-methods"},{"title":"Create setup intent","api":"POST /workspaces/{workspaceId}/billing/payment-methods/setup-intent","href":"/api-reference/workspace-billing/create-setup-intent"},{"title":"Attach payment method","api":"POST /workspaces/{workspaceId}/billing/payment-methods/attach","href":"/api-reference/workspace-billing/attach-payment-method"}]}]},{"group":"Agents","pages":[{"title":"List agents","api":"GET /agents","href":"/api-reference/agents/list"},{"title":"Create agent","api":"POST /agents","href":"/api-reference/agents/create"},{"title":"Get agent","api":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Update agent","api":"PATCH /agents/{id}","href":"/api-reference/agents/update"},{"title":"Delete agent","api":"DELETE /agents/{id}","href":"/api-reference/agents/delete"},{"title":"Duplicate agent","api":"POST /agents/{agentId}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Test agent webhook","api":"POST /agents/{agentId}/test-webhook","href":"/api-reference/agents/test-webhook"},{"title":"Agent knowledge","href":"/api-reference/agents/knowledge"},{"title":"Agent actions","href":"/api-reference/agents/actions"},{"title":"Custom actions","href":"/api-reference/agents/custom-actions"},{"title":"MCP servers","href":"/api-reference/agents/mcp-servers"},{"title":"Extraction fields","href":"/api-reference/agents/extraction-fields"},{"title":"List calendars","api":"GET /calendars","href":"/api-reference/agents/calendars"},{"title":"Give an agent a phone number","api":"PUT /agents/{agentId}/phone-number","href":"/api-reference/agents/assign-phone-number"},{"title":"Take an agent's phone numbers away","api":"DELETE /agents/{agentId}/phone-number","href":"/api-reference/agents/unassign-phone-number"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","api":"GET /phone-numbers","href":"/api-reference/phone-numbers/list"},{"title":"Search numbers","api":"POST /phone-numbers/search","href":"/api-reference/phone-numbers/search"},{"title":"Buy a phone number","api":"POST /phone-numbers","href":"/api-reference/phone-numbers/buy"},{"title":"Get a phone number","api":"GET /phone-numbers/{id}","href":"/api-reference/phone-numbers/get"},{"title":"Update a phone number","api":"PATCH /phone-numbers/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Release a phone number","api":"DELETE /phone-numbers/{id}","href":"/api-reference/phone-numbers/release"}]},{"group":"Contacts","pages":[{"title":"List contacts","api":"GET /contacts","href":"/api-reference/contacts/list"},{"title":"Create contact","api":"POST /contacts","href":"/api-reference/contacts/create"},{"title":"Upsert contact","api":"POST /contacts/upsert","href":"/api-reference/contacts/upsert"},{"title":"Get contact","api":"GET /contacts/{id}","href":"/api-reference/contacts/get"},{"title":"Update contact","api":"PATCH /contacts/{id}","href":"/api-reference/contacts/update"},{"title":"Delete contact","api":"DELETE /contacts/{id}","href":"/api-reference/contacts/delete"},{"title":"Import contacts in bulk","href":"/api-reference/contacts/bulk"},{"title":"Contact tags","href":"/api-reference/contacts/tags"},{"title":"Contact custom fields","href":"/api-reference/contacts/custom-fields"},{"title":"Contact views","href":"/api-reference/contacts/views"}]},{"group":"Knowledge","pages":[{"title":"List knowledge","api":"GET /knowledge","href":"/api-reference/knowledge/list"},{"title":"Add knowledge","api":"POST /knowledge","href":"/api-reference/knowledge/create"},{"title":"Get a file upload link","api":"POST /knowledge/uploads","href":"/api-reference/knowledge/upload"},{"title":"Get knowledge","api":"GET /knowledge/{id}","href":"/api-reference/knowledge/get"},{"title":"Update knowledge","api":"PATCH /knowledge/{id}","href":"/api-reference/knowledge/update"},{"title":"Delete knowledge","api":"DELETE /knowledge/{id}","href":"/api-reference/knowledge/delete"}]},{"group":"Templates","pages":[{"title":"List templates","api":"GET /templates","href":"/api-reference/templates/list"},{"title":"Create template","api":"POST /templates","href":"/api-reference/templates/create"},{"title":"Get template","api":"GET /templates/{id}","href":"/api-reference/templates/get"},{"title":"Update template","api":"PATCH /templates/{id}","href":"/api-reference/templates/update"},{"title":"Delete template","api":"DELETE /templates/{id}","href":"/api-reference/templates/delete"},{"title":"Import template","api":"POST /templates/{id}/import","href":"/api-reference/templates/import"},{"title":"Duplicate template","api":"POST /templates/{id}/duplicate","href":"/api-reference/templates/duplicate"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","api":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Create a campaign","api":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Get a campaign","api":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update, start or pause a campaign","api":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete a campaign","api":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"List campaign contacts","api":"GET /campaigns/{id}/contacts","href":"/api-reference/campaigns/contacts"},{"title":"Get campaign results","api":"GET /campaigns/{id}/results","href":"/api-reference/campaigns/results"},{"title":"Stop calling a contact","api":"POST /campaigns/{id}/contacts/{contactId}/stop","href":"/api-reference/campaigns/stop-contact"}]},{"group":"Calls","pages":[{"title":"Make a call","api":"POST /call","deprecated":true,"href":"/api-reference/calls"}]},{"group":"Workflows","pages":[{"title":"List workflows","api":"GET /workflows","href":"/api-reference/workflows/list"},{"title":"Create a workflow","api":"POST /workflows","href":"/api-reference/workflows/create"},{"title":"Get a workflow","api":"GET /workflows/{id}","href":"/api-reference/workflows/get"},{"title":"Replace a workflow","api":"PUT /workflows/{id}","href":"/api-reference/workflows/replace"},{"title":"Turn a workflow on or off","api":"PATCH /workflows/{id}","href":"/api-reference/workflows/turn-on-off"},{"title":"Delete a workflow","api":"DELETE /workflows/{id}","href":"/api-reference/workflows/delete"},{"title":"Publish or unpublish a workflow","api":"POST /workflows/{id}/publish","href":"/api-reference/workflows/publish"},{"title":"Versions","api":"GET /workflows/{id}/versions","href":"/api-reference/workflows/versions"},{"title":"Step types","api":"GET /workflows/action-types","href":"/api-reference/workflows/step-types"},{"title":"Add contacts to a workflow","api":"POST /workflows/{id}/enroll","href":"/api-reference/workflows/enroll"},{"title":"Runs","api":"GET /workflows/{id}/runs","href":"/api-reference/workflows/runs"}]},{"group":"Conversations","pages":[{"title":"List conversations","api":"GET /conversations","href":"/api-reference/conversations/list"},{"title":"Get a conversation","api":"GET /conversations/{id}","href":"/api-reference/conversations/get"},{"title":"Start a call","api":"POST /conversations/call","href":"/api-reference/conversations/send-call"},{"title":"Send an SMS","api":"POST /conversations/sms","href":"/api-reference/conversations/send-sms"},{"title":"Send an email","api":"POST /conversations/email","description":"Start an email conversation with a contact or address, or reply in one.","href":"/api-reference/conversations/send-email"},{"title":"Send a WhatsApp message","api":"POST /conversations/whatsapp","href":"/api-reference/conversations/send-whatsapp"},{"title":"Reply on Instagram","api":"POST /conversations/instagram","description":"Reply in an Instagram conversation, within 24 hours of the contact's last message.","href":"/api-reference/conversations/send-instagram"},{"title":"Reply on Messenger","api":"POST /conversations/messenger","href":"/api-reference/conversations/send-messenger"}]}]}]},"basePath":"","title":"Send a WhatsApp message - Nedzo","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js"]}