API for saving files

After I installed OnlyOffice in Docker, I imported the local OnlyOffice JavaScript files and SDK via an HTML file, which then pointed to a local Excel file of mine. I set the HTML to edit mode, and also launched a new port to run a JavaScript API for saving files. Testing with the Postman tool confirmed that the file could be saved successfully. However, when I access the Excel spreadsheet in this HTML file via a web browser and try to save after editing, I find that no JavaScript request is sent to the save API with the modified file — this results in my edits not being saved at all. Could you please tell me how to properly implement the save functionality?

Hi, @asf !

In ONLYOFFICE Docs, saving is handled through the callbackUrl: after editing is finished, Document Server sends a callback request to your storage service, and your backend must download and store the updated file.

Please check these guides and reconfigure the integration step by step according to the documentation:

Please note that when local links are used, JWT must be configured correctly, otherwise opening and saving may not work as expected.

Please try to set it up once again strictly according to the documentation above. If the issue still persists after that, send us your current editor configuration, and we will check it further.