Convert SDT elements to text

This API checks if the document contains any SDT (Structured Document Tag) elements like date pickers or drop-down lists from Microsoft Word's Developer tab,
removes those content controls, and converts them to plain text elements. The API then opens the converted checked-out document in a new Word instance.
OfficeJS doesn't support SDT elements except rich text format (RTF) fields (https://docs.microsoft.com/en-us/javascript/api/word/word.contentcontrolcollection?view=word-js-preview)

Language
Authorization
Bearer
JWT
URL
Click Try It! to start a request and see the response here!