Skip to content
Get started

Download document file content

client.documents.download(stringid, RequestOptionsoptions?): Response
get/documents/{id}/download

Download the binary content of the document file

ParametersExpand Collapse
id: string
ReturnsExpand Collapse
unnamed_schema_1 = Response
Download document file content
import Luminary from 'withluminary';

const client = new Luminary();

const response = await client.documents.download('id');

console.log(response);

const content = await response.blob();
console.log(content);
Returns Examples