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
- https://api.pioneerft.com/apihttps://api.pioneerft.com/api/public/v1/documents/{id}/download
- https://api.staging.pioneerft.com/apihttps://api.staging.pioneerft.com/api/public/v1/documents/{id}/download
curl -i -X GET \
'https://api.pioneerft.com/api/public/v1/documents/{id}/download' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'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" } }