Skip to main content
POST
Profile State Set

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

profile_id
string
required

Body

application/json
cookies
Cookie · object[]
Maximum array length: 10000
local_storage
Local Storage · object
session_storage
Session Storage · object
domains
string[] | null
Required array length: 1 - 2000 elements
mode
enum<string>
default:replace
Available options:
replace,
append
storage_scope
enum<string>
default:domains

Use origins for partial live-tab snapshots: replace only origins present in each storage map.

Available options:
domains,
origins
origins
PlaywrightStorageOrigin · object[]

localStorage in the format of Playwright's context.storage_state(), so its export can be sent as is with its cookies. Imported as local_storage; cannot be combined with local_storage.

Response

Successful Response

success
boolean
required
cookies_count
integer
required
local_storage_origins
integer
required
session_storage_origins
integer
required
indexed_db_origins_not_imported
string[]

Origins whose IndexedDB data in a Playwright export was not imported: this endpoint imports cookies, localStorage and sessionStorage only.