Download Document

GET/document/{accountId}/documents/download

Returns a temporary pre-signed download URL for the specified account document. Use that link to download the binary within the next two minutes.

Path Parameters

accountIdstringrequired

Account identifier

Query Parameters

fullPathstringrequired

Full path of the document as returned by the List Documents endpoint

Response

200application/json

Temporary download URL

sstring

Response status indicator

dobject
d.urlstring

Temporary pre-signed download URL

errormsgstringnull

Error message when s is not ok

Response

401application/json

Unauthorized — missing or invalid authentication

sstring
errormsgstring

Response Example

{
  "s": "ok",
  "d": {
    "url": "https://example.com/download/temporary-link"
  },
  "errormsg": null
}