POST
/
browser
/
{id}
/
cookies
curl --request POST \
  --url https://api.gologin.com/browser/{id}/cookies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "url": "<string>",
    "name": "<string>",
    "value": {},
    "domain": "<string>",
    "path": false,
    "session": false,
    "hostOnly": false,
    "secure": false,
    "httpOnly": false,
    "sameSite": "no_restriction",
    "expirationDate": 123,
    "creationDate": 123
  }
]'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Id of the profile.

Query Parameters

fromUser
boolean

Should be true if you want browser to import it when you run it next time.

cleanCookies
boolean

Should be true if you want browser to erase all cookies before importing new ones.

Body

application/json ยท object[]

List of cookies to add to profile.

The body is of type object[].