Skip to main content
GET
/
documents
/
download
Get a presigned download URL
curl --request GET \
  --url https://api.sftpsync.io/documents/download \
  --header 'x-api-key: <api-key>'
{
  "url": "<string>",
  "filename": "<string>",
  "mimetype": "<string>",
  "size": 123,
  "expiresIn": 123
}

Authorizations

x-api-key
string
header
required

Query Parameters

connectionId
string
required
path
string
required

Response

200 - application/json

Presigned download URL

url
string<uri>
required
filename
string
required
mimetype
string
required
size
integer
required
expiresIn
integer
required