---
title: "Categorize Cookies by Domain"
method: POST
path: "/v2/categorize"
tags: ["Categorizations"]
---

# Categorize Cookies by Domain

`POST /v2/categorize`

Use this API to categorize cookies by cookie name and host for the specified domain. The response will return details for each cookie such as pattern (First-Party or Third-Party) and category (Functional, Strictly Necessary, Targeting, Social Media, or Performance)

## Request body

- object
  - `domain` string — Name of the domain.
  - `cookies` object[] — A list of Cookies with name and host.
    - `name` string
    - `host` string

## Response `200`

OK

- CookiepediaContribsDto[]
  - `name` string — Name of the cookie.
  - `type` string — Type of the cookie.
  - `host` string — Host of the cookie.
  - `hostDescription` string — Description of the cookie host.
  - `description` string — Description of the cookie category.
  - `firstPartyDescription` string — Description of the first party cookie catogory.
  - `thirdPartyDescription` string — Description of the third party cookie catogory.
  - `patternKey` string — Cookie caterory pattern key.
  - `thirdPartyKey` string — Third party key of categorized cookie.
  - `firstPartyKey` string — First party key of categorized cookie.
  - `category` string — Category of the cookie.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
