POST
/
sessions
/
{session_id}
/
cookies
curl
curl -X POST "https://api.notte.cc/sessions/start" \
-H "Authorization: Bearer $NOTTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"headless": true,
"solve_captchas": false,
"timeout_minutes": 3,
"proxies": false,
"browser_type": "chromium",
"user_agent": null,
"chrome_args": null,
"viewport_width": null,
"viewport_height": null,
"cdp_url": null,
"use_file_storage": false,
"screenshot_type": "last_action"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

session_id
string
required

Body

application/json
cookies
Cookie · object[]
required

Response

Successful Response

Used for page operation like setting cookies

success
boolean
required

Whether the operation was successful

message
string
required

A message describing the operation