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

# Detect profanity and match against custom and shared blacklists

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

Detects profanity in more than 100 languages and match against custom and shared blacklists.

## 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 — The response for a Screen text request.
  - `OriginalText` string — The original text.
  - `NormalizedText` string — The normalized text.
  - `AutoCorrectedText` string — The autocorrected text
  - `Misrepresentation` string[] — The misrepresentation text.
  - `Classification` Classification — The classification details of the text.
    - `Category1` object — The category1 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.
      - `Score` number — The category1 score.
    - `Category2` object — The category2 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.
      - `Score` number — The category2 score.
    - `Category3` object — The category3 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.
      - `Score` number — The category3 score.
    - `ReviewRecommended` boolean — The review recommended flag.
  - `Status` Status — Status properties.
    - `Code` integer — Status code.
    - `Description` string — Status description.
    - `Exception` string — Exception status.
  - `PII` PII — Personal Identifier Information details.
    - `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 SSN in the input text content.
      - `Index` integer — Index(Location) of the SSN 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 — CountryCode 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 Terms list Id.
    - `Term` string — Detected profanity term.
  - `TrackingId` string — Unique Content Moderator transaction Id.

## Other responses

- `default` — Error response.

## Changes

- **2018-04-17** `29dcd8a63f89` — 1 info
  - the `query` request parameter `language` became optional

[Change history](https://skmtc.dev/azure/apis/content-moderator-client/changes/contentmoderator/moderate/v1.0/ProcessText/Screen/post.md)

---

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