Skip to main content
POST
/
v1
/
users
/
{user_id}
/
browser
/
sessions
Open browser session
curl --request POST \
  --url https://api.usenaive.ai/v1/users/{user_id}/browser/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "timeout_minutes": 15,
  "allowed_domains": [
    "<string>"
  ],
  "allow_writes": false,
  "context_name": "<string>",
  "human_login": true,
  "allow_extract": true,
  "proxy": true
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

user_id
string
required

Tenant user UUID, or default / me for the operator's default user.

Body

application/json
timeout_minutes
number
default:15
Required range: 1 <= x <= 30
allowed_domains
string[]

Specific domains, or ["*"] for unrestricted.

allow_writes
boolean
default:false
context_name
string
human_login
boolean
allow_extract
boolean
proxy
boolean

Response

Created.

The response is of type object.