---
title: "Detect profanity and match against custom and shared blocklists"
method: POST
path: "/contentmoderator/moderate/v1.0/ProcessText/Screen/"
tags: ["TextModeration"]
---

# Detect profanity and match against custom and shared blocklists

`POST /contentmoderator/moderate/v1.0/ProcessText/Screen/`

Detects profanity in more than 100 languages and matches against custom and shared blocklists.

## Query parameters

- `language` string
- `autocorrect` boolean
- `PII` boolean
- `listId` string
- `classify` boolean

## Headers

- `Content-Type` 'text/plain' | 'text/html' | 'text/xml' | 'text/markdown', required

## Response `200`

Status 200.

- Screen — Response for a screen text request.
  - `OriginalText` string — Original text.
  - `NormalizedText` string — Normalized text.
  - `AutoCorrectedText` string — Autocorrected text.
  - `Misrepresentation` string[] — Misrepresentation text.
  - `Classification` Classification — Classification details of the text.
    - `Category1` object — Category1 score details of the text. For more details on category classification, see <a href="https://aka.ms/textClassifyCategories">this article</a>.
      - `Score` number — Category1 score.
    - `Category2` object — Category2 score details of the text. For more details on category classification, see <a href="https://aka.ms/textClassifyCategories">this article</a>.
      - `Score` number — Category2 score.
    - `Category3` object — Category3 score details of the text. For more details on category classification, see <a href="https://aka.ms/textClassifyCategories">this article</a>.
      - `Score` number — Category3 score.
    - `ReviewRecommended` boolean — Review-recommended flag.
  - `Status` Status — Status properties.
    - `Code` integer — Status code.
    - `Description` string — Status description.
    - `Exception` string — Exception status.
  - `PII` PII — Details about personally identifiable information.
    - `Email` Email[]
      - `Detected` string — Detected email address from the input text content.
      - `SubType` string — Subtype of the detected email address.
      - `Text` string — Email address in the input text content.
      - `Index` integer — Index (location) of the email address in the input text content.
    - `SSN` SSN[]
      - `Text` string — Detected social security number in the input text content.
      - `Index` integer — Index (location) of the social security number in the input text content.
    - `IPA` IPA[]
      - `SubType` string — Subtype of the detected IP address.
      - `Text` string — Detected IP address.
      - `Index` integer — Index (location) of the IP address in the input text content.
    - `Phone` Phone[]
      - `CountryCode` string — Country/region code of the detected phone number.
      - `Text` string — Detected phone number.
      - `Index` integer — Index (location) of the phone number in the input text content.
    - `Address` Address[]
      - `Text` string — Detected address.
      - `Index` integer — Index (location) of the address in the input text content.
  - `Language` string — Language of the input text content.
  - `Terms` DetectedTerms[]
    - `Index` integer — Index (location) of the detected profanity term in the input text content.
    - `OriginalIndex` integer — Original index (location) of the detected profanity term in the input text content.
    - `ListId` integer — Matched ID in the term list.
    - `Term` string — Detected profanity term.
  - `TrackingId` string — Unique Content Moderator transaction ID.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/azure/apis/content-moderator-client.md) · [All operations](https://skmtc.net/azure/apis/content-moderator-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/content-moderator-client/revisions/463151b3b84e/schema)
