Grist Octri Preview
GET/docs/{docId}/download/xlsx

Download a document as an Excel file

Downloads a document's content as an Excel file. Use tableId to select a table, and choose header to format column headers as normalized column IDs or more human-friendly labels.

3 parameters
docIdstringrequired
The UUID of the document to download.
headerstringoptional
Format for column headers: `colId` for normalized column IDs or `label` for more human-friendly labels.
Allowed:colIdlabel
tableIdstringoptional
The normalized name of the table to include.

1 status code
200Returns the document's content as an Excel file.

Error handling

docId must be a document UUID that identifies an existing document. If supplied, header must be colId or label; tableId must be a normalized table name.