Text Moderation
Moderate Text
Instantly flag hateful, explicit, toxic, or otherwise risky content in any text.
POST
Request
Path Parameters
A unique scan id provided by you. We recommend you use the same id in your database to represent the scan in the Copyleaks database. Learn more about the criteria for creating a Scan ID.
>= 3 characters <= 36 charactersHeaders
Request Body
The request body is a JSON object containing the text to scan.Text to produce Text Moderation report for.
>= 1 characters <= 25000 charactersUse sandbox mode to test your integration with the Copyleaks API without consuming any credits.
The language code of your content. If the
language field is not specified, our system will automatically detect the language of the content.Example: "en"A list of label configurations to be used for the moderation process.
Responses
- 200
- 400
- 401
- 402
- 429
200 OK - The moderation report was returned successfully.

