Skip to content

Get document download URL

Request

Get a presigned download URL for a document. The URL is valid for 5 minutes. Use this URL to download the actual document file directly.

Security
ApiKeyAuth
Path
idstringrequired
curl -i -X GET \
  'https://api.pioneerft.com/api/public/v1/documents/{id}/download' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Successful response with download URL

Bodyapplication/json
dataobject
Response
{ "data": { "id": "string", "name": "string", "type": "string", "size": 0, "category": "string", "uploadedAt": "2019-08-24T14:15:22Z", "downloadUrl": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z" } }