Javascript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const response = await client.documents.getDownloadURL('document_id'); console.log(response.download_url);
{ "download_url": "<string>", "expires_in": 123 }
Get a download URL for a specific document.
URL expiration time in seconds
Successful Response
Response for document download URL endpoint
Was this page helpful?