|
{ "status": "error", "message": "Database error occurred." }</code></pre></div></div></div><div class="card border shadow mb-5 rounded-4 overflow-hidden"><div class="card-header border-bottom bg-light p-4"><div class="d-flex align-items-center gap-2 mb-3"><span class="bg-success text-white px-3 py-1 rounded-pill fw-bold">GET</span><code class="fs-5 text-dark">/vm</code></div><h3 class="fs-4 fw-bold text-primary mb-0">Access Workspace VM Interface</h3></div><div class="card-body p-4"><p class="mb-3">Provides client-side access to the virtual machine interface for a specific workspace. This endpoint is intended to be used in the user's browser (e.g., by redirecting the user or embedding within an iframe) after obtaining a workspace ID from the <code class="small">/v7/workspace/create</code> endpoint.<br/>Note that the base URL for this client-side endpoint differs from the server-side API base URL. If you are using the standard <code class="small">api.browser.lol</code> domain for server-side calls, use <code class="small">https://browser.lol/vm</code> for this endpoint. If you have a custom API domain (e.g., <code class="small">api.your-company.com</code>), use that same custom domain for this endpoint (e.g., <code class="small">https://api.your-company.com/vm</code>).</p><p class="mb-3 fw-semibold text-warning">Note: This endpoint is designed for client-side access and does <strong class="text-decoration-underline">not</strong> use the <code class="small">Authorization: Bearer YOUR_API_KEY</code> header. Access is granted based on the validity of the workspace ID.</p><h4 class="fw-semibold text-dark mb-2">Query Parameters</h4><ul class="ps-4 mb-4 small"><li class="mb-1"><code class="small">id</code> (String): The unique identifier of the workspace (VM) to access. This is the <code class="small">workspaceName</code> returned by the <code class="small">/v7/workspace/create</code> endpoint. <span class="text-danger">(Required)</span></li><li class="mb-1"><code class="small">redirectUrl</code> (String): A URL to redirect the user to when they click the "Exit" or "Close" button within the VM interface. (Optional)</li><li class="mb-1"><code class="small">logo</code> (String): A URL pointing to a publicly accessible JPG or PNG image. This logo will be displayed on the loading screen while the workspace is preparing. (Optional)</li></ul><p class="mb-2 fw-semibold">Example URLs:</p><ul class="ps-4 mb-4 small"><li class="mb-1">Standard Domain: <code class="bg-light px-2 py-1 rounded">https://browser.lol/vm?id=...&redirectUrl=...&logo=...</code></li><li class="mb-1">Custom Domain: <code class="bg-light px-2 py-1 rounded">https://api.your-company.com/vm?id=...&redirectUrl=...&logo=...</code></li></ul><h4 class="fw-semibold text-dark mb-2">Response (200 OK)</h4><p class="mb-3">This endpoint always returns an HTTP status code of <code class="small">200 OK</code>. The response body will be an HTML page containing either:</p><ul class="ps-4 mb-4"><li>The interactive interface for the requested virtual machine.</li><li>An error message indicating why the workspace could not be accessed (e.g., invalid ID, expired session).</li></ul><p class="mb-4">The response body is always HTML, not JSON.</p><h4 class="fw-semibold text-dark mb-2 mt-4">Error Handling</h4><p class="mb-3">If the workspace ID is invalid, expired, cannot be found, or if there is any other issue preventing access, the endpoint still returns a <code class="small">200 OK</code> status code. The error condition will be described within the HTML content of the response page. There are no separate HTTP error status codes (like 404 or 403) used for this endpoint.</p><p class="mb-0">Check the content of the returned HTML page to determine if access was successful or if an error occurred.</p></div></div></div><div class="col-lg-3 position-relative"><div class="ms-xl-5 ms-lg-4 ps-xxl-4" style="top:105px !important"><span class="d-block mb-3">20 min read</span><h6>Share this post:</h6><div class="mb-4 pb-lg-3"><a href="https://www.linkedin.com/shareArticle?url=https://browser.lol/blog/api-docs" target="_blank" class="btn btn-icon btn-secondary btn-linkedin me-2 mb-2" aria-label="LinkedIn"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 448 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg></a><a href="https://www.facebook.com/sharer/sharer.php?u=https://browser.lol/blog/api-docs" target="_blank" class="btn btn-icon btn-secondary btn-facebook me-2 mb-2" aria-label="Facebook"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 320 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg></a><a href="https://x.com/share?url=https://browser.lol/blog/api-docs" target="_blank" class="btn btn-icon btn-secondary btn-twitter me-2 mb-2" aria-label="Twitter"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg></a><a href="https://reddit.com/submit?url=https://browser.lol/blog/api-docs" target="_blank" class="btn btn-icon btn-secondary btn-reddit me-2 mb-2" aria-label="Reddit"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"></path></svg></a></div></div></div></div></section><div class="jarallax mb-lg-5 mb-4" data-jarallax="true" data-speed="0.35" style="height:1.45vw;min-height:30px"><div class="jarallax-img" style="background-image:url(../img/blog.png)"></div></div><section class="container mt-5 pt-lg-2 pb-4"><div class="d-flex flex-sm-row flex-column align-items-center justify-content-between mb-4 pb-1 pb-md-3"><h2 class="h1 mb-sm-0">Latest Blogposts</h2><a class="btn btn-lg btn-outline-primary ms-4" href="../blog.html"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16" class="fs-xl" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M7 1.414V2H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5v1H2.5a1 1 0 0 0-.8.4L.725 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4H7v5h2v-5h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H9V6h4.5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.3 2.4a1 1 0 0 0-.8-.4H9v-.586a1 1 0 0 0-2 0M13.5 3l.75 1-.75 1H2V3zm.5 5v2H2.5l-.75-1 .75-1z"></path></svg> All posts</a></div><div class="swiper swiper-nav-onhover mx-n2 swiper-initialized swiper-horizontal swiper-pointer-events swiper-backface-hidden"><div><div class="row" style="max-width:100vw"><div class="h-auto py-3 col-md-4"><article class="card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5"><div class="card-body pb-0"><div class="d-flex align-items-center justify-content-between mb-3"><a href="#" class="badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2">Security</a><span class="fs-sm text-muted">02.12.2022</span></div><h3 class="h4"><a href="virtual-browsers-for-web-development.html" class="stretched-link">The Use of Virtual Browsers for Web Development</a></h3><p class="mb-0">Virtual browsers are becoming an increasingly popular tool for web developers, and it's not hard to see why. By providing a safe, sandboxed environment for testing and development, virtual browsers offer many benefits over traditional web browsers. In this blog post, we will explore what virtual browsers are and why they are becoming a must-have tool for web developers.</p></div></article></div><div class="h-auto py-3 col-md-4"><article class="card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5"><div class="card-body pb-0"><div class="d-flex align-items-center justify-content-between mb-3"><a href="#" class="badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2">Security</a><span class="fs-sm text-muted">02.03.2022</span></div><h3 class="h4"><a href="impartance-of-privacy-and-security.html" class="stretched-link">The Importance of Privacy and Security in Browsing</a></h3><p class="mb-0">In today's digital age, it is crucial to understand the importance of privacy and security in browsing. With the increasing amount of personal information shared and stored online, it is becoming increasingly important to be aware of the potential dangers and to take steps to protect oneself.</p></div></article></div><div class="h-auto py-3 col-md-4"><article class="card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5"><div class="card-body pb-0"><div class="d-flex align-items-center justify-content-between mb-3"><a href="#" class="badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2">Security</a><span class="fs-sm text-muted">20.12.2021</span></div><h3 class="h4"><a href="5-reasons-for-virtual-browser.html" class="stretched-link">5 Reasons to use Virtual Browser</a></h3><p class="mb-0">To learn what exactly a virtual browser is, you’ve came to the correct place. In this Post, we exactly explain what a virtual Browser is and how it works. Simply put, it's a browser that runs on our server and can be viewed remotely in any regular browser. This brings many advantages. Some of them are listed below.</p></div></article></div></div></div></div></section><section class="container py-4" hidden=""><div class="bg-secondary rounded-3 py-3 px-3 px-sm-4 px-lg-5 px-xl-0"><div class="row align-items-center py-lg-2 m-0"><div class="col-xl-7 col-md-8 offset-xl-1 mb-4 mb-md-0"><div class="d-flex align-items-center flex-wrap flex-sm-nowrap"><img class="mx-sm-0 mx-auto my-2" src="../img/notification.svg" width="110" alt="Bell icon"/><div class="ps-4 ms-sm-3"><h2 class="h4 mb-0 mt-3">Do you like it here? Register now!</h2><p>Beyond just accessing more robust features, registration means you're always in the loop for any updates or new tools we roll out. Plus, you'll get the inside track on special offers and exclusive discounts. </p></div></div></div><div class="col-xl-4 col-md-3"><div class="ps-lg-5 ms-xl-2 text-center"><a class="btn btn-outline-primary fs-3 mb-3 px-sm-4 mx-auto" href="../auth/register.html"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" style="width:40px;max-width:40px" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z"></path></svg> Register</a></div></div></div></div></section><hr/><div class="footer pt-2 pb-1 mt-2 mt-md-0 "><div class="container pt-lg-4"><div class="row "><div class="col-lg-4 col-md-6"><div class="navbar-brand text-dark p-0 me-0 mb-2 mb-lg-2 "><img src="../img/logo.svg" width="170" height="300" alt="Browser.lol"/></div><p class="fs-sm pb-lg-3 mb-4">Unleash unrestricted browsing with our virtual browser. No installation or setup required. Access it from your browser, visit blocked sites safely, and stay virus-free.</p></div><div class="col-xl-6 col-lg-7 col-md-5 offset-md-1 pt-md-1 pt-lg-0"><div id="footer-links" class="row"><div class="col-xl-4 col-lg-3"><div id="social-links" class=" d-block"><ul class="nav flex-column mb-2 mb-lg-0"><li class="nav-item "><a class="nav-link d-inline-block footer_navNoPadding__W_tC0 mb-2 mb-md-0" href="../imprint.html">Imprint</a></li><li class="nav-item "><a class="nav-link d-inline-block footer_navNoPadding__W_tC0 mb-2 mb-md-0" href="../privacy.html">Privacy Policy</a></li><li class="nav-item"><a class="nav-link d-inline-block footer_navNoPadding__W_tC0 mb-2 mb-md-0" href="../terms.html">Terms of Service</a></li><li class="nav-item"><a class="nav-link d-inline-block footer_navNoPadding__W_tC0 mb-2 mb-md-0" href="../partner.html">Partner</a></li><li class="nav-item"><a class="nav-link d-inline-block footer_navNoPadding__W_tC0 mb-5 mb-md-0" href="https://status.browser.lol/">Status</a></li></ul></div></div><div class="col-lg-4 pr-3"><div id="useful-links" class=" d-lg-block" data-bs-parent="#footer-links"><div class=" card card-bordered card-hover "><p style="margin-bottom:5px;margin-top:15px"><a href="http://www.playwire.com/" rel="noopener" target="_blank"><img src="../../www.playwire.com/hubfs/Powered-by-Playwire-Badges/Ads-Powered-by-playwire-2021-standalone-large-300px.png" alt="Playwire" width="160" loading="lazy" style="width:160px;margin-left:auto;margin-right:auto;display:block"/></a></p><p style="text-align:center;margin-bottom:12px"><a href="https://www.playwire.com/contact-direct-sales" rel="noopener" style="text-decoration:none;color:black">Advertise on this site.</a></p></div></div></div><a href="https://zap-hosting.com/en/" class="fw-medium text-center text-decoration-none col-xl-4 col-lg-5 pt-2 pt-lg-0 text-center pb-2" alt="Zap Hosting"><div class=" card card-bordered card-hover "><b class="mb-2 mt-2 text-dark">Servers hosted by</b><img src="../img/zap-hosting.png" width="70" height="auto" class="m-2 mx-auto mt-0" alt="Zap Hosting"/></div></a></div></div><p class="nav d-block fs-xs text-center text-md-start pb-xl-4 mt-0 mb-4 pb-lg-0 mb-0 pl-0">© 2025 All rights reserved. <a class="nav-link d-inline-block p-0" href="https://zesiger.net/" target="_blank" rel="noopener">Zesiger.net</a></p></div></div></div><a href="#top" class="btn-scroll-top" data-scroll="true"><span class="btn-scroll-top-tooltip text-muted fs-sm me-2">Go back to the top</span><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 24 24" class="btn-scroll-top-icon" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="m6.293 13.293 1.414 1.414L12 10.414l4.293 4.293 1.414-1.414L12 7.586z"></path></svg></a><script data-cfasync="false" src="../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="../js/bootstrap.bundle.min.js"></script></main><script src="../_next/static/chunks/webpack-e9a8d7859eb2015f.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[53464,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"8087\",\"static/chunks/0e762574-afef7c172066f2a2.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/chunks/4903-eff871aae24efa3f.js\",\"9373\",\"static/chunks/9373-c66e83ffbd05fe09.js\",\"8572\",\"static/chunks/8572-48080d479d22eaf3.js\",\"1533\",\"static/chunks/1533-7c7b592c20216c53.js\",\"7177\",\"static/chunks/app/layout-47d2d74a275e984a.js\"],\"default\"]\n3:I[66983,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"8087\",\"static/chunks/0e762574-afef7c172066f2a2.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/chunks/4903-eff871aae24efa3f.js\",\"9373\",\"static/chunks/9373-c66e83ffbd05fe09.js\",\"8572\",\"static/chunks/8572-48080d479d22eaf3.js\",\"1533\",\"static/chunks/1533-7c7b592c20216c53.js\",\"7177\",\"static/chunks/app/layout-47d2d74a275e984a.js\"],\"default\"]\n4:I[93291,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"8087\",\"static/chunks/0e762574-afef7c172066f2a2.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/chunks/4903-eff871aae24efa3f.js\",\"9373\",\"static/chunks/9373-c66e83ffbd05fe09.js\",\"8572\",\"static/chunks/8572-48080d479d22eaf3.js\",\"1533\",\"static/chunks/1533-7c7b592c20216c53.js\",\"7177\",\"static/chunks/app/layout-47d2d74a275e984a.js\"],\"default\"]\n5:I[87555,[],\"\"]\n6:I[31295,[],\"\"]\n7:I[22666,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"5479\",\"static/chunks/795d4814-be8ac9c737e07596.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"3873\",\"static/chunks/3d47b92a-36c89db625502e17.js\",\"9204\",\"static/chunks/94730671-432211abbfa6008e.js\",\"2995\",\"static/chunks/2995-a03e9c215c88ff49.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/"])</script><script>self.__next_f.push([1,"chunks/4903-eff871aae24efa3f.js\",\"6766\",\"static/chunks/6766-2e3791d16a70aee8.js\",\"8747\",\"static/chunks/8747-3b282cbc07c96109.js\",\"4345\",\"static/chunks/app/not-found-37df8c17e2db524e.js\"],\"default\"]\n8:I[6874,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"6446\",\"static/chunks/53c13509-0d16125c3cc77a07.js\",\"2995\",\"static/chunks/2995-a03e9c215c88ff49.js\",\"7708\",\"static/chunks/app/blog/api-docs/page-dda8c2fe2fdacbde.js\"],\"\"]\n9:I[22792,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"5479\",\"static/chunks/795d4814-be8ac9c737e07596.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"3873\",\"static/chunks/3d47b92a-36c89db625502e17.js\",\"9204\",\"static/chunks/94730671-432211abbfa6008e.js\",\"2995\",\"static/chunks/2995-a03e9c215c88ff49.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/chunks/4903-eff871aae24efa3f.js\",\"6766\",\"static/chunks/6766-2e3791d16a70aee8.js\",\"8747\",\"static/chunks/8747-3b282cbc07c96109.js\",\"4345\",\"static/chunks/app/not-found-37df8c17e2db524e.js\"],\"default\"]\na:I[26259,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"8087\",\"static/chunks/0e762574-afef7c172066f2a2.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"static/chunks/4903-eff871aae24efa3f.js\",\"9373\",\"static/chunks/9373-c66e83ffbd05fe09.js\",\"8572\",\"static/chunks/8572-48080d479d22eaf3.js\",\"1533\",\"static/chunks/1533-7c7b592c20216c53.js\",\"7177\",\"static/chunks/app/layout-47d2d74a275e984a.js\"],\"GoogleAnalytics\"]\nb:I[94970,[],\"ClientSegmentRoot\"]\nc:I[40831,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"5479\",\"static/chunks/795d4814-be8ac9c737e07596.js\",\"1348\",\"static/chunks/5651de16-85a3da12f0337fb6.js\",\"3873\",\"static/chunks/3d47b92a-36c89db625502e17.js\",\"9204\",\"static/chunks/94730671-432211abbfa6008e.js\",\"2995\",\"static/chunks/2995-a03e9c215c88ff49.js\",\"6967\",\"static/chunks/6967-1e0dc91f54258c2a.js\",\"5799\",\"static/chunks/5799-eea89526a0e1525e.js\",\"4903\",\"sta"])</script><script>self.__next_f.push([1,"tic/chunks/4903-eff871aae24efa3f.js\",\"6766\",\"static/chunks/6766-2e3791d16a70aee8.js\",\"8747\",\"static/chunks/8747-3b282cbc07c96109.js\",\"9584\",\"static/chunks/app/blog/layout-7f497e6c4e4ad081.js\"],\"default\"]\ne:I[22083,[\"6711\",\"static/chunks/8e1d74a4-51aef20eca3b93e2.js\",\"6446\",\"static/chunks/53c13509-0d16125c3cc77a07.js\",\"2995\",\"static/chunks/2995-a03e9c215c88ff49.js\",\"7708\",\"static/chunks/app/blog/api-docs/page-dda8c2fe2fdacbde.js\"],\"default\"]\nf:I[59665,[],\"OutletBoundary\"]\n12:I[59665,[],\"ViewportBoundary\"]\n14:I[59665,[],\"MetadataBoundary\"]\n16:I[26614,[],\"\"]\n:HL[\"/_next/static/css/ceb1880c99b8e264.css\",\"style\"]\n:HL[\"/_next/static/css/0ea5d12e047f7f44.css\",\"style\"]\n:HL[\"/_next/static/css/3ebfc703dd220d96.css\",\"style\"]\n:HL[\"/_next/static/css/d3289a9d51c0c99d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"DTPT3HT6DPyoLtoJdkkkU\",\"p\":\"\",\"c\":[\"\",\"blog\",\"api-docs\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"blog\",{\"children\":[\"api-docs\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/ceb1880c99b8e264.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0ea5d12e047f7f44.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3ebfc703dd220d96.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"charSet\":\"UTF-8\"}],[\"$\",\"meta\",null,{\"name\":\"description\",\"content\":\"With Browser.lol, you can reach a virtual environment within seconds in your existing browser, where you can access and test everything without fear of it affecting your PC.\"}],[\"$\",\"meta\",null,{\"name\":\"keywords\",\"content\":\"Access blocked Websites, Unblock, Bypass, virtual Browser, Browser, VNC, Browser.lol\"}],[\"$\",\"meta\",null,{\"name\":\"author\",\"content\":\"Zesiger.net\"}],[\"$\",\"meta\",null,{\"name\":\"msapplication-TileColor\",\"content\":\"#da532c\"}],[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#ffffff\"}],[\"$\",\"meta\",null,{\"name\":\"color-scheme\",\"content\":\"light only\"}],[\"$\",\"meta\",null,{\"name\":\"twitter:title\",\"content\":\"Freely available Web-Based Virtual Browser | Browser.lol\"}],[\"$\",\"meta\",null,{\"name\":\"twitter:description\",\"content\":\"Experience the freedom of the internet with our easy-to-use virtual browser. No installation or configuration needed, simply access it from your existing browser. Safely visit blocked or risky websites without fear of viruses or trojans.\"}],[\"$\",\"meta\",null,{\"name\":\"twitter:image\",\"content\":\"/img/home/hero/layer.png\"}],[\"$\",\"meta\",null,{\"name\":\"twitter:card\",\"content\":\"/img/home/hero/layer.png\"}],[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"index, follow\"}]]}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L2\",null,{\"PUB_ID\":\"1025110\",\"WEBSITE_ID\":\"74640\",\"forcePath\":\"\"}],[\"$\",\"main\",null,{\"className\":\"page-wrapper\",\"children\":[\"$\",\"$L3\",null,{\"children\":[[\"$\",\"$L4\",null,{}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"$L7\",null,{}],[\"$\",\"section\",null,{\"className\":\"container d-flex flex-column h-100pc align-items-center position-relative zindex-5 py-5\",\"children\":[\"$\",\"div\",null,{\"className\":\"text-center py-5 mt-auto\",\"children\":[[\"$\",\"img\",null,{\"src\":\"/img/404/cat-error.png\",\"style\":{\"width\":\"400px\",\"maxWidth\":\"85%\"},\"alt\":\"404\",\"className\":\"m-2 pt-5\"}],[\"$\",\"h2\",null,{\"className\":\"display-5\",\"children\":\"Page not found!\"}],[\"$\",\"p\",null,{\"className\":\"fs-xl pb-3 pb-md-0 mb-md-5\",\"children\":\"Well, this is awkward. It looks like the page you were looking for has taken an unexpected vacation. Sorry about that!\"}],[\"$\",\"$L8\",null,{\"href\":\"/\",\"className\":\"btn btn-lg btn-primary shadow-primary mb-5\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 576 512\",\"className\":\"fs-xl\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z\",\"children\":[]}]]],\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" Go to homepage\"]}],[\"$\",\"$L8\",null,{\"href\":\"/contact\",\"className\":\"btn btn-lg btn-outline-secondary shadow-secondary mx-3 mb-5\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 16 16\",\"className\":\"fs-xl\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M2.678 11.894a1 1 0 0 1 .287.801 11 11 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8 8 0 0 0 8 14c3.996 0 7-2.807 7-6s-3.004-6-7-6-7 2.808-7 6c0 1.468.617 2.83 1.678 3.894m-.493 3.905a22 22 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a10 10 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9 9 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105\",\"children\":[]}],[\"$\",\"path\",\"1\",{\"d\":\"M4 5.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8m0 2.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5\",\"children\":[]}]]],\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" Contact\"]}]]}]}],[\"$\",\"$L9\",null,{}]],\"$undefined\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d3289a9d51c0c99d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],[\"$\",\"$La\",null,{\"gaId\":\"G-YX2JSDY6LJ\"}]]}]]}],{\"children\":[\"blog\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d3289a9d51c0c99d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"$Lb\",null,{\"Component\":\"$c\",\"slots\":{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]},\"params\":{},\"promise\":\"$@d\"}]]}],{\"children\":[\"api-docs\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"nav\",null,{\"className\":\"container mt-lg-4 pt-5\",\"aria-label\":\"breadcrumb\",\"children\":[\"$\",\"ol\",null,{\"className\":\"breadcrumb mb-0 pt-5\",\"children\":[[\"$\",\"li\",null,{\"className\":\"breadcrumb-item\",\"children\":[\"$\",\"$L8\",null,{\"href\":\"/\",\"children\":[[\"$\",\"i\",null,{\"className\":\"bx bx-home-alt fs-lg me-1\"}],\"Home\"]}]}],[\"$\",\"li\",null,{\"className\":\"breadcrumb-item\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 512 512\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z\",\"children\":[]}]]],\"className\":\"$undefined\",\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" \",[\"$\",\"$L8\",null,{\"href\":\"/blog\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 576 512\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z\",\"children\":[]}]]],\"className\":\"$undefined\",\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" Blog\"]}],\" \",[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 512 512\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z\",\"children\":[]}]]],\"className\":\"$undefined\",\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}]]}],[\"$\",\"li\",null,{\"className\":\"breadcrumb-item active\",\"aria-current\":\"page\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"version\":\"1.2\",\"baseProfile\":\"tiny\",\"viewBox\":\"0 0 24 24\",\"children\":[\"$undefined\",[[\"$\",\"g\",\"0\",{\"children\":[[\"$\",\"path\",\"0\",{\"d\":\"M17 21h-10c-1.654 0-3-1.346-3-3v-12c0-1.654 1.346-3 3-3h10c1.654 0 3 1.346 3 3v12c0 1.654-1.346 3-3 3zm-10-16c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h10c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1h-10zM16 11h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5zM16 8h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5zM16 14h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5zM16 17h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z\",\"children\":[]}]]}]]],\"className\":\"$undefined\",\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" \",\"API Documentation\"]}]]}]}],[\"$\",\"section\",null,{\"className\":\"container mt-4 pt-lg-2 pb-3\",\"children\":[[\"$\",\"h1\",null,{\"className\":\"\",\"style\":{\"maxWidth\":\"970px\"},\"children\":\"API Documentation\"}],[\"$\",\"p\",null,{\"className\":\"pb-3\",\"style\":{\"maxWidth\":\"970px\"},\"children\":\"Learn how to use the Browser.lol API to manage your virtual browser workspaces programmatically.\"}],[\"$\",\"div\",null,{\"className\":\"d-flex flex-md-row flex-column align-items-md-center justify-content-md-between mb-3\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center flex-wrap text-muted mb-md-0 mb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"fs-xs border-end pe-3 me-3 mb-2\",\"children\":[\"$\",\"span\",null,{\"className\":\"badge bg-faded-primary text-primary fs-base\",\"children\":\"API\"}]}],[\"$\",\"div\",null,{\"className\":\"fs-sm pe-3 me-3 mb-2\",\"children\":[\"Published at \",\"12.05.2025\"]}]]}],[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center position-relative ps-md-3 pe-lg-5 mb-2\",\"children\":[[\"$\",\"img\",null,{\"src\":\"/img/profile.png\",\"className\":\"rounded-circle\",\"width\":\"80\",\"alt\":\"Avatar\"}],[\"$\",\"div\",null,{\"className\":\"ps-3\",\"children\":[[\"$\",\"h6\",null,{\"className\":\"mb-1\",\"children\":\"Author\"}],[\"$\",\"$L8\",null,{\"href\":\"/blog\",\"className\":\"fw-semibold stretched-link text-decoration-none\",\"children\":\"BROWSER.LOL\"}]]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"jarallax mb-lg-5 mb-4\",\"data-jarallax\":true,\"data-speed\":\"0.35\",\"style\":{\"height\":\"1.45vw\",\"minHeight\":\"30px\"},\"children\":[\"$\",\"div\",null,{\"className\":\"jarallax-img\",\"style\":{\"backgroundImage\":\"url(/img/blog.png)\"}}]}],[\"$\",\"section\",null,{\"className\":\"container mb-5 pt-4 pb-2 py-mg-4\",\"children\":[\"$\",\"div\",null,{\"className\":\"row gy-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"col-lg-9\",\"children\":[[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-dark mb-3\",\"children\":\"API Access \u0026 Authentication\"}],[\"$\",\"p\",null,{\"className\":\"mb-4\",\"children\":\"Access to the Browser.lol API requires a specific subscription plan and is not included in the standard or premium tiers. If you are interested in leveraging our API for programmatic workspace management, please contact our support team to discuss custom plans and access.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Generating an API Key\"}],[\"$\",\"p\",null,{\"className\":\"mb-2\",\"children\":\"To generate an API key, follow these steps:\"}],[\"$\",\"ol\",null,{\"className\":\"mb-4 ps-4\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Log in to your Browser.lol account.\"}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Navigate to your Dashboard.\"}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Click on \\\"API Keys\\\" in the left-hand sidebar menu.\"}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"In the \\\"Create New API Key\\\" modal window:\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-2\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Optionally, enter a descriptive name for your key (e.g., \\\"My Integration\\\").\"}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Optionally, set an expiration date. If left blank, the key will not expire.\"}]]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":\"Click \\\"Generate API Key\\\".\"}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[\"Your new API key will be displayed \",[\"$\",\"strong\",null,{\"children\":\"only once\"}],\". Make sure to copy and store it securely. You will not be able to retrieve it again.\"]}]]}],[\"$\",\"p\",null,{\"className\":\"mb-2\",\"children\":[\"All API requests must include the API key in the \",[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\" header as a Bearer token:\"]}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Authorization Header\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"Authorization: Bearer YOUR_API_KEY\"}]}]]}],[\"$\",\"div\",null,{\"className\":\"alert alert-warning mt-4\",\"role\":\"alert\",\"children\":[[\"$\",\"h5\",null,{\"className\":\"alert-heading fw-bold\",\"children\":\"Security Notice\"}],[\"$\",\"p\",null,{\"className\":\"mb-0\",\"children\":[\"To protect your credentials, all API requests using your API key (i.e., those requiring the \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"Authorization: Bearer\"}],\" header) should be made from your \",[\"$\",\"strong\",null,{\"children\":\"server-side environment\"}],\". Do not expose your API key in client-side code (e.g., JavaScript running in a user's browser). The \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"/vm\"}],\" endpoint described below is an exception, designed for client-side use with a temporary workspace ID.\"]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"API Base URL\"}],[\"$\",\"p\",null,{\"className\":\"mb-2\",\"children\":[\"All API endpoints can be accessed through the base domain: \",[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"api.browser.lol\"}]]}],[\"$\",\"p\",null,{\"className\":\"mb-4\",\"children\":[\"For example, to access the \",[\"$\",\"code\",null,{\"children\":\"/v7/workspace/data\"}],\" endpoint, you would make a request to \",[\"$\",\"code\",null,{\"children\":\"https://api.browser.lol/v7/workspace/data\"}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Custom API Domain\"}],[\"$\",\"p\",null,{\"className\":\"mb-4\",\"children\":[\"Enterprise customers can request a custom API domain (e.g., \",[\"$\",\"code\",null,{\"children\":\"api.your-company.com\"}],\") for their API integration. To set up a custom API endpoint with your own domain, please contact our support team. Custom domains provide additional branding consistency and can help with network security policies in corporate environments.\"]}],[\"$\",\"h2\",null,{\"className\":\"fs-2 fw-bold text-primary border-bottom pb-2 mb-4 mt-5\",\"children\":\"API Endpoints\"}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-success text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"GET\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/v7/user/api\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Get API Usage Statistics\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":\"Retrieves API usage statistics and limits for the authenticated user, including quota information and current usage in the billing cycle.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Headers\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\": Bearer token (e.g., \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"Bearer YOUR_API_KEY\"}],\"). \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Success Response (200 OK)\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"status\\\": \\\"ok\\\",\\n \\\"contact\\\": \\\"user@example.com\\\",\\n \\\"api_quota\\\": 1000,\\n \\\"api_cycle_start\\\": \\\"2023-10-01T00:00:00Z\\\",\\n \\\"api_cycle_end\\\": \\\"2023-11-01T00:00:00Z\\\",\\n \\\"api_used\\\": 150,\\n \\\"api_remaining\\\": 850,\\n \\\"api_available\\\": true\\n}\"}]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Response Field Descriptions\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"status\"}],\": \\\"ok\\\" when the request is successful\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"contact\"}],\": The user's email address\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_quota\"}],\": The total count of API calls allowed in the user's plan\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_cycle_start\"}],\": The start date of the current billing/counting cycle\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_cycle_end\"}],\": The end date of the current billing cycle\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_used\"}],\": The count of API calls used in the current billing cycle\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_remaining\"}],\": The number of API calls remaining in the current cycle\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api_available\"}],\": Boolean indicating if the API is available for use (true if remaining credits are bigger than 0)\"]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Responses\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"// Example: Unauthorized\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"Authentication failed.\\\"\\n}\\n\\n// Example: Server or database error\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"An internal server error occurred.\\\"\\n}\"}]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-success text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"GET\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/v7/workspace/data\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Get Workspace Data\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":[\"Retrieves a list of workspaces (virtual machines) associated with the authenticated user, created within the last month. Optionally, provide a specific workspace \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" as a query parameter to retrieve data for only that workspace.\"]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Headers\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\": Bearer token. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Query Parameters\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" (String): The unique identifier of a specific workspace (VM). If provided, only data for this workspace will be returned. (Optional)\"]}]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Success Response (200 OK)\"}],[\"$\",\"p\",null,{\"className\":\"small text-muted mb-2\",\"children\":[\"The \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"data\"}],\" array will contain one object if an \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" was specified, or multiple objects if no \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" was provided.\"]}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"status\\\": \\\"ok\\\",\\n \\\"data\\\": [\\n {\\n \\\"id\\\": \\\"brl-v-v7-*********XXXXXXX\\\", // Masked ID\\n \\\"created\\\": \\\"2023-10-27T11:00:00Z\\\",\\n \\\"updated\\\": \\\"2023-10-27T11:05:00Z\\\",\\n \\\"server\\\": \\\"srv1\\\",\\n \\\"name\\\": \\\"Chrome\\\",\\n \\\"picture\\\": \\\"../img/collection/browser/chrome.png\\\",\\n \\\"description\\\": \\\"Fast Google browser with extensive extensions.\\\",\\n \\\"lastseen\\\": \\\"2025-04-22T11:05:00Z\\\",\\n \\\"status\\\": \\\"running\\\",\\n \\\"layout\\\": \\\"us\\\",\\n \\\"language\\\": \\\"en\\\",\\n \\\"lastseen_timeout\\\": 3600, // Time in seconds\\n \\\"renew_timeout\\\": 7200, // Time in seconds\\n \\\"max_timeout\\\": 86400, // Time in seconds\\n \\\"renewed\\\": \\\"2025-04-22T11:05:00Z\\\"\\n }\\n ]\\n}\"}]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Responses\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"// Example: Database Error\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"Database error occurred.\\\" // Or specific error message\\n}\\n\\n// Example: Workspace not found (if ID provided)\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"VM not found or access denied.\\\"\\n}\"}]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-primary text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"POST\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/v7/workspace/create\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Create Workspace\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":\"Creates a new virtual browser session (workspace/VM) based on the provided parameters.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Headers\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\": Bearer token. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}],[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Content-Type\"}],\": \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"application/json\"}],\". \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Body Parameters\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"browser\\\": \\\"chrome\\\", // Image ID (See /image/data Endpoint) (Required)\\n \\\"url\\\": \\\"../index.html\\\", // Initial URL (Optional)\\n \\\"language\\\": \\\"en-US\\\", // Browser interface language code (Optional)\\n \\\"layout\\\": \\\"us\\\", // Keyboard layout (Optional)\\n}\"}]}]]}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"browser\"}],\" (String): ID of the browser image to use. Can be retrieved from the /image/data Endpoint \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"url\"}],\" (String): Initial URL to load. (Optional)\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"language\"}],\" (String): Language code (e.g., 'en-US', 'de-DE'). (Optional)\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"layout\"}],\" (String): Keyboard layout (e.g., 'us', 'de'). (Optional)\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"lang\"}],\" (String): Spell check language (e.g., 'en', 'de'). (Optional)\"]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Success Response (200 OK)\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"status\\\": \\\"ok\\\",\\n \\\"workspaceName\\\": \\\"brl-v-v7-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\\\" // Unique ID of the created workspace\\n}\"}]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Responses\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"// Example: Missing required field\\n{ \\\"status\\\": \\\"denied\\\", \\\"message\\\": \\\"Missing required fields.\\\" }\\n\\n// Example: Invalid browser ID\\n{ \\\"status\\\": \\\"denied\\\", \\\"message\\\": \\\"Invalid browser specified.\\\" }\\n\\n// Example: Rate limit exceeded or security check failed (less common for dedicated API plans)\\n{ \\\"status\\\": \\\"insecure\\\", \\\"message\\\": \\\"Security check failed.\\\" }\\n\\n// Example: Premium browser requested without permission (if applicable to API plan)\\n{ \\\"status\\\": \\\"denied\\\", \\\"message\\\": \\\"Subscription does not allow this browser.\\\" }\\n\\n// Example: Concurrent session limit reached\\n{\\n \\\"status\\\": \\\"denied\\\",\\n \\\"message\\\": \\\"You have reached your limit of 1 concurrent browser sessions. Please close existing sessions or upgrade your plan.\\\"\\n}\\n\\n// Example: Server error during creation\\n{ \\\"status\\\": \\\"error\\\", \\\"message\\\": \\\"Failed to create workspace.\\\" }\"}]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-success text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"GET\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/v7/image/data\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Get Available Browser Images\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":\"Retrieves a list of all available browser images that can be used when creating workspaces.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Headers\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\": Bearer token. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Success Response (200 OK)\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"status\\\": \\\"ok\\\",\\n \\\"images\\\": [\\n {\\n \\\"id\\\": \\\"chrome\\\",\\n \\\"name\\\": \\\"Chrome\\\",\\n \\\"picture\\\": \\\"../img/collection/browser/chrome.png\\\",\\n \\\"description\\\": \\\"Fast Google browser with extensive extensions.\\\",\\n \\\"enabled\\\": true,\\n \\\"premium\\\": false\\n },\\n {\\n \\\"id\\\": \\\"firefox\\\",\\n \\\"name\\\": \\\"Firefox\\\",\\n \\\"picture\\\": \\\"../img/collection/browser/firefox.png\\\",\\n \\\"description\\\": \\\"Privacy-focused Mozilla browser.\\\",\\n \\\"enabled\\\": true,\\n \\\"premium\\\": false\\n },\\n // Additional browser images...\\n ]\\n}\"}]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Response Field Descriptions\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"status\"}],\": \\\"ok\\\" when the request is successful\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images\"}],\": Array of available browser image objects\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].id\"}],\": Unique identifier of the browser image (used in creating workspaces)\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].name\"}],\": Display name of the browser\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].picture\"}],\": URL to the browser icon/logo\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].description\"}],\": Short description of the browser\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].enabled\"}],\": Boolean indicating if the browser is currently available\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"images[].premium\"}],\": Boolean indicating if the browser requires a premium subscription\"]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Responses\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"// Example: Database Error\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"Database error occurred.\\\"\\n}\\n\\n// Example: Authentication Error\\n{\\n \\\"status\\\": \\\"error\\\",\\n \\\"message\\\": \\\"Authentication failed.\\\"\\n}\"}]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-primary text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"POST\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/v7/workspace/remove\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Remove Workspace\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":\"Marks an existing workspace (virtual machine) for deletion. The actual removal is handled by a background process.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Headers\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Authorization\"}],\": Bearer token. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}],[\"$\",\"li\",null,{\"children\":[[\"$\",\"code\",null,{\"className\":\"small bg-light px-2 py-1 rounded\",\"children\":\"Content-Type\"}],\": \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"application/json\"}],\". \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Body Parameters\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"id\\\": \\\"brl-v-v7-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\\\" // ID of the workspace to remove (Required)\\n}\"}]}]]}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" (String): The unique identifier of the workspace (VM) to be removed. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Success Response (200 OK)\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"{\\n \\\"status\\\": \\\"ok\\\"\\n}\"}]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Responses\"}],[\"$\",\"div\",null,{\"className\":\"mb-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"small fw-semibold text-muted mb-1\",\"children\":\"Content-Type: application/json\"}],[\"$\",\"pre\",null,{\"className\":\"bg-light p-3 rounded-3 small overflow-auto\",\"children\":[\"$\",\"code\",null,{\"children\":\"// Example: Missing ID\\n{ \\\"status\\\": \\\"error\\\", \\\"message\\\": \\\"Missing required fields.\\\" }\\n\\n// Example: Workspace not found or not owned by user\\n{ \\\"status\\\": \\\"error\\\", \\\"message\\\": \\\"VM not found or access denied.\\\" }\\n\\n// Example: Database or server error during marking for deletion\\n{ \\\"status\\\": \\\"error\\\", \\\"message\\\": \\\"Database error occurred.\\\" }\"}]}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"card border shadow mb-5 rounded-4 overflow-hidden\",\"children\":[[\"$\",\"div\",null,{\"className\":\"card-header border-bottom bg-light p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center gap-2 mb-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"bg-success text-white px-3 py-1 rounded-pill fw-bold\",\"children\":\"GET\"}],[\"$\",\"code\",null,{\"className\":\"fs-5 text-dark\",\"children\":\"/vm\"}]]}],[\"$\",\"h3\",null,{\"className\":\"fs-4 fw-bold text-primary mb-0\",\"children\":\"Access Workspace VM Interface\"}]]}],[\"$\",\"div\",null,{\"className\":\"card-body p-4\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":[\"Provides client-side access to the virtual machine interface for a specific workspace. This endpoint is intended to be used in the user's browser (e.g., by redirecting the user or embedding within an iframe) after obtaining a workspace ID from the \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"/v7/workspace/create\"}],\" endpoint.\",[\"$\",\"br\",null,{}],\"Note that the base URL for this client-side endpoint differs from the server-side API base URL. If you are using the standard \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api.browser.lol\"}],\" domain for server-side calls, use \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"https://browser.lol/vm\"}],\" for this endpoint. If you have a custom API domain (e.g., \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"api.your-company.com\"}],\"), use that same custom domain for this endpoint (e.g., \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"https://api.your-company.com/vm\"}],\").\"]}],[\"$\",\"p\",null,{\"className\":\"mb-3 fw-semibold text-warning\",\"children\":[\"Note: This endpoint is designed for client-side access and does \",[\"$\",\"strong\",null,{\"className\":\"text-decoration-underline\",\"children\":\"not\"}],\" use the \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"Authorization: Bearer YOUR_API_KEY\"}],\" header. Access is granted based on the validity of the workspace ID.\"]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Query Parameters\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"id\"}],\" (String): The unique identifier of the workspace (VM) to access. This is the \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"workspaceName\"}],\" returned by the \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"/v7/workspace/create\"}],\" endpoint. \",[\"$\",\"span\",null,{\"className\":\"text-danger\",\"children\":\"(Required)\"}]]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"redirectUrl\"}],\" (String): A URL to redirect the user to when they click the \\\"Exit\\\" or \\\"Close\\\" button within the VM interface. (Optional)\"]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"logo\"}],\" (String): A URL pointing to a publicly accessible JPG or PNG image. This logo will be displayed on the loading screen while the workspace is preparing. (Optional)\"]}]]}],[\"$\",\"p\",null,{\"className\":\"mb-2 fw-semibold\",\"children\":\"Example URLs:\"}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4 small\",\"children\":[[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[\"Standard Domain: \",[\"$\",\"code\",null,{\"className\":\"bg-light px-2 py-1 rounded\",\"children\":\"https://browser.lol/vm?id=...\u0026redirectUrl=...\u0026logo=...\"}]]}],[\"$\",\"li\",null,{\"className\":\"mb-1\",\"children\":[\"Custom Domain: \",[\"$\",\"code\",null,{\"className\":\"bg-light px-2 py-1 rounded\",\"children\":\"https://api.your-company.com/vm?id=...\u0026redirectUrl=...\u0026logo=...\"}]]}]]}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2\",\"children\":\"Response (200 OK)\"}],[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":[\"This endpoint always returns an HTTP status code of \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"200 OK\"}],\". The response body will be an HTML page containing either:\"]}],[\"$\",\"ul\",null,{\"className\":\"ps-4 mb-4\",\"children\":[[\"$\",\"li\",null,{\"children\":\"The interactive interface for the requested virtual machine.\"}],[\"$\",\"li\",null,{\"children\":\"An error message indicating why the workspace could not be accessed (e.g., invalid ID, expired session).\"}]]}],[\"$\",\"p\",null,{\"className\":\"mb-4\",\"children\":\"The response body is always HTML, not JSON.\"}],[\"$\",\"h4\",null,{\"className\":\"fw-semibold text-dark mb-2 mt-4\",\"children\":\"Error Handling\"}],[\"$\",\"p\",null,{\"className\":\"mb-3\",\"children\":[\"If the workspace ID is invalid, expired, cannot be found, or if there is any other issue preventing access, the endpoint still returns a \",[\"$\",\"code\",null,{\"className\":\"small\",\"children\":\"200 OK\"}],\" status code. The error condition will be described within the HTML content of the response page. There are no separate HTTP error status codes (like 404 or 403) used for this endpoint.\"]}],[\"$\",\"p\",null,{\"className\":\"mb-0\",\"children\":\"Check the content of the returned HTML page to determine if access was successful or if an error occurred.\"}]]}]]}]]}],[\"$\",\"div\",null,{\"className\":\"col-lg-3 position-relative\",\"children\":[\"$\",\"div\",null,{\"className\":\"ms-xl-5 ms-lg-4 ps-xxl-4\",\"style\":{\"top\":\"105px !important\"},\"children\":[[\"$\",\"span\",null,{\"className\":\"d-block mb-3\",\"children\":[20,\" min read\"]}],[\"$\",\"h6\",null,{\"children\":\"Share this post:\"}],[\"$\",\"div\",null,{\"className\":\"mb-4 pb-lg-3\",\"children\":[\"$\",\"$Le\",null,{}]}]]}]}]]}]}],[\"$\",\"div\",null,{\"className\":\"jarallax mb-lg-5 mb-4\",\"data-jarallax\":true,\"data-speed\":\"0.35\",\"style\":{\"height\":\"1.45vw\",\"minHeight\":\"30px\"},\"children\":[\"$\",\"div\",null,{\"className\":\"jarallax-img\",\"style\":{\"backgroundImage\":\"url(/img/blog.png)\"}}]}],[\"$\",\"section\",null,{\"className\":\"container mt-5 pt-lg-2 pb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex flex-sm-row flex-column align-items-center justify-content-between mb-4 pb-1 pb-md-3\",\"children\":[[\"$\",\"h2\",null,{\"className\":\"h1 mb-sm-0\",\"children\":\"Latest Blogposts\"}],[\"$\",\"$L8\",null,{\"href\":\"/blog\",\"className\":\"btn btn-lg btn-outline-primary ms-4\",\"children\":[[\"$\",\"svg\",null,{\"stroke\":\"currentColor\",\"fill\":\"currentColor\",\"strokeWidth\":\"0\",\"viewBox\":\"0 0 16 16\",\"className\":\"fs-xl\",\"children\":[\"$undefined\",[[\"$\",\"path\",\"0\",{\"d\":\"M7 1.414V2H2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5v1H2.5a1 1 0 0 0-.8.4L.725 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4H7v5h2v-5h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H9V6h4.5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.3 2.4a1 1 0 0 0-.8-.4H9v-.586a1 1 0 0 0-2 0M13.5 3l.75 1-.75 1H2V3zm.5 5v2H2.5l-.75-1 .75-1z\",\"children\":[]}]]],\"style\":{\"color\":\"$undefined\"},\"height\":\"1em\",\"width\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\"}],\" All posts\"]}]]}],[\"$\",\"div\",null,{\"className\":\"swiper swiper-nav-onhover mx-n2 swiper-initialized swiper-horizontal swiper-pointer-events swiper-backface-hidden\",\"children\":[\"$\",\"div\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"row\",\"style\":{\"maxWidth\":\"100vw\"},\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"h-auto py-3 col-md-4\",\"children\":[\"$\",\"article\",null,{\"className\":\"card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5\",\"children\":[\"$\",\"div\",null,{\"className\":\"card-body pb-0\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center justify-content-between mb-3\",\"children\":[[\"$\",\"a\",null,{\"href\":\"#\",\"className\":\"badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2\",\"children\":\"Security\"}],[\"$\",\"span\",null,{\"className\":\"fs-sm text-muted\",\"children\":\"02.12.2022\"}]]}],[\"$\",\"h3\",null,{\"className\":\"h4\",\"children\":[\"$\",\"a\",null,{\"href\":\"/blog/virtual-browsers-for-web-development\",\"className\":\"stretched-link\",\"children\":\"The Use of Virtual Browsers for Web Development\"}]}],[\"$\",\"p\",null,{\"className\":\"mb-0\",\"children\":\"Virtual browsers are becoming an increasingly popular tool for web developers, and it's not hard to see why. By providing a safe, sandboxed environment for testing and development, virtual browsers offer many benefits over traditional web browsers. In this blog post, we will explore what virtual browsers are and why they are becoming a must-have tool for web developers.\"}]]}]}]}],[\"$\",\"div\",\"1\",{\"className\":\"h-auto py-3 col-md-4\",\"children\":[\"$\",\"article\",null,{\"className\":\"card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5\",\"children\":[\"$\",\"div\",null,{\"className\":\"card-body pb-0\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center justify-content-between mb-3\",\"children\":[[\"$\",\"a\",null,{\"href\":\"#\",\"className\":\"badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2\",\"children\":\"Security\"}],[\"$\",\"span\",null,{\"className\":\"fs-sm text-muted\",\"children\":\"02.03.2022\"}]]}],[\"$\",\"h3\",null,{\"className\":\"h4\",\"children\":[\"$\",\"a\",null,{\"href\":\"/blog/impartance-of-privacy-and-security\",\"className\":\"stretched-link\",\"children\":\"The Importance of Privacy and Security in Browsing\"}]}],[\"$\",\"p\",null,{\"className\":\"mb-0\",\"children\":\"In today's digital age, it is crucial to understand the importance of privacy and security in browsing. With the increasing amount of personal information shared and stored online, it is becoming increasingly important to be aware of the potential dangers and to take steps to protect oneself.\"}]]}]}]}],[\"$\",\"div\",\"2\",{\"className\":\"h-auto py-3 col-md-4\",\"children\":[\"$\",\"article\",null,{\"className\":\"card p-md-3 p-2 border-0 shadow-sm card-hover-primary h-100 pb-5\",\"children\":[\"$\",\"div\",null,{\"className\":\"card-body pb-0\",\"children\":[[\"$\",\"div\",null,{\"className\":\"d-flex align-items-center justify-content-between mb-3\",\"children\":[[\"$\",\"a\",null,{\"href\":\"#\",\"className\":\"badge fs-sm text-white bg-primary shadow-primary text-decoration-none position-relative zindex-2\",\"children\":\"Security\"}],[\"$\",\"span\",null,{\"className\":\"fs-sm text-muted\",\"children\":\"20.12.2021\"}]]}],[\"$\",\"h3\",null,{\"className\":\"h4\",\"children\":[\"$\",\"a\",null,{\"href\":\"/blog/5-reasons-for-virtual-browser\",\"className\":\"stretched-link\",\"children\":\"5 Reasons to use Virtual Browser\"}]}],[\"$\",\"p\",null,{\"className\":\"mb-0\",\"children\":\"To learn what exactly a virtual browser is, you’ve came to the correct place. In this Post, we exactly explain what a virtual Browser is and how it works. Simply put, it's a browser that runs on our server and can be viewed remotely in any regular browser. This brings many advantages. Some of them are listed below.\"}]]}]}]}]]}]}]}]]}]],\"$undefined\",null,[\"$\",\"$Lf\",null,{\"children\":[\"$L10\",\"$L11\",null]}]]}],{},null,false]},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"WL-CnzCV5FrA2DyQp25ax\",{\"children\":[[\"$\",\"$L12\",null,{\"children\":\"$L13\"}],null]}],[\"$\",\"$L14\",null,{\"children\":\"$L15\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$16\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"d:{}\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n10:null\n"])</script><script>self.__next_f.push([1,"11:null\n15:[[\"$\",\"title\",\"0\",{\"children\":\"API Documentation - Browser.lol\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Learn how to use the Browser.lol API to manage your virtual browser workspaces programmatically.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"48x48\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"../icon8f33.png?88002b0f82389723\",\"type\":\"image/png\",\"sizes\":\"192x192\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"../apple-icon7406.png?b2080a66b0a4944d\",\"type\":\"image/png\",\"sizes\":\"180x180\"}]]\n"])</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"rayId":"93f1e6139aa19622","version":"2025.4.0-1-g37f21b1","serverTiming":{"name":{"cfExtPri":true,"cfL4":true,"cfSpeedBrain":true,"cfCacheStatus":true}},"token":"7294e508895143fab825a970def415ee","b":1}' crossorigin="anonymous"></script> |