Send a message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.
Public http(s) URL of a WhatsApp media file. message is the caption. Only supported when messagePlatform is whatsapp. Accepted URL types: images jpg, jpeg, png (image/jpeg, image/png); video mp4, 3gp (video/mp4, video/3gpp); audio aac, m4a, mp3, amr, ogg, opus (audio/aac, audio/mp4, audio/mpeg, audio/amr, audio/ogg, audio/opus); documents txt, pdf, doc, docx, ppt, pptx, xls, xlsx. The URL extension and the file Content-Type must be one of these and must match. A different type is rejected and the message is not sent.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pingmee","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/pingmee/6-cSiE-VJQ-upKI2/logo/light.svg?fit=max\u0026auto=format\u0026n=6-cSiE-VJQ-upKI2\u0026q=85\u0026s=d9da227b37f163e6cb4e93227d0c1f9e","dark":"https://mintcdn.com/pingmee/6-cSiE-VJQ-upKI2/logo/dark.svg?fit=max\u0026auto=format\u0026n=6-cSiE-VJQ-upKI2\u0026q=85\u0026s=52c428147e8593e20587c84e1bb2cf18"},"favicon":"https://mintcdn.com/pingmee/6GqCW7N1hw98BUFa/favicon.ico?fit=max\u0026auto=format\u0026n=6GqCW7N1hw98BUFa\u0026q=85\u0026s=25d96fcd788b73f6390cf36f937cbde7","navbar":{"links":[{"href":"mailto:support@pingmee.co.il","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://pingmee.co.il"}},"footer":{"socials":{"facebook":"https://www.facebook.com/profile.php?id=61573401389848","instagram":"https://www.instagram.com/pingmee_ai","linkedin":"https://www.linkedin.com/company/pingmee-chat"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Updates","icon":"newspaper","href":"https://pingmee.co.il/updates/"},{"anchor":"Academy","icon":"newspaper","href":"https://pingmee.co.il/academy/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pingmee","hasAudioNarration":false,"actualSubdomain":"pingmee","customDomains":["docs.pingmee.co.il"],"gitSource":{"type":"github","owner":"apsoftwareservice","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada59ec188562674795c2ac","collectionId":"35a353a6-0993-410b-a7f5-dcf303b663d8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada59ec188562674795c2ac"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ada59ec188562674795c2ac","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API reference","count":43},{"language":"default","tag":"Workflows","count":18},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Conversation","count":9},{"language":"default","tag":"Tasks","count":7},{"language":"default","tag":"API","count":7},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Tags","count":4},{"language":"default","tag":"AI Agents","count":3},{"language":"default","tag":"Campaigns","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[],"page":{"pagePath":"api-reference/messages/send-message","slug":"/api-reference/messages/send-message","pageMetadata":{"title":"Send Message","openapi":"POST /sendMessage","lastUpdatedDate":"2026-10-11","timestamp":true,"description":"Send a message. On WhatsApp, `mediaUrl` attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.","href":"/api-reference/messages/send-message"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Send a message. On WhatsApp, \", _jsx(_components.code, {\n children: \"mediaUrl\"\n }), \" attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send Message","openapi":"POST /sendMessage","lastUpdatedDate":"2026-10-11","timestamp":true,"description":"Send a message. On WhatsApp, `mediaUrl` attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.","href":"/api-reference/messages/send-message"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Send a message. On WhatsApp, `mediaUrl` attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.","requestBody":"500600ae-5aad-45f7-9447-ee7a8f9f1525","responses":{"200":"6acf9ca2-0463-4f43-8814-6e1588d81927","400":"91dcc9eb-f785-4661-a441-51599a2e9651","401":"74a5de05-08d1-4084-ada8-abfc309e2f04"},"x-mint":{"mcp":{"enabled":true,"name":"post-sendMessage","description":"Send a message"}},"method":"post","type":"path","servers":["965742b4-0e64-4909-b1c2-c5eeb4c0d06e"],"security":["8479c3ab-4b29-47c5-aaba-8cb2a1514c75"],"path":"/sendMessage","baseUrlOptions":["https://api.pingmee.co.il"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sender","receiver","participantsIdentifiers","message","type","messagePlatform","initiator"],"properties":{"sender":{"type":"string","description":"Sender identifier","isRequired":true,"uniqueKey":"sender","typeLabel":"string"},"receiver":{"type":"string","description":"Receiver identifier","isRequired":true,"uniqueKey":"receiver","typeLabel":"string"},"participantsIdentifiers":{"type":"string","description":"Conversation participants identifiers","isRequired":true,"uniqueKey":"participantsIdentifiers","typeLabel":"string"},"message":{"type":"string","description":"Message content","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","enum":["default"],"default":"default","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"initiator":{"type":"string","enum":["person"],"default":"person","isRequired":true,"uniqueKey":"initiator","typeLabel":"enum\u003cstring>"},"messagePlatform":{"type":"string","enum":["instagram","facebookMessenger","whatsapp"],"default":"whatsapp","description":"Messaging platform","isRequired":true,"uniqueKey":"messagePlatform","typeLabel":"enum\u003cstring>"},"context":{"type":"object","description":"Reply to an existing WhatsApp message","properties":{"from":{"type":"string","description":"Original sender phone number Id","uniqueKey":"context.from","typeLabel":"string"},"id":{"type":"string","description":"Original message ID","uniqueKey":"context.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"context","typeLabel":"object"},"mediaUrl":{"type":"string","description":"Public http(s) URL of a WhatsApp media file. `message` is the caption. Only supported when `messagePlatform` is `whatsapp`. Accepted URL types: images jpg, jpeg, png (image/jpeg, image/png); video mp4, 3gp (video/mp4, video/3gpp); audio aac, m4a, mp3, amr, ogg, opus (audio/aac, audio/mp4, audio/mpeg, audio/amr, audio/ogg, audio/opus); documents txt, pdf, doc, docx, ppt, pptx, xls, xlsx. The URL extension and the file Content-Type must be one of these and must match. A different type is rejected and the message is not sent.","uniqueKey":"mediaUrl","typeLabel":"string"},"attachmentBase64":{"type":"object","description":"Base64 encoded media attachment","properties":{"resourceId":{"type":"string","description":"Uploaded media resource ID","uniqueKey":"attachmentBase64.resourceId","typeLabel":"string"},"fileName":{"type":"string","description":"Original file name","uniqueKey":"attachmentBase64.fileName","typeLabel":"string"},"fileMimeType":{"type":"string","description":"MIME type","uniqueKey":"attachmentBase64.fileMimeType","typeLabel":"string"},"fileSize":{"type":"number","description":"File size in bytes","uniqueKey":"attachmentBase64.fileSize","typeLabel":"number"},"fileType":{"type":"string","description":"Attachment type","uniqueKey":"attachmentBase64.fileType","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"attachmentBase64","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"sender":"\u003cstring>","receiver":"\u003cstring>","participantsIdentifiers":"\u003cstring>","message":"\u003cstring>","type":"default","initiator":"person","messagePlatform":"whatsapp","context":{"from":"\u003cstring>","id":"\u003cstring>"},"mediaUrl":"\u003cstring>","attachmentBase64":{"resourceId":"\u003cstring>","fileName":"\u003cstring>","fileMimeType":"\u003cstring>","fileSize":123,"fileType":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6acf9ca2-0463-4f43-8814-6e1588d81927":{"description":"Message sent successfully","content":{"application/json":{"schema":{"type":"object","required":["message_generated_id"],"properties":{"message_generated_id":{"type":"string","description":"Platform-generated message ID","isRequired":true,"uniqueKey":"message_generated_id","typeLabel":"string"},"sentMessage":{"type":"object","description":"Returned only when initiator is bot or ai","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"sentMessage.message","typeLabel":"string"},"whatsappMessageResponse":{"type":"object","description":"Raw platform response","additionalProperties":false,"isRequired":true,"uniqueKey":"sentMessage.whatsappMessageResponse","typeLabel":"object"}},"required":["message","whatsappMessageResponse"],"additionalProperties":false,"uniqueKey":"sentMessage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message_generated_id":"\u003cstring>","sentMessage":{"message":"\u003cstring>","whatsappMessageResponse":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"91dcc9eb-f785-4661-a441-51599a2e9651":{"description":"Invalid request","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"74a5de05-08d1-4084-ada8-abfc309e2f04":{"description":"Unauthorized","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8479c3ab-4b29-47c5-aaba-8cb2a1514c75":{"cookieAuth":{"type":"apiKey","in":"header","name":"Cookie","description":"Personal access token from Pingmee Settings → Developer Tools","scopes":[],"schemeName":"cookieAuth"},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Business API key from Pingmee Settings → Developer Tools","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"965742b4-0e64-4909-b1c2-c5eeb4c0d06e":{"url":"https://api.pingmee.co.il"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Cookie","description":"Personal access token from Pingmee Settings → Developer Tools","scopes":[],"schemeName":"cookieAuth"},"schema":{"title":"Cookie","type":"string","description":"Personal access token from Pingmee Settings → Developer Tools","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"cookieAuth","name":"Cookie"},{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Business API key from Pingmee Settings → Developer Tools","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Business API key from Pingmee Settings → Developer Tools","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"cookieAuth \u0026 ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"pingmee","siteName":"Pingmee","title":"Send Message - Pingmee","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-10T21:11:41.496Z","gitLastModified":"2026-10-10T21:11:31.000Z","originalFileLocation":"api-reference/messages/send-message.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"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 message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pingmee\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_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/pingmee/1TKPNPCBCRVoPdBm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send Message - Pingmee\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pingmee\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pingmee.co.il/api-reference/messages/send-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pingmee.mintlify.app/_mintlify/api/og/v2?division=Messages\u0026amp;title=Send+Message\u0026amp;description=Send+a+message.+On+WhatsApp%2C+%60mediaUrl%60+attaches+a+file%3A+the+server+downloads+it%2C+uploads+it+to+WhatsApp%2C+and+sends+the+message+with+the+returned+media+id.+Acce\u0026amp;theme=f5e70bc7afe80f23daa3ecc1\u0026amp;signature=546fb1d873ce5886a507a792eee28ed5536df5a0c23150115714fa0c45aa0cee\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send Message - Pingmee\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pingmee.mintlify.app/_mintlify/api/og/v2?division=Messages\u0026amp;title=Send+Message\u0026amp;description=Send+a+message.+On+WhatsApp%2C+%60mediaUrl%60+attaches+a+file%3A+the+server+downloads+it%2C+uploads+it+to+WhatsApp%2C+and+sends+the+message+with+the+returned+media+id.+Acce\u0026amp;theme=f5e70bc7afe80f23daa3ecc1\u0026amp;signature=546fb1d873ce5886a507a792eee28ed5536df5a0c23150115714fa0c45aa0cee\">\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/pingmee/1TKPNPCBCRVoPdBm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pingmee\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pingmee.co.il/api-reference/messages/send-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/messages/send-message.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pingmee.co.il/#organization\",\"name\":\"Pingmee\",\"url\":\"https://docs.pingmee.co.il\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pingmee/6-cSiE-VJQ-upKI2/logo/light.svg?fit=max\u0026auto=format\u0026n=6-cSiE-VJQ-upKI2\u0026q=85\u0026s=d9da227b37f163e6cb4e93227d0c1f9e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pingmee.co.il#website\",\"name\":\"Pingmee\",\"url\":\"https://docs.pingmee.co.il\",\"publisher\":{\"@id\":\"https://docs.pingmee.co.il/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pingmee.co.il/api-reference/messages/send-message#webpage\",\"url\":\"https://docs.pingmee.co.il/api-reference/messages/send-message\",\"name\":\"Send Message\",\"description\":\"Send a message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\",\"dateModified\":\"2026-10-11T00:00:00.000Z\",\"isPartOf\":{\"@id\":\"https://docs.pingmee.co.il#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pingmee.co.il/api-reference/messages/send-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pingmee.co.il/api-reference/messages/send-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pingmee\",\"item\":\"https://docs.pingmee.co.il\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send Message\",\"item\":\"https://docs.pingmee.co.il/api-reference/messages/send-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pingmee.co.il/api-reference/messages/send-message#apireference\",\"headline\":\"Send Message\",\"name\":\"Send Message\",\"description\":\"Send a message. On WhatsApp, mediaUrl attaches a file: the server downloads it, uploads it to WhatsApp, and sends the message with the returned media id. Accepted types are images (jpg, jpeg, png), video (mp4, 3gp), audio (aac, m4a, mp3, amr, ogg, opus), and documents (txt, pdf, doc, docx, ppt, pptx, xls, xlsx). The URL file type and the downloaded Content-Type must both be in that list and must match. Any other type is rejected and the message is not sent.\",\"url\":\"https://docs.pingmee.co.il/api-reference/messages/send-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pingmee.co.il/api-reference/messages/send-message#webpage\"},\"dateModified\":\"2026-10-11T00:00:00.000Z\",\"publisher\":{\"@id\":\"https://docs.pingmee.co.il/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pingmee.co.il#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pingmee\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pingmee","nav":{"global":{"anchors":[{"anchor":"Updates","icon":"newspaper","href":"https://pingmee.co.il/updates/"},{"anchor":"Academy","icon":"newspaper","href":"https://pingmee.co.il/academy/"}]},"tabs":[{"tab":"API reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","description":"Working with Pingmee Micro Services","href":""}]},{"group":"Messages","pages":[{"title":"Send Message","openapi":"POST /sendMessage","href":"/api-reference/messages/send-message"},{"title":"Send Template","openapi":"POST /templates/send","description":"Send a WhatsApp template message","href":"/api-reference/messages/send-template"},{"title":"Get Messages","openapi":"POST /getMessages","href":"/api-reference/messages/get-messages"}]},{"group":"Conversation","pages":[{"title":"Get Conversations","openapi":"POST /conversations","href":"/api-reference/conversation/get-all"},{"title":"Get Conversation","openapi":"GET /conversations/{id}","href":"/api-reference/conversation/get"},{"title":"Set Status","openapi":"POST /conversations/{id}/status","href":"/api-reference/conversation/status"},{"title":"Set Answer Mode","openapi":"POST /conversations/{id}/answer-mode","href":"/api-reference/conversation/answer-mode"},{"title":"Get Conversation Tags","openapi":"GET /conversations/{id}/tags","href":"/api-reference/conversation/tags-get"},{"title":"Assign Tags to Conversation","openapi":"POST /conversations/{id}/tags","href":"/api-reference/conversation/tags-assign"},{"title":"Remove Tags from Conversation","openapi":"DELETE /conversations/{id}/tags","href":"/api-reference/conversation/tags-remove"},{"title":"Assign Agents","openapi":"POST /conversations/{id}/agents","href":"/api-reference/conversation/agents/assign"},{"title":"Unassign Agents","openapi":"DELETE /conversations/{id}/agents","href":"/api-reference/conversation/agents/unassign"}]},{"group":"Misc","pages":[{"title":"Get Phone Numbers","openapi":"GET /phone-numbers","href":"/api-reference/business/get-phone-numbers"},{"title":"Get WhatsApp Templates","openapi":"GET /templates","href":"/api-reference/business/get-templates"}]},{"group":"Webhooks","pages":[{"title":"Get Webhooks","openapi":"GET /webhook","href":"/api-reference/webhook/get"},{"title":"Create Webhook","openapi":"POST /webhook","href":"/api-reference/webhook/create"},{"title":"Delete Webhook","openapi":"DELETE /webhook/{webhookId}","href":"/api-reference/webhook/delete"}]},{"group":"Tags","pages":[{"title":"Get Tags","openapi":"GET /conversation/tags","href":"/api-reference/tags/get-all"},{"title":"Get Tag","openapi":"GET /conversation/tags/{id}","href":"/api-reference/tags/get"},{"title":"Create Tag","openapi":"PUT /conversation/tags","href":"/api-reference/tags/create"},{"title":"Delete Tag","openapi":"DELETE /conversation/tags/{id}","href":"/api-reference/tags/delete"}]},{"group":"Statuses","pages":[{"title":"Get Conversation Statuses","openapi":"GET /conversation/statuses","href":"/api-reference/conversation/statuses-get-all"},{"title":"Get Task Statuses","openapi":"GET /tasks/statuses","href":"/api-reference/tasks/statuses-get-all"},{"title":"Create Task Status","openapi":"PUT /tasks/status","href":"/api-reference/tasks/statuses-create"},{"title":"Delete Task Status","openapi":"DELETE /tasks/status/{id}","href":"/api-reference/tasks/statuses-delete"}]},{"group":"Agents","pages":[{"title":"Get Agents","openapi":"GET /agents","href":"/api-reference/conversation/agents/get-all"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/conversation/agents/get"}]},{"group":"AI Agents","pages":[{"title":"Get AI Agents","openapi":"GET /ai-agents","href":"/api-reference/ai-agents/get-all"},{"title":"Get AI Agent","openapi":"GET /ai-agents/{id}","href":"/api-reference/ai-agents/get"},{"title":"Update AI Agent","openapi":"PUT /ai-agents/{id}","href":"/api-reference/ai-agents/update"}]},{"group":"Customers","pages":[{"title":"Get Customers","openapi":"POST /customers","href":"/api-reference/customers/get-all"},{"title":"Get Customer","openapi":"GET /customers/{id}","href":"/api-reference/customers/get"},{"title":"Create Customers","openapi":"PUT /customers","href":"/api-reference/customers/create"},{"title":"Update Customer","openapi":"POST /customers/{id}","href":"/api-reference/customers/update"},{"title":"Delete Customer","openapi":"DELETE /customers/{id}","href":"/api-reference/customers/delete"}]},{"group":"Campaigns","pages":[{"title":"Get Campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Create Campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Delete Campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/delete"}]},{"group":"Tasks","pages":[{"title":"Get Tasks","openapi":"POST /tasks/list","href":"/api-reference/tasks/get-all"},{"title":"Get Task","openapi":"GET /tasks/{taskId}","href":"/api-reference/tasks/get"},{"title":"Update Task","openapi":"PATCH /tasks/{taskId}","href":"/api-reference/tasks/update"},{"title":"Delete Task","openapi":"DELETE /tasks/{taskId}","href":"/api-reference/tasks/delete"},{"title":"Get Task Statuses","openapi":"GET /tasks/statuses","href":"/api-reference/tasks/statuses-get-all"},{"title":"Create Task Status","openapi":"PUT /tasks/status","href":"/api-reference/tasks/statuses-create"},{"title":"Delete Task Status","openapi":"DELETE /tasks/status/{id}","href":"/api-reference/tasks/statuses-delete"}]}]},{"tab":"Workflows","pages":[{"title":"Workflows","href":"/workflows-documentation"}]},{"tab":"Make","pages":[{"title":"Make","href":"/make"}]},{"tab":"n8n","pages":[{"title":"n8n","href":"/n8n"}]}]},"title":"Send Message - Pingmee","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}