ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Callback handler

Hi team,
I am using docEditor to edit the document. Is there a way to add additional parameters in the callback handler? I want to add a custom parameter and want to get in post request of callback handler.
I have files from different locations and want to identify in the callback on which location I have to save the file.
Please see attached for more information.

Thanks

I want to add in config and get in callback handler request.

Hello,
There is no way to add custom information to the messages sent by the document server to the callback handler. However, you can add the required parameters to the callbackUrl itself. For example, in our embedded integration example (available as ds:example service) the callbackUrl is formed like this:
"callbackUrl": "https://documentserveraddress/example/track?filename=new.docx&useraddress=xxx.xxx.xxx.xxx"

Ok, Thank you for your response!