Generate a pre-signed download URL for an existing file in REMOTE_FILE_MANAGER bucket
Security
apiKey
- Mock serverhttps://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/remote-file/generate_download_url/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/content/remote-file/generate_download_url/
curl -i -X POST \
'https://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/remote-file/generate_download_url/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"file_key": "123/files/document_abc123.pdf",
"expires_in": 3600
}'Download URL generated successfully
Response
{ "file_key": "123/files/document_abc123.pdf", "download_url": "https://s3.amazonaws.com/REMOTE_FILE_MANAGER/123/files/document_abc123.pdf?AWSAccessKeyId=...", "expires_in": 3600 }