POST
/
autocompose
/
v1
/
spellcheck
/
correction

Authorizations

asapp-api-id
string
headerrequired
asapp-api-secret
string
headerrequired

Body

application/json
text
string
required

text being typed by the agent, already entered into the composer

typingEvent
object
required
userDictionary
string[]

Words that should not be corrected if they are present on the text

Response

200 - application/json
id
string

ID for the spelling correction that was returned (to be used in analytics events)

misspelledText
string

misspelling that needs to be replaced with the corrected text

correctedText
string

correction for the misspelling

position
integer

position where the misspelling starts