Skip to main content
POST
/
v1
/
cookies
Set Cookies
curl --request POST \
  --url https://api.reworkd.dev/v1/cookies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "domain": "<string>",
    "name": "<string>",
    "value": "<string>",
    "secure": true,
    "http_only": true,
    "expires": "2023-11-07T05:31:56Z",
    "path": ""
  }
]
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

scraping_group_id
string | null

Body

application/json
domain
string
required
name
string
required
value
string
required
secure
boolean
required
http_only
boolean
required
expires
string<date-time>
required
path
string
default:""

Response

Successful Response