---
title: "Categorize Cookies by Domain and Cookie ID"
method: POST
path: "/v2/categorizewithids"
tags: ["Categorizations"]
---

# Categorize Cookies by Domain and Cookie ID

`POST /v2/categorizewithids`

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

## Request body

- object
  - `domain` string — Name of the domain.
  - `cookiesIds` string[] — A list of Cookies IDs.

## 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)
