{"componentChunkName":"component---src-templates-docs-js","path":"/whatsapp/receive_notifications/system","result":{"data":{"site":{"siteMetadata":{"title":"broadcaster","docsLocation":"https://github.com","docsLocationType":"github","editable":false}},"mdx":{"fields":{"id":"f2bf7c2d-a3b4-516a-ab8b-8888ac999c46","title":"User changed phone number","slug":"/whatsapp/receive_notifications/system"},"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\": \"User changed phone number\",\n  \"order\": 5\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(\"blockquote\", null, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Integration summary\")), mdx(\"ul\", {\n    parentName: \"blockquote\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Delivery:\"), \" WhatsApp \\u2192 Concepto M\\xF3vil \\u2192 \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"POST\"), \" to your webhook URL (the one you share with our Operations team), with a JSON body.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Format:\"), \" Meta's \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"value\"), \" object without \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"metadata\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"messaging_product\"), \" (see \", mdx(\"a\", {\n    href: \"/whatsapp/receive_notifications/webhook\"\n  }, \"Webhook\"), \").\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Identify the user:\"), \" \", mdx(\"a\", {\n    href: \"/whatsapp/receive_notifications#h-howtoidentifytheuser\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"from\"), \"/\", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"recipient_id\"), \" or, if missing, the BSUID\"), \".\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Types on this page:\"), \" \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"system\"), \" (\", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"user_changed_number\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"user_changed_user_id\"), \")\"))), mdx(\"section\", {\n    \"id\": \"userchangedphonenumber\"\n  }, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"User changed phone number\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Sent when a user's phone number or BSUID changes. It's a message whose \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"type\"), \" is \\\"system\\\". There are two cases:\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"The user changed their phone number:\"), \" \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"system.type\"), \" is \\\"user_changed_number\\\". Because the BSUID is regenerated too, the notification includes both the new and the previous BSUID.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Only the BSUID changed\"), \" and the phone number can't be shared: \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"system.type\"), \" is \\\"user_changed_user_id\\\". It usually doesn't include \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"wa_id\"), \".\"))), mdx(\"section\", {\n    \"id\": \"userchangedphonenumber--structure\"\n  }, mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Structure\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Fields for \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"User changed phone number\"), \":\")), mdx(\"section\", {\n    \"id\": \"userchangedphonenumber--structure--systemobject\"\n  }, mdx(\"h4\", {\n    parentName: \"section\"\n  }, \"System object\"), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Name\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Description\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Type\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Requirements\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"body\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Text describing the change. For \\\"user_changed_number\\\" it has the old and new phone numbers; for \\\"user_changed_user_id\\\", the old and new BSUIDs.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Required\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"wa_id\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The user's new phone number. Missing if the number can't be shared.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Conditional\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"user_id\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The user's new BSUID.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Required\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"previous_user_id\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The user's previous BSUID. Missing if it isn't available.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Optional\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"parent_user_id\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"New parent BSUID. Only included if the business has linked portfolios.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Optional\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"previous_parent_user_id\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Previous parent BSUID. Only included if the business has linked portfolios.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Optional\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"type\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Type of change. Possible values: \", mdx(\"ul\", null, mdx(\"li\", null, \"user_changed_number\"), mdx(\"li\", null, \"user_changed_user_id\"))), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"String\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Required\"))))), mdx(\"section\", {\n    \"id\": \"userchangedphonenumber--example\"\n  }, mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Example\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Complete \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"User changed phone number\"), \" example:\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-json\"\n  }, \"{\\n    \\\"messages\\\": [\\n        {\\n            \\\"from\\\": \\\"16315551181\\\",\\n            \\\"id\\\": \\\"ABGGFlA5Fpa\\\",\\n            \\\"timestamp\\\": \\\"1504902988\\\",\\n            \\\"type\\\": \\\"system\\\",\\n            \\\"system\\\": {\\n                \\\"body\\\": \\\"User A changed from 16315551181 to 16315551199\\\",\\n                \\\"wa_id\\\": \\\"16315551199\\\",\\n                \\\"user_id\\\": \\\"US.98712345678901234567\\\",\\n                \\\"previous_user_id\\\": \\\"US.13491208655302741918\\\",\\n                \\\"parent_user_id\\\": \\\"US.ENT.506847293015824\\\",\\n                \\\"previous_parent_user_id\\\": \\\"US.ENT.11815799212886844830\\\",\\n                \\\"type\\\": \\\"user_changed_number\\\"\\n            }\\n        }\\n    ]\\n}\\n\")), mdx(\"br\", null), mdx(\"hr\", {\n    parentName: \"section\"\n  })));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#user-changed-phone-number","title":"User changed phone number","items":[{"url":"#structure","title":"Structure","items":[{"url":"#system-object","title":"System object"}]},{"url":"#example","title":"Example"}]}]},"timeToRead":1,"parent":{"__typename":"File","relativePath":"whatsapp/receive_notifications/system.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":"f2bf7c2d-a3b4-516a-ab8b-8888ac999c46"}},"staticQueryHashes":["12478684","12478684","2882937274","2882937274","353167761","353167761"]}