Validate
Profanity
Check any text for profanity.
POST
/
v1
/
validate
/
profanity
Params
text
string
requiredThe text to validate.
censor_replacement
string
default: "*"requiredThe character to replace profanity with.
Header
x-api-key
string
requiredYour JigsawStack API key
Response
success
boolean
Indicates whether the call was successful.
message
string
The message returned by the API.
clean_text
string
The text with profanity replaced by the censor_replacement character.
profanities
array
An array of profanities found in the text.
profanities_found
integer
The number of profanities found in the text.
Was this page helpful?