AutoCompose
Check for spelling mistakes
Get spelling correction for a message as it is being typed, if there is a misspelling. Only the current word will be corrected, once it’s fully typed (so it is recommended to call this endpoint after space characters).
POST
Body
application/json
The parameters for getting a spelling correction as a message is being typed.
text being typed by the agent, already entered into the composer
Words that should not be corrected if they are present on the text
Response
200
application/json
Successfully checked for a spelling mistake.
ID for the spelling correction that was returned (to be used in analytics events)
misspelling that needs to be replaced with the corrected text
correction for the misspelling
position where the misspelling starts
Was this page helpful?