POST
/
autocompose
/
v1
/
profanity
/
evaluation
curl --request POST \
  --url https://api.sandbox.asapp.com/autocompose/v1/profanity/evaluation \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "text": "This is a perfectly decent sentence."
}'
{
  "hasProfanity": false
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

The parameters for getting a evaluation result of the text typed by the user.

The body is of type object.

Response

200
application/json

Successfully fetched a evaluation result of the sentence.

ProfanityResult