Skip to main content
PUT
Create Context

Description

Creates a new isolated browser context within an existing session. Contexts are similar to incognito windows: they share the browser process but have separate cookies, storage, and sessions. Use contexts for multiple independent tabs or user sessions in parallel within a single browser.

Authentication

Open-source deployments do not require authentication by default. If your server config enables X-API-Key, include that header with the request.

Path Parameters

string
required
The browser ID returned from Create Session.

Request Body

No request body required.

Response

string
The ID of the newly created context. Pass this as :ctx_id when targeting context-specific operations.

Example