Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Enter your API Key in the format: Bearer . Get it from https://gbox.ai

Path Parameters

boxId
string
required

Box ID

Example:

"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"

tabId
string
required

Response

200 - application/json

Successfully switched to the tab

Browser tab

id
string
required

The tab id

Example:

"1"

title
string
required

The tab title

Example:

"Google"

url
string
required

The tab url

Example:

"https://www.google.com"

favicon
string
required

The tab favicon

Example:

"https://www.google.com/favicon.ico"

active
boolean
required

Whether the tab is the current active (frontmost) tab

Example:

true

loading
boolean
required

Whether the tab is currently in a loading state.

The value is true while the browser is still navigating to the target URL or fetching sub-resources (i.e. document.readyState is not "complete"). It typically switches to false once the load event fires and all major network activity has settled.

Example:

false