---
title: "Get BlocklistItem By blocklistName And blocklistItemId"
method: GET
path: "/text/blocklists/{blocklistName}/blocklistItems/{blocklistItemId}"
---

# Get BlocklistItem By blocklistName And blocklistItemId

`GET /text/blocklists/{blocklistName}/blocklistItems/{blocklistItemId}`

Get blocklistItem by blocklistName and blocklistItemId from a text blocklist.

## Path parameters

- `blocklistName` string, required
- `blocklistItemId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- TextBlocklistItem — Item in a TextBlocklist.
  - `blocklistItemId` string, required — The service will generate a BlocklistItemId, which will be a UUID.
  - `description` string — BlocklistItem description.
  - `text` string, required — BlocklistItem content. The length is counted using Unicode code point.
  - `isRegex` boolean — An optional properties indicating whether this item is to be matched as a regular expression.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-contentsafety.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-contentsafety/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-contentsafety/revisions/d4969093cba0/schema)
