/deal-applications/{application_id}/submission-package/files/{file_id}/download-url/Request a fresh download URL for the retained original. This endpoint always returns JSON. GET file_url without forwarding your API key. Request a new URL each time; hosted storage links expire after five minutes. A missing original returns 404. This does not retry preparation or submit the application again. Retained supporting files remain available if PDF preparation failed.
- Required permissions
deal_applications:read- Available scopes
- Entire Portal or Selected source channels
Headers and URL parameters
| Name | Location | Type | Required |
|---|---|---|---|
application_idView parameter schema | path | string | Yes |
file_idView parameter schema | path | string | Yes |
Example request
curl --request GET \
--url "https://api.levr.ai/v1/deal-applications/$APPLICATION_ID/submission-package/files/$FILE_ID/download-url/" \
--header "Authorization: Bearer $LEVR_API_KEY"Responses
| Status | What it means |
|---|---|
200 | Successful response. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
400 | Correct the request fields and try again. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
401 | Provide a valid API key and try again. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
403 | This API key does not allow the requested action. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
404 | The requested resource was not found or is not available to this API key. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
429 | Too many requests were sent. Wait before trying again. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
500 | Levr could not complete the request. Keep the request ID and retry when safe. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
503 | The request was not completed. View response headers
View response schemaIllustrative data. Use the identifiers, cursors, and URLs returned by your requests. View example response |
