import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const documentDownloadURLResponse = await client.documents.getDownloadURL('document_id');
console.log(documentDownloadURLResponse.download_url);