Skip to main content
POST
/
cookies
Create Cookie
curl --request POST \
  --url https://api.warmyourx.com/cookies/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'cookies=<string>' \
  --data 'label=<string>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cookie_header": "<string>",
  "label": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "is_active": true,
  "last_used_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/x-www-form-urlencoded
cookies
string
required

Raw Cookie header string copied from the browser (same as other X endpoints).

label
string | null

Optional label to identify this session in lists.

Response

Successful Response

id
string<uuid>
required
label
string | null
required
expires_at
string<date-time> | null
required
is_active
boolean
required
last_used_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required