Skip to main content
POST
/
v1
/
browserbase
/
session
Create a new browser session
curl --request POST \
  --url http://localhost:3333/v1/browserbase/session \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Organization-Id: <x-organization-id>' \
  --data '
{
  "contextId": "<string>"
}
'
{
  "sessionId": "<string>",
  "liveViewUrl": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string
required

Organization ID (required for session auth)

Body

application/json
contextId
string
required

Browserbase context ID

Response

201 - application/json

Session created

sessionId
string
required
liveViewUrl
string
required