---
title: "POST /set-cookies"
method: POST
path: "/set-cookies"
---

# POST /set-cookies

`POST /set-cookies`

## Request body

- object
  - `cookies` object[]
    - `name` 'OptanonAlertBoxClosed' | 'TLCookieConsent'
    - `value` string
    - `expires` string
    - `domain` string

## Response `200`

OK

---

[API](https://skmtc.net/thetrainline/apis/trainline-desktop-api.md) · [All operations](https://skmtc.net/thetrainline/apis/trainline-desktop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thetrainline/trainline-desktop-api/revisions/45a894ec56f4/schema)
