The linux command: curl -F templateFile=@NewTemplate.docx -F accessKey=XXXX https://dws2.docmosis.com/services/rs/uploadTemplate will call the cloud service to upload the template from the local file NewTemplate.docx. The access key above is XXX which you should replace with your access key.