{"componentChunkName":"component---src-templates-docs-js","path":"/whatsapp/calling_api","result":{"data":{"site":{"siteMetadata":{"title":"broadcaster","docsLocation":"https://github.com","docsLocationType":"github","editable":false}},"mdx":{"fields":{"id":"cf2339cf-0938-5b16-b4af-ab5dd6500dce","title":"Calling API","slug":"/whatsapp/calling_api"},"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\": \"Calling API\",\n  \"order\": 7\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(\"section\", {\n    \"id\": \"callingapioverview\"\n  }, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Calling API overview\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The Calling API lets you make and receive calls with WhatsApp users over Voice over Internet Protocol (VoIP).\")), mdx(\"section\", {\n    \"id\": \"tokens\"\n  }, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Tokens\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The Calling API uses both kinds of token, depending on the endpoint:\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Call settings and template creation\"), \" (paths with \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"whatsapp-bsp-admin-ext-endpoint-ws\"), \"): admin token.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Business operations during a call and sending messages\"), \" (paths with \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"whatsapp-bsp-api-endpoint-ws\"), \"): messaging token.\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"See how to generate each one in \", mdx(\"a\", {\n    href: \"/whatsapp/authentication_token\"\n  }, \"Generate authentication token\"), \".\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Pages in this section:\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/calling_api/call_permissions\"\n  }, \"User call permissions\"), \": the three ways to ask the user for permission to call them.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/calling_api/call_settings\"\n  }, \"Call settings\"), \": configure and get the call settings of a phone number.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", {\n    href: \"/whatsapp/calling_api/business_op_during_call\"\n  }, \"Business operations during a call\"), \": start, pre-accept, accept, reject and end calls.\"))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#calling-api-overview","title":"Calling API overview"},{"url":"#tokens","title":"Tokens"}]},"timeToRead":1,"parent":{"__typename":"File","relativePath":"whatsapp/calling_api.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":"cf2339cf-0938-5b16-b4af-ab5dd6500dce"}},"staticQueryHashes":["12478684","12478684","2882937274","2882937274","353167761","353167761"]}