Cloud List Templates using cURL

This example shows how to get a list of templates stored on the cloud using cURL.  It calls the Docmosis REST API to return a list of templates currently stored in your account.

The sample code includes the instructions to get started. You will need a Free Trial and then plug your Docmosis Cloud access key into the code below, then run.

Note: This code sample is written to specifically work with DWS4.

The linux command:

curl -F accessKey=XXX https://us1.dws4.docmosis.com/api/listTemplates

will call the cloud service to list all the templates in the account.

The access key above is XXX which you should replace with your access key.

The region url above is for USA, for EU use https://eu1.dws4.docmosis.com/api/listTemplates
for AUS use https://au1.dws4.docmosis.com/api/listTemplates

Feedback

Invalid Input

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam. Please also consider contacting support@docmosis.com if you need help with this article.

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Invalid Input

Applies To

Docmosis-Java Tornado Cloud
Version(s) - - DWS4