{"id":19016834,"date":"2026-09-10T16:24:54","date_gmt":"2026-09-10T16:24:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/programmatically-open-and-close-the-whatsapp-chat-pop-up\/"},"modified":"2026-09-10T16:24:54","modified_gmt":"2026-09-10T16:24:54","slug":"programmatically-open-and-close-the-whatsapp-chat-pop-up","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/programmatically-open-and-close-the-whatsapp-chat-pop-up\/","title":{"rendered":"Programmatically open and close the WhatsApp chat pop up"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there a programmatic way to open and close the Chaty WhatsApp chat pop up using JavaScript?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, we would like to trigger the WhatsApp pop up to open after a specific user action and close it again when needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there a public JavaScript method or API available for this?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-19016834","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19016834\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19016834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}