I am trying to download an unsigned copy of my webform using bash and json, but I can't figure out how to do it. And I can't find anything in the API documentation about being able to do this. But the file has to exist somewhere because if you go to:
https://[my company].na3.adobesign.com/public/agreements/view/[ my widget id]?readerMode=true&type=widget
I am able to preview the unsigned document and download it.
I would recommend you get this working with first with Swagger: https://secure.na1.echosign.com/public/docs/restapi/v6#!/widgets/getWidgetView
I see you are also using wrong endpoint and the request is not properly formed. It will need to looks something like this:
You first need to get the list of documents in the web-form, since in some cases, there are multiple files that make it up.
Next, the call you need to use is also in our API and can be found here:
This will download the file stream of a specific document from a web-form.
Please let us know if this helps?