{"componentChunkName":"component---src-templates-docs-js","path":"/whatsapp/messaging","result":{"data":{"site":{"siteMetadata":{"title":"broadcaster","docsLocation":"https://github.com","docsLocationType":"github","editable":false}},"mdx":{"fields":{"id":"687641ce-8ddd-51d3-ab98-003322f3b16a","title":"Messaging","slug":"/whatsapp/messaging"},"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Messaging\",\n  \"order\": 3\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The messaging section covers every message you can send to your customers on WhatsApp. All of them are sent with the same endpoint, \", mdx(\"a\", {\n    href: \"/whatsapp/messaging/http\"\n  }, \"POST /v1/messaging\"), \"; the section also includes the endpoint to mark messages as read and show the typing indicator, and the endpoint to download the media files your customers send you.\"), mdx(\"p\", null, \"All these endpoints use the messaging token. See \", mdx(\"a\", {\n    href: \"/whatsapp/authentication_token\"\n  }, \"Generate authentication token\"), \".\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/http\"\n  }, \"HTTP connection\"), \": request, headers, common fields and response of POST /v1/messaging.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/without_template\"\n  }, \"Non-template messages\"), \": text, media, location, contacts, reactions and other free-form messages.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/with_template\"\n  }, \"Template messages\"), \": messages based on templates approved by WhatsApp.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/interactive\"\n  }, \"Interactive messages\"), \": lists, reply buttons, call to action (URL), contact information request and Flows.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/groups\"\n  }, \"Group messages\"), \": send, pin and unpin messages in a WhatsApp group.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/read_and_typing_indicators\"\n  }, \"Read and typing indicators\"), \": mark messages as read and show the \\\"typing...\\\" indicator.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/messaging/file_download\"\n  }, \"File download\"), \": download the media files sent by your customers.\")), mdx(\"a\", {\n    href: \"/whatsapp/c-commerce/messaging\"\n  }, \"C-Commerce\"), \" product messages and \", mdx(\"a\", {\n    href: \"/whatsapp/payments_brasil\"\n  }, \"Payments Brasil\"), \" messages are also sent with POST /v1/messaging. To receive your customers' messages and the status of your messages, see \", mdx(\"a\", {\n    href: \"/whatsapp/receive_notifications\"\n  }, \"Receiving notifications\"), \".\");\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{},"timeToRead":1,"parent":{"__typename":"File","relativePath":"whatsapp/messaging.md","fields":{"gitLogLatestAuthorName":"Irais Aguirre","gitLogLatestAuthorEmail":"irais.aguirre@conceptomovil.com","gitLogLatestDate":"4 days ago"}},"frontmatter":{"metaTitle":null,"showMetadata":null,"editable":null,"showPreviousNext":null,"showToc":null}},"gitBranch":{"name":"20211019-2FACTOR_AUTH"},"gitCommit":{"hash":"9713e1925aeb8cad930f91b6bf05d0b5937b2bb5","date":"2026-11-13 06:39"}},"pageContext":{"id":"687641ce-8ddd-51d3-ab98-003322f3b16a"}},"staticQueryHashes":["12478684","12478684","2882937274","2882937274","353167761","353167761"]}