{"id":2466,"date":"2023-02-08T14:57:27","date_gmt":"2023-02-08T14:57:27","guid":{"rendered":"https:\/\/support.spoki.com\/docs\/uncategorized\/embed-spoki-on-your-software\/"},"modified":"2025-09-30T14:38:59","modified_gmt":"2025-09-30T14:38:59","password":"","slug":"embed-spoki-on-your-software","status":"publish","type":"docs","link":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/","title":{"rendered":"Embed Spoki on your Software"},"content":{"rendered":"\n<p><em>How can I embed Spoki, so the WhatsApp Chat in the contact detail page of my software?<br>How can I let my clients to request a WhatsApp template directly form my management software?<\/em><br><br>Solve these needs, and more, by embedding Spoki into your own software!<\/p>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Functionalities<\/h2>\n\n\n\n<p>Here&#8217;s what you can embed Spoki with the iframe:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Iframe embedding<\/strong>. Allow your customers to use Spoki features without leaving your management system.<\/li>\n\n\n\n<li><strong>Auto-login via token<\/strong>. No need to provide Spoki credentials to your users, you can authenticate the associated service user before showing them the iframe.<\/li>\n\n\n\n<li><strong>Hide Spoki branding<\/strong>. The Spoki logo is not visible in the iframe.<\/li>\n\n\n\n<li><strong>Multi-Session<\/strong>. Simultaneously use Spoki in different tabs with different sessions.<\/li>\n\n\n\n<li><strong>Prevent navigation<\/strong>. In iframe the navigation bar is not visible, in this way you can limit the usage to a specific page.<\/li>\n\n\n\n<li><strong>Get notified when<\/strong>:  \n<ul class=\"wp-block-list\">\n<li>Unread chats changed<\/li>\n\n\n\n<li><em>The list of chats in the Chats Page changed<\/em><\/li>\n\n\n\n<li><em>The list of messages in the Chat Detail Page changed<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How To<\/h2>\n\n\n\n<p>To embed the Spoki iframe you need to perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#request-the-api-key\">Request the Bees <\/a><a href=\"#1-request-the-api-key\">Key<\/a><\/li>\n\n\n\n<li><a href=\"#generate-the-private-token\">Generate the Private Token<\/a><\/li>\n\n\n\n<li><a href=\"#embed-the-iframe\">Embed the iframe<\/a><\/li>\n\n\n\n<li><a href=\"#subscribe-to-iframe-events\">Subscribe to iFrame Events<\/a><\/li>\n\n\n\n<li><a href=\"#obtain-the-api-key-approval-then-enjoy\">Obtain the Api Key Approval, then enjoy \ud83c\udf89<\/a><\/li>\n<\/ol>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" id=\"request-the-api-key\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. Request the Api Key<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <em>Integrations \/ API \/ Request Api Key<\/em><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"690\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.12.12-1-1024x690.png\" alt=\"request new api key\" class=\"wp-image-897\" title=\"request new api key\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.12.12-1-1024x690.png 1024w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.12.12-1-300x202.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.12.12-1-768x518.png 768w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.12.12-1.png 1288w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insert the motivation and click on <em>&#8220;Request Api Key&#8221;<\/em><br>Eg.  <em>&#8220;I want to develop the Spoki integration within my management system so as to be able to embed a chat iframe in the detail of a contact.&#8221;<\/em><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.15.58-1024x318.png\" alt=\"request api key\" class=\"wp-image-898\" title=\"request api key\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.15.58-1024x318.png 1024w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.15.58-300x93.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.15.58-768x238.png 768w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.15.58.png 1285w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the generated Api Key. You will not be able to use the API until it is approved, you will receive an email regarding the outcome of the request within a maximum of 48h.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"469\" height=\"353\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.22.46.png\" alt=\"copy api key\" class=\"wp-image-901\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.22.46.png 469w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.22.46-300x226.png 300w\" sizes=\"(max-width: 469px) 100vw, 469px\" \/><\/figure>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" id=\"generate-the-private-token\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. Generate the Private Token<\/h3>\n\n\n\n<p>The Private Token is associated to a specific user of your account.<br>You can obtain a Private Token for:  <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Service User &#8211; <em>\n  <em>recommended<\/em>\n<\/em><\/li>\n\n\n\n<li>Your own user<\/li>\n\n\n\n<li>Asking other users to login and give it to you &#8211; <em>not recommended<\/em>, <em>use Service Users instead<\/em><\/li>\n<\/ul>\n\n\n\n<p>To obtain the Private Token follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <em>Users &amp; Roles \/ Add<\/em><\/li>\n\n\n\n<li>Select the role, select<em>&#8220;Service user<\/em>&#8221; as user type, insert the name, then click<em>&#8220;Add<\/em>&#8220;<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"599\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.34.34.png\" alt=\"add service user\" class=\"wp-image-902\" title=\"add service user\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.34.34.png 768w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.34.34-300x234.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the key icon on the right of the service user<\/li>\n\n\n\n<li>Click on<em>&#8220;Generate new Private Key<\/em>&#8220;<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"245\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.37.50.png\" alt=\"generate private key\" class=\"wp-image-903\" title=\"generate private key\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.37.50.png 795w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.37.50-300x92.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.37.50-768x237.png 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the email and the Private Key.<br><strong>IMPORTANT<\/strong>: Make sure to save it, you won&#8217;t be able to access it again. Keep the key protected, anyone who has it can act for you. If so, regenerate the key.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"315\" src=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.40.21-1.png\" alt=\"copy private key\" class=\"wp-image-905\" title=\"copy private key\" srcset=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.40.21-1.png 795w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.40.21-1-300x119.png 300w, https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-08-alle-14.40.21-1-768x304.png 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" id=\"embed-the-iframe\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. Embed the iframe<\/h3>\n\n\n\n<p class=\"has-black-color has-luminous-vivid-amber-background-color has-text-color has-background has-small-font-size\"><strong>ATTENTION<\/strong>: you will not be authorized to use this API until you have an <em>Approved API Key<\/em>!  <\/p>\n\n\n\n<p>Yes, I know you&#8217;ve been itching to do this&#8230;it&#8217;s time to code! \ud83d\udc68\u200d\ud83d\udcbb<\/p>\n\n\n\n<p>Here&#8217;s how it works:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In your HTML page insert an empty div for the Spoki embedding<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>    &lt;body&gt;\n      ...\n      &lt;div id=\"spoki-embedding\"&gt;&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Insert the css style in the head<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>      ...\n      &lt;style&gt;\n        #spoki-embedding iframe {\n          position: fixed;\n          bottom: 10px;\n          right: 10px;\n          height: 600px;\n          width: 450px;\n          border: 2px solid #cccccc;\n          border-radius: 8px;\n        }\n      &lt;\/style&gt;\n    &lt;\/head&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Before the end of the body insert this script that allows you to make the auth using the Api Key and Private Key, then it will insert the iframe inside the div. The user will be auto-logged in and will go to the page slug specified.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>      ...\n      &lt;script type=\"application\/javascript\"&gt;\n        \/\/ Init Spoki iFrame, you can open every Spoki page you need\n  function initSpokiIframe() {\n    const headers = new Headers();\n    headers.append(\"Content-Type\", \"application\/json\");\n    headers.append(\"X-Spoki-Api-Key\", \"<em><strong>{{Api-Key}}<\/strong><\/em>\");\n    const body = JSON.stringify({\n      email: \"<em><strong>{{Email}}<\/strong><\/em>\",\n      private_key: \"<em><strong>{{Private-Key}}<\/strong><\/em>\"\n    });\n    const requestOptions = {\n      method: \"POST\",\n      headers,\n      body,\n      redirect: \"follow\"\n    };\n    fetch(\"https:\/\/app.spoki.it\/api\/1\/auth\/get_authentication_token\/\", requestOptions)\n      .then(response =&gt; response.json())\n      .then(({ token, uid }) =&gt; {\n        \/\/ the slug of the Spoki page you want to open\n        const pageSlug = \"chats\";\n\n        const iframeParent = document.getElementById(\"spoki-embedding\");\n        const iframeEl = document.createElement(\"iframe\");\n        iframeEl.setAttribute(\"frameborder\", \"0\");\n        iframeEl.setAttribute(\"src\", `https:\/\/spoki.app\/${pageSlug}?auth_token=${token}&amp;auth_uid=${uid}&amp;language=en`);\n        iframeParent.appendChild(iframeEl);\n      })\n      .catch(error =&gt; console.log(\"Spoki error\", error));\n  }\n\n        \/\/ Call on startup\n        (initSpokiIframe)();\n      &lt;\/script&gt;\n    &lt;\/body&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can set as page slug all the Spoki routes you want, the most important are:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>Chat list:<em>&#8220;chats<\/em>&#8220;<\/li>\n\n\n\n<li>Chat detail:&#8221;<em>chats\/:uuid<\/em>&#8221; (you can get the <em> chat_link<\/em> using the <a href=\"https:\/\/documenter.getpostman.com\/view\/21611004\/UzBqnPvF#83340f76-58e1-4fa3-a7d3-ae639b786d25\" target=\"_blank\" rel=\"noreferrer noopener\"> Contacts Api).<\/a> <br>You can concatenate to the src url the query params as follow:<br>&#8211; &#8220;<em>&amp;can_view_chat_list=false<\/em>&#8221; =&gt; hide the back button to prevent the access to the chats page.<br>&#8211; &#8220;<em>&amp;can_reply_in_chat=false<\/em>&#8221; =&gt; hide chat footer to prevent the reply from the iFrame<br>&#8211; &#8220;<em>&amp;can_send_paypal_in_chat=false<\/em>&#8221; =&gt; hide the PayPal tab in the chat footer<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Templates: &#8220;templates<\/em>&#8220;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If you need to open the iFrame in a specific language you can pass as param to the src of the iFrame the <strong>\n  <em>language<\/em>\n<\/strong> parameter (supported values are <em>it, en, es<\/em>)<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Want to know more about the Get Authentication Token Api?  <a href=\"https:\/\/documenter.getpostman.com\/view\/21611004\/UzBqnPvF#bb7ac7d0-3dfe-4365-a6e3-94d59acb3332\" target=\"_blank\" rel=\"noreferrer noopener\">Check the Api Documentation<\/a><\/p>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" id=\"subscribe-to-iframe-events\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4. Subscribe to iFrame Events<\/h3>\n\n\n\n<p>With Spoki you can subscribe to the iFrame Events:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Unread chats changed (pageSlug: works on every page)<\/em>\n<ul class=\"wp-block-list\">\n<li>eventType: <em>hasUnreadChatsChanged<\/em><\/li>\n\n\n\n<li>data: <em>{ hasUnreadChats: boolean }<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><em>The list of chats in the Chats Page changed (pageSlug: chats)<\/em>\n<ul class=\"wp-block-list\">\n<li>eventType: <em>chatsChanged<\/em><\/li>\n\n\n\n<li>data: <em>{ chats: Chat[]; hasFilters: boolean; page: number }<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><em>The list of messages in the Chat Detail Page changed (pageSlug: chats\/:uuid)<\/em>\n<ul class=\"wp-block-list\">\n<li>data: { <em>chat: Chat; page: number; messages: Message[]<\/em> }<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n&lt;script type=\"application\/javascript\"&gt;\n  function initSpokiIframe() {\n    ...\n      .then(({ token, uid }) =&gt; {\n        \/\/ Call it if you need to subscribe to Spoki events\n        subscribeToSpoki();        \n        ...\n      })\n    ...\n  }\n\n  \/\/ Subscribe to the Spoki iFrame to get notified about events\n  function subscribeToSpoki() {\n    window.addEventListener(\"message\", (event) =&gt; {\n        if (event.origin !== \"https:\/\/spoki.app\") return;\n        const { eventType, data } = event.data;\n        switch (eventType) {\n          case \"hasUnreadChatsChanged\":\n            \/** Unread chats changed (pageSlug: works on every page)\n             * hasUnreadChats: boolean\n             *\/\n            console.log(\"Spoki\", eventType, data);\n            break;\n          case \"chatsChanged\":\n            \/** The list of chats in the Chats Page changed (pageSlug: chats)\n             * chats: Chat&#91;]\n             * hasFilters: boolean\n             * page: number\n             *\/\n            console.log(\"Spoki\", eventType, data);\n            break;\n          case \"chatMessagesChanged\":\n            \/** The list of messages in the Chat Detail Page changed (pageSlug: chats\/:uuid)\n             * chat: Chat\n             * page: number\n             * messages: Message&#91;]\n             *\/\n            console.log(\"Spoki\", eventType, data);\n            break;\n          default:\n            console.log(\"Spoki\", \"Unhandled message event type\", eventType, data);\n        }\n      },\n      false\n    );        \n      ...\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" id=\"obtain-the-api-key-approval-then-enjoy\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5. Obtain the Api Key Approval, then enjoy \ud83c\udf89  <\/h3>\n\n\n\n<p>Well done! Everything is ready to let your clients use Spoki from your own web software.<\/p>\n\n\n\n<p>You just have to wait for the Api Key approval.<\/p>\n\n\n\n<p>Thank you for your time.<br><br><strong>Enjoy Spoki \ud83c\udf89  <\/strong><\/p>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Download the Demo File<\/h3>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-65d82969-2dd6-4bdd-9592-51fb508b76b4\" href=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/04\/test_spoki_iframe.html\">test_spoki_iframe<\/a><a href=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/04\/test_spoki_iframe.html\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-65d82969-2dd6-4bdd-9592-51fb508b76b4\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Embed WhatsApp API into your own software via Spoki!<\/p>\n","protected":false},"author":5,"featured_media":1883,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[47],"doc_tag":[],"class_list":["post-2466","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-integrations"],"year_month":"2026-04","word_count":1082,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Cosimo Franco","author_nicename":"cosimo-francospoki-it","author_url":"https:\/\/support.spoki.com\/en\/author\/cosimo-francospoki-it\/"},"doc_category_info":[{"term_name":"Integrations","term_url":"https:\/\/support.spoki.com\/en\/docs-category\/integrations\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Embed Spoki on your Software - Supporto Spoki<\/title>\n<meta name=\"description\" content=\"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Embed Spoki on your Software - Supporto Spoki\" \/>\n<meta property=\"og:description\" content=\"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/\" \/>\n<meta property=\"og:site_name\" content=\"Supporto Spoki\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-30T14:38:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"773\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/\",\"url\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/\",\"name\":\"Embed Spoki on your Software - Supporto Spoki\",\"isPartOf\":{\"@id\":\"https:\/\/support.spoki.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png\",\"datePublished\":\"2023-02-08T14:57:27+00:00\",\"dateModified\":\"2025-09-30T14:38:59+00:00\",\"description\":\"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.\",\"breadcrumb\":{\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage\",\"url\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png\",\"contentUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png\",\"width\":750,\"height\":773,\"caption\":\"embed whatsapp in your software\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/support.spoki.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/support.spoki.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Embed Spoki on your Software\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/support.spoki.com\/#website\",\"url\":\"https:\/\/support.spoki.com\/\",\"name\":\"Supporto Spoki\",\"description\":\"Documentation for Spoki use\",\"publisher\":{\"@id\":\"https:\/\/support.spoki.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/support.spoki.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/support.spoki.com\/#organization\",\"name\":\"Supporto Spoki\",\"url\":\"https:\/\/support.spoki.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg\",\"contentUrl\":\"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg\",\"width\":2560,\"height\":761,\"caption\":\"Supporto Spoki\"},\"image\":{\"@id\":\"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/spokiapp\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Embed Spoki on your Software - Supporto Spoki","description":"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/","og_locale":"en_US","og_type":"article","og_title":"Embed Spoki on your Software - Supporto Spoki","og_description":"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.","og_url":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/","og_site_name":"Supporto Spoki","article_modified_time":"2025-09-30T14:38:59+00:00","og_image":[{"width":750,"height":773,"url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/","url":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/","name":"Embed Spoki on your Software - Supporto Spoki","isPartOf":{"@id":"https:\/\/support.spoki.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage"},"image":{"@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage"},"thumbnailUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png","datePublished":"2023-02-08T14:57:27+00:00","dateModified":"2025-09-30T14:38:59+00:00","description":"Embed WhatsApp API into your own software via Spoki iframe. Show the Chat with a specific customer, or list of chats, or request a template.","breadcrumb":{"@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#primaryimage","url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png","contentUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2023\/02\/iframe_preview.png","width":750,"height":773,"caption":"embed whatsapp in your software"},{"@type":"BreadcrumbList","@id":"https:\/\/support.spoki.com\/en\/docs\/integrations\/embed-spoki-on-your-software\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/support.spoki.com\/en\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/support.spoki.com\/docs\/"},{"@type":"ListItem","position":3,"name":"Embed Spoki on your Software"}]},{"@type":"WebSite","@id":"https:\/\/support.spoki.com\/#website","url":"https:\/\/support.spoki.com\/","name":"Supporto Spoki","description":"Documentation for Spoki use","publisher":{"@id":"https:\/\/support.spoki.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/support.spoki.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/support.spoki.com\/#organization","name":"Supporto Spoki","url":"https:\/\/support.spoki.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/","url":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg","contentUrl":"https:\/\/support.spoki.com\/wp-content\/uploads\/2022\/11\/Logo_Spoki-Primary_Black-01-scaled.jpg","width":2560,"height":761,"caption":"Supporto Spoki"},"image":{"@id":"https:\/\/support.spoki.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/spokiapp\/"]}]}},"_links":{"self":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/comments?post=2466"}],"version-history":[{"count":3,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2466\/revisions"}],"predecessor-version":[{"id":8643,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/docs\/2466\/revisions\/8643"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/media\/1883"}],"wp:attachment":[{"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/media?parent=2466"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_category?post=2466"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.spoki.com\/en\/wp-json\/wp\/v2\/doc_tag?post=2466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}