PLATINUM DOCS
ApiBrowsers

PUT /v1/browsers/profiles/{id}/state

PUT
/v1/browsers/profiles/{id}/state

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Playwright's storageState JSON: what context.storageState() writes and newContext({ storageState }) reads. Cookies and localStorage only.

Response Body

application/json

curl -X PUT "https://example.com/v1/browsers/profiles/string/state" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "cookie_count": 0,  "origins": [    "string"  ],  "state_bytes": 0,  "saved_at": "string",  "created_at": "string",  "updated_at": "string"}
Empty