Send a WhatsApp text inside the 24-hour window or an approved template at any time.
POST /v1/messages sends on the phone number tied to your API key. to is the customer’s phone number with country code. GreenTick strips formatting and validates the number before it calls WhatsApp.Find phoneNumberRef with GET /v1/phone-numbers. Find approved template names with GET /v1/templates?status=APPROVED.
Fetch messages with GET /v1/conversations/{id}/messages.
Mark an inbound message read with POST /v1/messages/read and the GreenTick messageId. Cancel a scheduled template with DELETE /v1/messages/scheduled/{id}.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GreenTick","colors":{"primary":"#128C7E","light":"#25D366","dark":"#075E54"},"logo":{"light":"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/light.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=576e67dfdaabe7d160970f5e1b7ff6fb","dark":"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/dark.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=5f084e3da16cfa24ac635295e5fda3a9"},"favicon":"https://mintcdn.com/green-tick/msbWoWS4QM6Kt8Fa/favicon.ico?fit=max\u0026auto=format\u0026n=msbWoWS4QM6Kt8Fa\u0026q=85\u0026s=59d16d1ea1ca9c05c4ab16a366d3f755","navbar":{"links":[{"href":"mailto:hello@greentick.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.greentick.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/showcase/greentick-simplest-whatsapp-marketing-platform-for-business/home","instagram":"https://instagram.com/greentick_ai","youtube":"https://youtube.com/@WAGrowthLab"}},"search":{"prompt":"Search GreenTick docs"},"seo":{"metatags":{"canonical":"https://docs.greentick.ai"},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"green-tick","hasAudioNarration":false,"actualSubdomain":"green-tick","customDomains":["docs.greentick.ai"],"gitSource":{"type":"github","owner":"akshayagrawal1997","repo":"greentick-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6adc8b4bde4d65aac0dc4487"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae1d8c49297755be19f533e","collectionId":"2249f24f-c1c2-4617-9df2-02970d9fca6e","liveDeploymentHistoryId":"6ae1d8c49297755be19f533e","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1da088a46f6fe5a229f1e","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API reference","count":96},{"language":"default","tag":"MCP","count":33},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Use cases","count":20},{"language":"default","tag":"Flows","count":13},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Tools","count":10},{"language":"default","tag":"Conversations","count":10},{"language":"default","tag":"AI bots","count":9},{"language":"default","tag":"Broadcasts","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:2.75rem!important;width:auto!important}"}],"page":{"pagePath":"developers/send-messages","slug":"/developers/send-messages","pageMetadata":{"title":"Send messages","description":"Send a WhatsApp text inside the 24-hour window or an approved template at any time.","keywords":["messages","template","scheduledAt","phoneNumberRef"],"href":"/developers/send-messages"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/messages`}),` sends on the phone number tied to your API key. `,_jsx(_components.code,{children:`to`}),` is the customer’s phone number with country code. GreenTick strips formatting and validates the number before it calls WhatsApp.`]}),`\n`,_jsxs(_components.p,{children:[`Find `,_jsx(_components.code,{children:`phoneNumberRef`}),` with `,_jsx(_components.code,{children:`GET /v1/phone-numbers`}),`. Find approved template names with `,_jsx(_components.code,{children:`GET /v1/templates?status=APPROVED`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`text-inside-the-customer-service-window`,children:`Text inside the customer service window`}),`\n`,_jsx(_components.p,{children:`Text sends only succeed within 24 hours of the customer’s last message.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.greentick.ai/v1/messages\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer gt_live_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:` --header`}),_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:` --data`}),_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:` \"to\": \"919876543210\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"text\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phoneNumberRef\": \"668f1a2b3c4d5e6f7a8b9c0a\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Hello from GreenTick\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Text messages cannot be scheduled.`}),`\n`,_jsx(Heading,{level:`2`,id:`approved-template`,children:`Approved template`}),`\n`,_jsx(_components.p,{children:`Templates can start a conversation. Variables are named, and the names must match the template.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,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:`16`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.greentick.ai/v1/messages\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer gt_live_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:` --header`}),_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:` --data`}),_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:` \"to\": \"919876543210\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phoneNumberRef\": \"668f1a2b3c4d5e6f7a8b9c0a\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"order_update\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en_US\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_name\": \"Akshay\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order_id\": \"ord_123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Optional template fields:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`headerMediaUrl`}),` for an image, video, or document header`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`dynamicURLVariable`}),` when a URL button has a variable suffix`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`copyCodeVariable`}),` for a copy-code button`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`scheduledAt`}),` to send later. An offset or `,_jsx(_components.code,{children:`Z`}),` is that exact instant. A value without a zone uses the timezone from `,_jsx(_components.code,{children:`GET /v1/api-key`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A successful response includes `,_jsx(_components.code,{children:`messageId`}),`, the WhatsApp message id (`,_jsx(_components.code,{children:`wamid`}),`), and `,_jsx(_components.code,{children:`conversationId`}),`. The same conversation then shows in `,_jsx(_components.strong,{children:`Live Chat`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`read-a-thread`,children:`Read a thread`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.greentick.ai/v1/conversations?phoneNumberRef=668f1a2b3c4d5e6f7a8b9c0a\u0026limit=30\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer gt_live_YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Fetch messages with `,_jsx(_components.code,{children:`GET /v1/conversations/{id}/messages`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Mark an inbound message read with `,_jsx(_components.code,{children:`POST /v1/messages/read`}),` and the GreenTick `,_jsx(_components.code,{children:`messageId`}),`. Cancel a scheduled template with `,_jsx(_components.code,{children:`DELETE /v1/messages/scheduled/{id}`}),`.`]})})]})}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 messages","description":"Send a WhatsApp text inside the 24-hour window or an approved template at any time.","keywords":["messages","template","scheduledAt","phoneNumberRef"],"href":"/developers/send-messages"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Text inside the customer service window","slug":"text-inside-the-customer-service-window","depth":2,"children":[]},{"title":"Approved template","slug":"approved-template","depth":2,"children":[]},{"title":"Read a thread","slug":"read-a-thread","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"green-tick","siteName":"GreenTick","title":"Send messages - GreenTick","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T10:43:15.692Z","originalFileLocation":"developers/send-messages.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=\"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GreenTick\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send messages - GreenTick\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GreenTick\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.greentick.ai/developers/send-messages\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://green-tick.mintlify.app/_mintlify/api/og/v2?division=Developers\u0026amp;title=Send+messages\u0026amp;description=Send+a+WhatsApp+text+inside+the+24-hour+window+or+an+approved+template+at+any+time.\u0026amp;theme=e3026a1a426147b3313b3bb7\u0026amp;signature=e718cc37bcdc4fd24c7b93178bc34930cbad7367e52b8a5b6bfb9e755907a347\">\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 messages - GreenTick\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://green-tick.mintlify.app/_mintlify/api/og/v2?division=Developers\u0026amp;title=Send+messages\u0026amp;description=Send+a+WhatsApp+text+inside+the+24-hour+window+or+an+approved+template+at+any+time.\u0026amp;theme=e3026a1a426147b3313b3bb7\u0026amp;signature=e718cc37bcdc4fd24c7b93178bc34930cbad7367e52b8a5b6bfb9e755907a347\">\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/green-tick/oeuyAZBZcf1ibUQn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GreenTick\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#128C7E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.greentick.ai/developers/send-messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/send-messages.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.greentick.ai/#organization\",\"name\":\"GreenTick\",\"url\":\"https://docs.greentick.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/green-tick/z1w6BzDV16VrPV3V/logo/light.png?fit=max\u0026auto=format\u0026n=z1w6BzDV16VrPV3V\u0026q=85\u0026s=576e67dfdaabe7d160970f5e1b7ff6fb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.greentick.ai#website\",\"name\":\"GreenTick\",\"url\":\"https://docs.greentick.ai\",\"publisher\":{\"@id\":\"https://docs.greentick.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.greentick.ai/developers/send-messages#webpage\",\"url\":\"https://docs.greentick.ai/developers/send-messages\",\"name\":\"Send messages\",\"description\":\"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\",\"dateModified\":\"2026-10-28T10:43:15.692Z\",\"isPartOf\":{\"@id\":\"https://docs.greentick.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.greentick.ai/developers/send-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.greentick.ai/developers/send-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developers\",\"item\":\"https://docs.greentick.ai/developers/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send messages\",\"item\":\"https://docs.greentick.ai/developers/send-messages\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.greentick.ai/developers/send-messages#article\",\"headline\":\"Send messages\",\"name\":\"Send messages\",\"description\":\"Send a WhatsApp text inside the 24-hour window or an approved template at any time.\",\"url\":\"https://docs.greentick.ai/developers/send-messages\",\"mainEntityOfPage\":{\"@id\":\"https://docs.greentick.ai/developers/send-messages#webpage\"},\"dateModified\":\"2026-10-28T10:43:15.692Z\",\"keywords\":\"messages, template, scheduledAt, phoneNumberRef\",\"publisher\":{\"@id\":\"https://docs.greentick.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.greentick.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GreenTick\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GreenTick","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Connect WhatsApp","href":"/connect-whatsapp"}]},{"group":"Contacts","icon":"address-book","pages":[{"title":"Contacts","href":"/contacts/overview"},{"title":"Labels and attributes","href":"/contacts/labels-and-attributes"}]},{"group":"Messaging","icon":"comments","pages":[{"title":"Templates","href":"/messaging/templates"},{"title":"Broadcasts","href":"/messaging/broadcasts"},{"title":"Live Chat","href":"/messaging/live-chat"}]},{"group":"Automation","icon":"diagram-project","pages":[{"title":"Automations","href":"/automation/automations"},{"title":"WhatsApp Flows","href":"/automation/flows"},{"title":"AI Bot","href":"/automation/ai-bot"},{"title":"Catalogs","href":"/automation/catalogs"},{"title":"WhatsApp ads","href":"/automation/whatsapp-ads"}]},{"group":"Account","icon":"users","pages":[{"title":"Plans","href":"/account/plans"},{"title":"Team","href":"/account/team"}]},{"group":"Developers","icon":"code","pages":[{"title":"Developer overview","href":"/developers/overview"},{"title":"Authentication","description":"Send a GreenTick API key as a Bearer token and check that the key works.","href":"/developers/authentication"},{"title":"Send messages","href":"/developers/send-messages"},{"title":"Webhooks","description":"Receive signed GreenTick events when a message or catalog order changes.","href":"/developers/webhooks"},{"title":"Integrations","href":"/developers/integrations"}]}]},{"tab":"MCP","icon":"robot","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"API reference","icon":"square-terminal","pages":[{"title":"API reference","href":"/api-reference/system/check-api-availability"}]}]},"title":"Send messages - GreenTick","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":[],"chunks":[]}