Starting a Chromium Session
Dispatch API
Starting a Chromium Session
Initiate a Chromium browser using Hyperbeam
POST
Starting a Chromium Session
Parameters
string
default:"about:blank"
The initial URL that is set in the browser. If unset, and a profile is loaded,
tabs from the profile are restored
boolean
default:false
Flag to enable kiosk mode, which hides the browser navigation UI
object
Timeouts determine when a session will be automatically terminated.
Also, when a timeout (or timeout warning) is triggered, a webhook event will be sent to the URL specified by the
webhook timeout parameter.object
Enables touch gestures, such as pinch to zoom for touch screen devices
string
Custom ID provided for keeping track of usage on a per-tenant basis. See Get Usage for more information.
boolean
default:false
If true, users cannot control the browser by default, and need to be manually
granted access by an admin user
string
default:"NA"
The server region:
NA → North America, EU → Europe, AS → Asiaboolean | string | object
Used to save and load Chrome profiles including bookmarks, history, passwords,
cookies etc.
true will create a new profile, while passing in a session ID
of an existing profile will load and update the profile. For advanced usage,
you can provide an object that specifies the session IDs of the profile you
wish to load and the profile you wish to overwrite:boolean
default:false
Flag to install an adblock extension on the cloud browser
boolean
default:false
deprecated
Deprecated. See the
adblock flag. Flag to install an adblock extension on the cloud browserboolean
default:false
Flag to install a drawing and annotation extension on the cloud browser
object
Used to install custom Chrome extensions.
(Max Size 1MB).
boolean
default:false
Enables WebGL. Some games and interactive activities require WebGL
number
default:1280
Width of the browser in pixels. If set, height must be set as well.The max number of pixels (width height) is capped at 1920*1080.
number
default:720
Height of the browser in pixels. If set, width must be set as well.The max number of pixels (width height) is capped at 1920*1080.
number
default:24
Integer frame rate of the browser. Must be in the range [24, 60]
boolean
default:false
Hides the system cursor. Useful if you want to implement a multi-cursor user
interface.
string | object
default:"duckduckgo"
Sets the default search engine that Chromium uses:
“duckduckgo” | “ecosia” | “google” | “startpage” | “brave”How to use custom search engine
How to use custom search engine
You can use a custom search engine by passing in an object as follows:
{ “name”: “foo”, “keyword”: “f”, “url”: “https://foo.com/search?q={searchTerms}”, “suggestions_url”: “https://foo.com/suggest?q={searchTerms}” }string
Sets the user agent to a preset value. Currently only
"chrome_android" is supported.boolean
default:false
Enables dark mode
string
The
tag property enforces uniqueness. If a session with tag "A" is already
running and you attempt to make another session with tag "A", the endpoint
will not create a new instance and will instead return the session_id and
embed_url of the existing session.object
Used to toggle between sharp, smooth, and blocky quality modes.
Sharp mode is ideal for situations where reading small text is important.
Smooth mode is ideal for anything involving movement (e.g. videos, dynamic activities).
Blocky mode is ideal for clients with poor internet connectivity.
object
Set the browser’s locale and country.
Response
string
The ID of the cloud computer session
string
A URL you can load into the web client on your
website
string
A token that grants access to an exclusive subset of the client-side web SDK.
Needed for setting permissions and programmatic navigation