---
title: "Save Cookie Consent"
method: POST
path: "/public/cookie/consent"
tags: ["Public Cookie Consent"]
---

# Save Cookie Consent

`POST /public/cookie/consent`

## Request body

- CookieConsentRequest
  - `consent_id` string, nullable
  - `preferences` CookiePreferences, required
    - `necessary` boolean
    - `analytics` boolean
    - `marketing` boolean
  - `version` string, required

## Response `200`

Successful Response

- CookieConsentResponse
  - `consent_id` string, required
  - `version` string, required
  - `preferences` CookiePreferences, required
    - `necessary` boolean
    - `analytics` boolean
    - `marketing` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
