From 35b9b71a10c7d5a50cf51e7b52012a1610e63bdc Mon Sep 17 00:00:00 2001
From: Samantha Halfon Faw <samantha.halfon@gmail.com>
Date: Tue, 30 Apr 2019 21:36:56 +0200
Subject: [PATCH 1/9] adding a page about interactive forms

---
 jssdk-interactiveforms.html | 72 +++++++++++++++++++++++++++++++++++++
 sidebar.html                |  5 ++-
 2 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 jssdk-interactiveforms.html

diff --git a/jssdk-interactiveforms.html b/jssdk-interactiveforms.html
new file mode 100644
index 0000000..ec0827a
--- /dev/null
+++ b/jssdk-interactiveforms.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
+    <meta name="description" content="Circuit API Examples">
+    <meta name="author" content="Roger Urscheler">
+    <link rel="shortcut icon" type="image/png" href="images/ios-logo.png"/>
+    <title>Circuit API Examples</title>
+    <link href="css/bootstrap.min.css" rel="stylesheet">
+    <link href="css/style.css" rel="stylesheet">
+    <script>
+        if (window.location.host == 'circuit.github.io' && window.location.protocol != 'https:') {
+          window.location.protocol = 'https:';
+        }
+    </script>
+</head>
+<body>
+
+    <div id="wrapper">
+
+        <!-- Sidebar -->
+        <div id="sidebar-wrapper"></div>
+
+        <!-- Page Content -->
+        <div id="page-content-wrapper">
+            <div class="container-fluid">
+
+                <div class="row">
+                    <div class="col-lg-12">
+                        <h1>Interactive Forms</h1>
+                        <p style="font-size: 1.2em">
+                            Using the JS SDK, iOS SDK or Rest API, you can add interactive forms to a Circuit conversation.<br>
+                            With forms, you can add buttons or radio and input fields to your messages. <br>
+                            <br>
+                            <img src="https://raw.githubusercontent.com/circuit/circuit-sdk/master/docs/wiki-images/forms1.png" alt="Interactive Form Example" style="max-width: 600px">
+                            <br><br>
+                            Whether you are developing a bot or an app, you can display the form to the conversation and collect the answers from one or several participants.<br>
+                            You can then decide to update the message based on the user's feedback.<br>
+                        </p>
+                        <p>
+                                <a href="https://github.com/circuit/circuit-sdk/wiki/Forms">The documentation on interactive forms can be found on github.</a>
+                        </p>
+                    </div>
+                </div>
+
+            </div>
+        </div>
+
+    </div>
+    <!-- /#wrapper -->
+
+    <script src="js/jquery.js"></script>
+    <script src="js/bootstrap.min.js"></script>
+    <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
+    <script>
+    $(function(){
+      $("#sidebar-wrapper").load("/sidebar.html");
+    });
+    </script>
+    <script>
+      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+      ga('create', 'UA-67318539-2', 'auto');
+      ga('send', 'pageview');
+    </script>
+</body>
+
+</html>
diff --git a/sidebar.html b/sidebar.html
index 1eeefae..865e015 100644
--- a/sidebar.html
+++ b/sidebar.html
@@ -20,6 +20,9 @@ <h2>Start</h2>
 
 <h2>Build</h2>
 <ul class="sidebar-nav">
+    <li>
+        <a href="/rest.html">REST API</a>
+    </li>
     <li>
         <a href="/jssdk.html">JavaScript SDK</a>
     </li>
@@ -27,7 +30,7 @@ <h2>Build</h2>
         <a href="/nodejs.html">Node.js SDK</a>
     </li>
     <li>
-        <a href="/rest.html">REST API</a>
+        <a href="/jssdk-interactiveforms.html">Interactive Forms</a>
     </li>
     <li>
         <a href="/webcomponents.html">Web Components</a>

From e360df32f3f14e1779c3f036bf113d702a5a3877 Mon Sep 17 00:00:00 2001
From: Christian Garbin <christian.garbin@atos.net>
Date: Fri, 31 May 2019 16:19:44 -0400
Subject: [PATCH 2/9] Fix description text for favorite search and whiteboard

