The linux command: curl -F templateFile=@NewTemplate.docx -F accessKey=XXXX https://us1.dws4.docmosis.com/api/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. The region url above is for USA, for EU use https://eu1.dws4.docmosis.com/api/uploadTemplate for AUS use https://au1.dws4.docmosis.com/api/uploadTemplate