Hello,
Thank you for your question.
The "Text Document" is not supported by our Web APIs.
At the moment, MyScript iink web supports text and math content parts using the WebSocket protocol and text, math, raw content and diagram using the REST protocol.
For further details, please refer to this topic.
Best regards,
Gwenaëlle
Maweier
my header is like {'Accept': 'application/x-latex, application/mathml+xml, application/vnd.myscript.jiix, image/jpeg, image/png, application/mathofficeXML, application/vnd.myscript.iink, application/vformats-officedocument.wordprocessingml.document, text/html, text/plain', 'applicationKey': '*****', 'Content-Type': 'application/json'}
cheers!