---
 jssdk.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jssdk.html b/jssdk.html
index 691fd36..43e92ff 100755
--- a/jssdk.html
+++ b/jssdk.html
@@ -137,7 +137,7 @@ <h3>JS Bin examples</h3>
                                 </tr>
                                 <tr>
                                     <td><a href="https://output.jsbin.com/xoluxuh" target="_blank">Search a favorited user using fuzzy search</a></td>
-                                    <td>Starts direct call and allows enabling the whiteboard. Use whiteboard background image and allow drawing SVG shapes.</td>
+                                    <td>Search a user by its name using fuse.js for fuzzy search.</td>
                                 </tr>
                                 <tr>
                                     <td><a href="https://output.jsbin.com/pequyo" target="_blank">Get Favorites</a></td>
@@ -197,7 +197,7 @@ <h3>JS Bin examples</h3>
                                 </tr>
                                 <tr>
                                     <td><a href="https://output.jsbin.com/jeguyah" target="_blank">Whiteboard</a></td>
-                                    <td>Search a user by its name using fuse.js for fuzzy search.</td>
+                                    <td>Starts direct call and allows enabling the whiteboard. Use whiteboard background image and allow drawing SVG shapes.</td>
                                 </tr>
                                 <tr>
                                     <td><a href="https://output.jsbin.com/pugirov" target="_blank">Custom OAuth 2.0 redirect_uri</a></td>

From b437845c8b7491f171e43c9c294b3db1f5a30630 Mon Sep 17 00:00:00 2001
From: Fazzio <richard.fazzio@unify.com>
Date: Wed, 17 Jul 2019 13:19:56 -0400
Subject: [PATCH 3/9] Add jsbin example for call forwarding API.

---
 jssdk.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/jssdk.html b/jssdk.html
index 43e92ff..d18d60d 100755
--- a/jssdk.html
+++ b/jssdk.html
@@ -203,6 +203,10 @@ <h3>JS Bin examples</h3>
                                     <td><a href="https://output.jsbin.com/pugirov" target="_blank">Custom OAuth 2.0 redirect_uri</a></td>
                                     <td>Define a custom OAuth 2.0 redirect_uri for faster OAuth redirect. This will allow the OAuth popup to only load that redirect_uri page, and not the whole SDK.</td>
                                 </tr>
+                                <tr>
+                                    <td><a href="https://output.jsbin.com/zufovuf" target="_blank">Call Forwarding</a></td>
+                                    <td>Set and unset call forwarding on Circuit using the JS SDK.</td>
+                                </tr>
                             </tbody>
                         </table>
                     </div>

From fd37cad971dc0349f3c45140914209bef5eb0d91 Mon Sep 17 00:00:00 2001
From: Samantha Halfon Faw <samantha.halfon@gmail.com>
Date: Sun, 1 Sep 2019 23:27:53 +0200
Subject: [PATCH 4/9] incoming webhooks documentation

---
 images/incoming-webhook-example.png | Bin 0 -> 149035 bytes
 sidebar.html                        |   3 +
 webhooks.html                       | 184 ++++++++++++++++++++++++++++
 3 files changed, 187 insertions(+)
 create mode 100644 images/incoming-webhook-example.png
 create mode 100644 webhooks.html

diff --git a/images/incoming-webhook-example.png b/images/incoming-webhook-example.png
new file mode 100644
index 0000000000000000000000000000000000000000..b40f71eaeca87fa3a743cbbae15e2840f43e3023
GIT binary patch
diff --git a/sidebar.html b/sidebar.html
index 865e015..6a1b681 100644
--- a/sidebar.html
+++ b/sidebar.html
@@ -35,6 +35,9 @@ <h2>Build</h2>
     <li>
         <a href="/webcomponents.html">Web Components</a>
     </li>
+    <li>
+        <a href="/webhooks.html">Webhooks</a>
+    </li>
     <li>
         <a href="/ios.html">iOS SDK</a>
     </li>
