AutoCompose
Evaluate profanity
Get an evaluation of a text to verify if it contains profanity, obscenity or other unwanted words. This service should be called before sending a message to prevent the agent from sending profanities in the chat.
POST
/
autocompose
/
v1
/
profanity
/
evaluation
Authorizations
asapp-api-id
string
headerrequiredasapp-api-secret
string
headerrequiredBody
application/json
text
string
text to be checked for profanity
Response
200 - application/json
ProfanityResult
hasProfanity
boolean
A boolean value describing if the text contains a curse word.
Was this page helpful?