---
title: "GET /v2/consents/check/{subjectId}"
method: GET
path: "/v2/consents/check/{subjectId}"
---

# GET /v2/consents/check/{subjectId}

`GET /v2/consents/check/{subjectId}`

## Request

- Base URL: `https://uc.api.osano.com`
- URL: `https://uc.api.osano.com/v2/consents/check/{subjectId}`
- Auth: API key in header `x-uc-api-key`
- TypeScript: <https://skmtc.dev/osano/apis/unified-consent-core-api/docs/v2/consents/check/:subjectId/get.ts> (a function with typed inputs; its response is checked against the schema)

Checks whether a subject has given consent in a configuration.

## Path parameters

- `subjectId` string, required

## Headers

- `x-country-code-override` string
- `x-region-code-override` string

## Response `200`

Default Response

- object
  - `exists` boolean

---

[API](https://skmtc.dev/osano/apis/unified-consent-core-api.md) - [All operations](https://skmtc.dev/osano/apis/unified-consent-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/osano/apis/unified-consent-core-api/revisions/669b3b5b4d06?raw)
