{"id":13848,"date":"2024-08-22T16:10:04","date_gmt":"2024-08-22T10:40:04","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=13848"},"modified":"2024-08-22T16:10:04","modified_gmt":"2024-08-22T10:40:04","slug":"twilio-whatsapp-api","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-whatsapp-login\/twilio-whatsapp-api\/","title":{"rendered":"Twilio WhatsApp API"},"content":{"rendered":"<p><b>Step 1: <\/b><span style=\"font-weight: 400;\">Log in to<\/span><b> Twilio<\/b><span style=\"font-weight: 400;\"> using the below URL.<\/span><\/p>\n<p><a href=\"https:\/\/www.twilio.com\/login\"><span style=\"font-weight: 400;\">https:\/\/www.twilio.com\/login<\/span><\/a><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><b>Step 2:<\/b><span style=\"font-weight: 400;\"> Click on <\/span><b>Account<\/b><span style=\"font-weight: 400;\"> and select <\/span><b>API keys &amp; Tokens<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-13849\" title=\"API keys &amp; Tokens\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/API-keys-Tokens.png\" alt=\"API keys &amp; Tokens\" width=\"1279\" height=\"665\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/API-keys-Tokens.png 1279w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/API-keys-Tokens-300x156.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/API-keys-Tokens-1024x532.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/API-keys-Tokens-768x399.png 768w\" sizes=\"(max-width: 1279px) 100vw, 1279px\" \/><\/p>\n<p><b>Step 3:<\/b><span style=\"font-weight: 400;\"> Copy <\/span><b>Account SID <\/b><span style=\"font-weight: 400;\">and <\/span><b>Auth Token<\/b><span style=\"font-weight: 400;\"> and use them for extension configuration.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13850\" title=\"Account SID and Auth Token\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Account-SID-and-Auth-Token.png\" alt=\"Account SID and Auth Token\" width=\"1293\" height=\"666\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Account-SID-and-Auth-Token.png 1293w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Account-SID-and-Auth-Token-300x155.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Account-SID-and-Auth-Token-1024x527.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Account-SID-and-Auth-Token-768x396.png 768w\" sizes=\"(max-width: 1293px) 100vw, 1293px\" \/><\/p>\n<p><b>Step 4: <\/b><span style=\"font-weight: 400;\">After that, click on <\/span><b>Account Dashboard &gt; Develop &gt; Messaging Section &gt; Senders<\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select <\/span><b>Whatsapp Senders<\/b><span style=\"font-weight: 400;\"> and click on <\/span><b>Create new sender<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13851\" title=\"Create new sender\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Create-new-sender.png\" alt=\"Create new sender\" width=\"1296\" height=\"658\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Create-new-sender.png 1296w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Create-new-sender-300x152.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Create-new-sender-1024x520.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Create-new-sender-768x390.png 768w\" sizes=\"(max-width: 1296px) 100vw, 1296px\" \/><\/p>\n<p><b>Step 5:<\/b><span style=\"font-weight: 400;\"> Fill up all the required information and click on the<\/span><b> Submit request<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13853\" title=\"fill details\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/fill-details.png\" alt=\"fill details\" width=\"1308\" height=\"659\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/fill-details.png 1308w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/fill-details-300x151.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/fill-details-1024x516.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/fill-details-768x387.png 768w\" sizes=\"(max-width: 1308px) 100vw, 1308px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13852\" title=\"send request\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/send-request.png\" alt=\"send request\" width=\"1295\" height=\"662\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/send-request.png 1295w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/send-request-300x153.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/send-request-1024x523.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/send-request-768x393.png 768w\" sizes=\"(max-width: 1295px) 100vw, 1295px\" \/><\/p>\n<p><b>Step 6: <\/b><span style=\"font-weight: 400;\">After Submit request you will get the <\/span><b>Twilio WhatsApp Number<\/b><span style=\"font-weight: 400;\">. Copy and use it for extension configuration.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13854\" title=\"Twilio WhatsApp Number\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Twilio-WhatsApp-Number.png\" alt=\"Twilio WhatsApp Number\" width=\"1301\" height=\"665\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Twilio-WhatsApp-Number.png 1301w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Twilio-WhatsApp-Number-300x153.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Twilio-WhatsApp-Number-1024x523.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Twilio-WhatsApp-Number-768x393.png 768w\" sizes=\"(max-width: 1301px) 100vw, 1301px\" \/><\/p>\n<p><b>Step 7: <\/b><span style=\"font-weight: 400;\">Click on your WhatsApp Number and configure the below URL in Twilio <\/span><b>&#8220;Endpoint configuration&#8221; <\/b><span style=\"font-weight: 400;\">configuration <\/span><b>Webhook URL for incoming messages<\/b><span style=\"font-weight: 400;\"> field.<\/span><\/p>\n<p><b>{{base_url}}\/whatsapplogin\/account\/index<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Replace base_url\u00a0 with your domain.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13855\" title=\"Endpoint configuration\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Endpoint-configuration.png\" alt=\"Endpoint configuration\" width=\"1298\" height=\"645\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Endpoint-configuration.png 1298w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Endpoint-configuration-300x149.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Endpoint-configuration-1024x509.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2024\/08\/Endpoint-configuration-768x382.png 768w\" sizes=\"(max-width: 1298px) 100vw, 1298px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":13844,"menu_order":1,"template":"","manualdocumentationcategory":[4044],"manual_doc_tag":[],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/13848"}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/13848\/revisions"}],"predecessor-version":[{"id":13856,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/13848\/revisions\/13856"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/13844"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=13848"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=13848"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=13848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}