Skip to main content
Version: 1.0.1

Download archive link


Get a temporary download URL for the zip of a READY archive link.

Endpoint​

PropertyValue
URLPOST /archive-link/download
MethodPOST
AuthR-Auth: <company-jwt>
Content-Typeapplication/json
Base URLStage Environment https://api-fr-stage.docnova.ai/
Production Environment https://api-fr.docnova.ai/

Example Request​

curl --location '{{baseUrl}}/archive-link/download' \
--header 'Content-Type: application/json' \
--header 'R-Auth: {{companyJwt}}' \
--data-raw '{
"token": "{{token}}"
}'

Request body​

{
"token": "1bb56def-1031-4fbb-bb8c-69b49691f482"
}
FieldTypeRequiredDescription
tokenUUIDYesArchive link token from Create archive link or List archive links

Response​

{
"downloadUrl": "https://...",
"expiresInSeconds": 600
}

Response fields​

FieldDescription
downloadUrlTemporary URL of the zip file. Open it with a plain GET, no R-Auth header is needed
expiresInSecondsValidity of downloadUrl in seconds. Call this endpoint again for a new URL

Errors​

HTTPDescription
401Missing or expired JWT
403The user is not allowed to manage archive links for this company
404Archive link not found
409The link is not READY yet. Retry after the status changes
410The link has expired. Create a new one