The following page describes the steps to test Documents API Reference.
To upload a document to the repository:
-
Select the Base URL based on your region.
-
Enter the SID in the SID field.
-
Select the file to upload. You can either upload a file from your local drive or from the network drive.
-
Enter the API-Key in the api-key field.
-
Click on the Try It! button in the CURL REQUEST window.
A sample API Reference page is shown below.

The file gets uploaded into the repository.
The Success response is shown in the Response window.
To list all documents:
- Select the Base URL based on your region.
- Enter the SID in the SID field.
- Enter the API-Key in the api-key field.
- Click Try It!.
All the documents' details are shown in the Response window.
To Delete a ocument from the repository:
- Select the Base URL based on your region.
- Enter the SID in the SID field.
- In the BODY PARAMS section:
- Click '+' in the Add Field section.
- Add 'id' in place of newKey.
- Add the document id of the document you want to delete in place New Value.
- Click Try It!.
The specified document is deleted from the repository.
To rename a document:
- Select the Base URL based on your region.
- Enter the SID in the SID field.
- In the BODY PARAMS section, you must specify the document id of the document you want to rename and enter the new title for the document.
- Click '+' in the Add Field section.
- Add 'id' in place of newKey.
- Add the document id of the document you want to delete in place New Value.
- Click '+' in the Add Field section to add another field.
- Add 'title' in place of newKey.
- Add the new title for the document in the New Value.
- Click Try It!.
The document that you specified is renamed to the new title.