Begin Editing a Document Online in Java

Looking for a simple and effective way to edit a document online? If so, you’ve come to the right place — the following API is the initial step in opening up the online editing process. Utilizing this innovative solution, you can create a secure URL to perform various editing operations on any kind of document, such as Word, Excel, or PowerPoint.

Image for post
Image for post

To install the SDK with Maven, add a reference to the repository in pom.xml:


Then, add a reference to the dependency:


Now, we can call the begin editing function with the following code:

// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.EditDocumentApi;

Once you have the URL, you can utilize our other APIs to perform further edition operations on your document. To retrieve your personal API key and gain access to 800 monthly calls across our API library, just head to the Cloudmersive website to create a free account.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store