diff --git a/webhooks.html b/webhooks.html
new file mode 100644
index 0000000..d3a3d1d
--- /dev/null
+++ b/webhooks.html
@@ -0,0 +1,184 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, shrink-to-fit=no, initial-scale=1">
+    <meta name="description" content="Circuit API Examples">
+    <meta name="author" content="Roger Urscheler">
+    <link rel="shortcut icon" type="image/png" href="images/wc.img" />
+    <title>Circuit API Examples</title>
+    <link href="css/bootstrap.min.css" rel="stylesheet">
+    <link href="css/style.css" rel="stylesheet">
+    <script>
+        if (window.location.host == 'circuit.github.io' && window.location.protocol != 'https:') {
+            window.location.protocol = 'https:';
+        }
+    </script>
+    <style>
+        xmp {
+            margin: -32px 0px;
+        }
+    </style>
+</head>
+
+<body>
+
+    <div id="wrapper">
+
+        <!-- Sidebar -->
+        <div id="sidebar-wrapper"></div>
+
+        <!-- Page Content -->
+        <div id="page-content-wrapper">
+            <div class="container-fluid">
+                <div class="row">
+                    <div class="col-lg-12">
+                        <h1>Circuit Webhooks</h1>
+                        <p>Circuit Incoming Webhooks enable you to easily post content to a given Circuit conversation.</p>
+                        <p>
+                            A webhook is a specific unique URL generated by Circuit for a given user (or bot user) to post to a given conversation. <br>
+                            <br>
+                            In effect, the URL encapsulates the ID of the conversation, the ID of the user posting and the ID of the webhook itself. Posting to this URL does not require authentication. As a result, the URL is meant to keep secret. If it was to shared or revealed, other users could publish on behalf of the webhook owner. In case the URL may have been comprimised, it can be re-generated. <br>
+                            <br>                                
+                            This design is one of the strength of webhooks as they enable simple (friction less) integrations between applications
+                        </p>
+
+                        <p>
+                            <strong>Pre-requisites</strong> <br>
+                            Incoming Webhooks are available to all users if the Circuit tenant admin enabled the feature for the tenant in the Circuit administration console.
+                        </p>
+
+                        <p>
+                            <strong>Creating a webhook</strong> <br>
+                            <ol>
+                                <li>Open the sidebar and click on add an app or the + button</li>
+                                <li>Name your incoming webhook and click on Create</li>
+                                <li>>You will get the incoming webhook URL, copy it to clipboard</li>
+                                <li>You can post to Circuit using this URL <br> <code>curl --insecure -X POST https://yourcircuit.com/rest/v2/webhooks/incoming/1234392e25a0c-c88f-4eab-a27e-f88ccd657d17   -d '{"text": "*bold* `code` _italic_ ~strike~"}'</code></li>
+                            </ol>
+                        </p>
+
+                        <p>
+                            <strong>Example</strong> <br>
+                            <code>circuit-call-me-button</code> <br>
+                            In this example, a page presents a form where users can enter their name and contact details. Upon submitting, a message is posted to a Circuit conversation so that Circuit participants can see incoming requests and get back to end users. <br>
+                            <br>
+                            <img src="/images/incoming-webhook-example.png" alt="" width="300px;">
+                            <br>  
+                        </p>
+                        <pre class="prettyprint">
+                            <xmp>
+                                <html lang="en">
+                                    <head>
+                                        <meta charset="UTF-8">
+                                        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+                                        <meta http-equiv="X-UA-Compatible" content="ie=edge">
+                                        <title>Circuit - Incoming Webhooks</title>
+                                        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
+                                        <style>
+                                            body {
+                                                background: #f7f7f7;
+                                            }
+                                    
+                                            .form-box {
+                                                max-width: 500px;
+                                                margin: auto;
+                                                padding: 50px;
+                                                background: #ffffff;
+                                                border: 10px solid #f2f2f2;
+                                            }
+                                    
+                                            .logo {
+                                                text-align: center;
+                                                max-width: 40%;
+                                                display: block;
+                                                margin: 0 auto 20px auto;
+                                            }
+                                    
+                                            h1, p {
+                                                text-align: center;
+                                            }
+                                    
+                                            input, textarea {
+                                                width: 100%;
+                                            }
+                                    
+                                            input[type=submit] {
+                                                background-color: #82bd3f !important; 
+                                                border: solid 1px #82bd3f !important;
+                                            }
+                                        </style>
+                                    </head>
+                                    <body>
+                                        <div class="form-box">
+                                            <img src="https://d3bql97l1ytoxn.cloudfront.net/app_resources/194960/myAppIcon/img6311084438843840511-2x.png" alt="Circuit Logo" class="logo">
+                                            <h1>Let Us Call You Back</h1>
+                                            <p>
+                                                We'd hate to make you wait.<br>
+                                                Leave us your name and phone number and we will call you right back.
+                                            </p>
+                                            <form id="callbackForm" action="" method="post">
+                                                <label for="name">Name</label>
+                                                <input id="name" type="text" name="Name">
+                                                
+                                                <label for="phone">Phone</label>
+                                                <input id="phone" type="tel" name="Phone">
+                                                
+                                                <label for="message">Message</label>
+                                                <textarea id="message" name="Message"></textarea>
+                                                <input class="button-primary" type="submit" value="Submit" />
+                                            </form>
+                                            </div>
+                                    
+                                            <script>
+                                            var webhookUrl = 'https://beta.circuit.com/rest/v2/webhooks/incoming/d6b78c30-3f6c-4f2e-b0f5-a704e7f5e7c7';
+                                            document.querySelector("#callbackForm").addEventListener("submit", function(e) {
+                                                e.preventDefault();
+                                                var xhr = new XMLHttpRequest();
+                                                xhr.open("POST", webhookUrl, true);
+                                                xhr.setRequestHeader('Content-Type', 'application/json');
+                                                xhr.send(JSON.stringify({
+                                                    text: "New callback request <br>Name : " + document.getElementById('name').value + "<br>Phone Number : " + document.getElementById('phone').value + " <br>Message : " + document.getElementById('message').value
+                                                }));
+                                            });
+                                        </script>
+                                    </body>
+                                </html>          
+                            </xmp>
+                        </pre>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+    <!-- /#wrapper -->
+
+    <script src="js/jquery.js"></script>
+    <script src="js/bootstrap.min.js"></script>
+    <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
+
+    <script>
+        $(function () {
+            $("#sidebar-wrapper").load("/sidebar.html");
+        });
+    </script>
+
+    <script>
+        (function (i, s, o, g, r, a, m) {
+            i['GoogleAnalyticsObject'] = r;
+            i[r] = i[r] || function () {
+                (i[r].q = i[r].q || []).push(arguments)
+            }, i[r].l = 1 * new Date();
+            a = s.createElement(o),
+            m = s.getElementsByTagName(o)[0];
+            a.async = 1;
+            a.src = g;
+            m.parentNode.insertBefore(a, m)
+        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
+        ga('create', 'UA-67318539-2', 'auto');
+        ga('send', 'pageview');
+    </script>
+</body>
+</html>
\ No newline at end of file

From cf814928e5c1eaa087802c766294369ab837f4fa Mon Sep 17 00:00:00 2001
From: Samantha Halfon Faw <samantha.halfon@gmail.com>
Date: Thu, 5 Sep 2019 13:39:34 +0200
Subject: [PATCH 5/9] updating documentation to remove any mention of markdown
 formatting

---
 webhooks.html | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/webhooks.html b/webhooks.html
index d3a3d1d..8a0fb54 100644
--- a/webhooks.html
+++ b/webhooks.html
@@ -56,10 +56,34 @@ <h1>Circuit Webhooks</h1>
                                 <li>Open the sidebar and click on add an app or the + button</li>
                                 <li>Name your incoming webhook and click on Create</li>
                                 <li>>You will get the incoming webhook URL, copy it to clipboard</li>
-                                <li>You can post to Circuit using this URL <br> <code>curl --insecure -X POST https://yourcircuit.com/rest/v2/webhooks/incoming/1234392e25a0c-c88f-4eab-a27e-f88ccd657d17   -d '{"text": "*bold* `code` _italic_ ~strike~"}'</code></li>
+                                <li>You can post to Circuit using this URL <br> <code>curl --insecure -X POST https://yourcircuit.com/rest/v2/webhooks/incoming/1234392e25a0c-c88f-4eab-a27e-f88ccd657d17   -d '{"text": "This is the content of my post"}'</code></li>
                             </ol>
                         </p>
 
+                        <p>
+                            <strong>Formatting</strong>
+                            <code>
+                                <xmp>
+    json
+    {
+        "text": "<b>bold</b> <i>italic</i>"
+    }
+                                </xmp>
+                            </code>
+                            <br>
+                            Circuit supports bold, italic and highlited texts. It supports line breaks and ordered and lists with bullet points and numbered items. See the code below for examples : 
+                            <code>
+                                <xmp>
+
+    json
+    {
+        "text" : "Circuit supports <span class='rich-text-highlight'>highlighted text</span> and <br> line breaks. 
+                    It also supports bullet lists and numbered lists with <ul><li>item1</li><li>item2</li></ul> and ><ol><li>item1</li><li>item2</li></ol>."
+    }
+                            </xmp>
+                            </code>
+                        </p>
+
                         <p>
                             <strong>Example</strong> <br>
                             <code>circuit-call-me-button</code> <br>

From 0cf8f8eaaca24390c3076c32887ca5ecef2de72d Mon Sep 17 00:00:00 2001
From: Roger Urscheler <roger.urscheler@unify.com>
Date: Mon, 4 Nov 2019 10:18:53 -0500
Subject: [PATCH 6/9] Add new oauth properties 'login_hint' and 'prompt' for
 implicit and authorization code

---
 oauth.html | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/oauth.html b/oauth.html
index 868ed8e..3109ae5 100644
--- a/oauth.html
+++ b/oauth.html
@@ -116,6 +116,22 @@ <h5>Step 1: Application Requests Authorization Code</h5>
                                 <td>Any string</td>
                                 <td>Provides any state that might be useful to your application upon receipt of the response. The Circuit Server roundtrips this parameter, so your application receives the same value it sent. To mitigate against cross-site request forgery (CSRF), it is strongly recommended to include an anti-forgery token in the state, and confirm it in the response. This parameter is not required but strongly recommended for above mentioned security reasons.</td>
                             </tr>
+                            <tr>
+                                <td><code>login_hint</code></td>
+                                <td>email</td>
+                                <td>Optional. If your application knows which user is trying to authenticate, it can use this parameter to provide a hint to the Circuit Authentication Server. The server uses the hint to simplify the login flow by prefilling the email field in the sign-in form.</td>
+                            </tr>
+                            <tr>
+                                <td><code>prompt</code></td>
+                                <td>comma delimited string</td>
+                                <td>Optional. A comma-delimited (no spaces), case-sensitive list of options for the oauth window.
+                                    <ul>
+                                        <li><code>disable_email</code>: Disable email field (only applicable if login_hint is provided)</li>
+                                        <li><code>disable_switch</code>: Disable ability to switch the account from to Oauth popup</li>
+                                        <li><code>disable_caching</code>: Hide the "private computer" checkbox.</li>
+                                    </ul>
+                                </td>
+                            </tr>
                         </tbody>
                     </table>
 
@@ -270,6 +286,22 @@ <h5>Step 1: Application Requests Authorization Code</h5>
                                 <td>Any string</td>
                                 <td>Provides any state that might be useful to your application upon receipt of the response. The Circuit Server roundtrips this parameter, so your application receives the same value it sent. To mitigate against cross-site request forgery (CSRF), it is strongly recommended to include an anti-forgery token in the state, and confirm it in the response.</td>
                             </tr>
+                            <tr>
+                                <td><code>login_hint</code></td>
+                                <td>email</td>
+                                <td>Optional. If your application knows which user is trying to authenticate, it can use this parameter to provide a hint to the Circuit Authentication Server. The server uses the hint to simplify the login flow by prefilling the email field in the sign-in form.</td>
+                            </tr>
+                            <tr>
+                                <td><code>prompt</code></td>
+                                <td>comma delimited string</td>
+                                <td>Optional. A comma-delimited (no spaces), case-sensitive list of options for the oauth window.
+                                    <ul>
+                                        <li><code>disable_email</code>: Disable email field (only applicable if login_hint is provided)</li>
+                                        <li><code>disable_switch</code>: Disable ability to switch the account from to Oauth popup</li>
+                                        <li><code>disable_caching</code>: Hide the "private computer" checkbox.</li>
+                                    </ul>
+                                </td>
+                            </tr>
                         </tbody>
                     </table>
 

From 13e21589dd6958ecaf178a3b5e32c584a81e61bc Mon Sep 17 00:00:00 2001
From: Roger Urscheler <rurscheler@gmail.com>
Date: Wed, 27 Nov 2019 11:13:53 -0500
Subject: [PATCH 7/9] Update index.html

---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 7c152e8..c678c7d 100755
--- a/index.html
+++ b/index.html
@@ -134,7 +134,7 @@ <h5>node.js JavaScript library</h5>
                                 <div class="caption">
                                     <h3>REST API</h3>
                                     <h5>RESTful API</h5>
-                                    <p>Best suited for bots or server-side web application. No WebRTC support. Webhooks for events coming soon.</p>
+                                    <p>Best suited for bots or server-side web application. No WebRTC support.</p>
                                 </div>
                             </div>
                         </a>

From 12f23f75131464abf1e4b6c040bb370b9748e3b5 Mon Sep 17 00:00:00 2001
From: Roger Urscheler <rurscheler@gmail.com>
Date: Mon, 13 Jul 2020 09:28:10 -0400
Subject: [PATCH 8/9] Update jssdk.html

---
 jssdk.html | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/jssdk.html b/jssdk.html
index d18d60d..9ecc2cd 100755
--- a/jssdk.html
+++ b/jssdk.html
@@ -96,6 +96,28 @@ <h3>Plunker examples</h3>
                         </table>
                     </div>
                 </div>
+              
+                <div class="row" id="plunker">
+                    <div class="col-lg-12">
+                        <h3>Stackblitz examples</h3>
+                        <p>Short examples demonstrating one or more particular APIs. You can view the source, or fork your own stackblitz. A sandbox account is required to run the live examples.</p>
+
+                        <table class="table table-condensed">
+                            <thead>
+                                <tr>
+                                    <th>Live Example</th>
+                                    <th>Description</th>
+                                </tr>
+                            </thead>
+                            <tbody>
+                                <tr>
+                                    <td><a href="https://circuitsdk-conversation-export.stackblitz.io/" target="_blank">Export conversations to file</a></td>
+                                    <td>vuejs app to export all conversation messages to a file.</td>
+                                </tr>
+                            </tbody>
+                        </table>
+                    </div>
+                </div>
 
 
                 <div class="row">

From 4c7871649c67492abae80e6e48b8d143f703833c Mon Sep 17 00:00:00 2001
From: Falk <Falkw1@gmx.de>
Date: Mon, 14 Dec 2020 11:44:08 +0100
Subject: [PATCH 9/9] Update jssdk.html

As the sdk-documentation is currently not available on sandbox please update the link to https://eu.yourcircuit.com/sdk
---
 jssdk.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jssdk.html b/jssdk.html
index 9ecc2cd..0d95cdd 100755
--- a/jssdk.html
+++ b/jssdk.html
@@ -31,7 +31,7 @@
                     <div class="col-lg-12">
                         <h1>JavaScript SDK</h1>
                         <p>When running the examples you will be asked to sign in with a Circuit sandbox account.</p>
-                        <a href="https://circuitsandbox.net/sdk" target="_blank" class="btn btn-default">API Documentation</a>
+                        <a href="https://eu.yourcircuit.com/sdk" target="_blank" class="btn btn-default">API Documentation</a>
                         <a href="https://github.com/circuit/circuit-sdk" target="_blank" class="btn btn-default">GitHub</a><br><br>
                         <p>Example to logon and fetch conversations:</p>
                         <pre class="prettyprint">
