Detect profanity in a given text
Changed onDetect offensive or inappropriate language in user inputs. API v2 uses POST /score/text with a JSON body (not GET). Responses include risk_level and recommendation.
This method helps safeguard your website or app by detecting offensive or inappropriate language in user inputs. By screening for profanity and other harmful content before it’s made public, you can maintain a positive user environment, protect your brand, and prevent abusive behavior on your platform.
Request
- Base URLhttps://v2.greipapi.com
- URLhttps://v2.greipapi.com/score/text
- AuthHTTP bearer
Request body
Response
OK
Example response
{
"success": true,
"execution_ms": 42
}Changes
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api tag
Scoringadded - info
added the media type
application/jsonfor the response with the status
- breaking
- info
endpoint added
- info