Headers
Path Parameters
Response
Successful Response
The response is of type any.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.documents.downloadFile('document_id');
console.log(response);"<any>"Download the actual file content for a document. This endpoint is used for local storage when file:// URLs cannot be accessed by browsers.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.documents.downloadFile('document_id');
console.log(response);"<any>"Successful Response
The response is of type any.
Was this page helpful?