EaserixDocs
DevelopersAPI referenceSignDocuments

Get a download URL

Returns a 15-minute presigned URL. Defaults to the final signed artifact when it exists, else the original; force one with ?which. The URL carries an attachment disposition by default, so the browser saves it; ?disposition=inline makes the browser render it instead, which is what printing and in-tab previews need.

View as Markdown
GET
/v1/documents/{id}/file
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

which?string

Value in

  • "original"
  • "final"
disposition?string

Content-Disposition on the presigned URL. "attachment" (default) downloads; "inline" renders in the browser.

Default"attachment"

Value in

  • "attachment"
  • "inline"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/documents/string/file"
{  "url": "string",  "expiresIn": 0}