Skip to main content
GET
/
v1
/
tables
/
{table_id}
/
export
// Export as JSON
const data = await client.export.json("tbl_abc123");
console.log(data); // [{ name: "...", price: 29.99 }, ...]

// Export specific columns as CSV
const csv = await client.export.csv("tbl_abc123", {
  columns: "name,price,url",
});

// Export as XLSX
const xlsx = await client.export.xlsx("tbl_abc123");

// Export images as ZIP
const images = await client.export.images("tbl_abc123");

Path parameters

table_id
string
required
The unique identifier of the table.

Query parameters

format
string
required
Export format. One of: csv, xlsx, json, images.
columns
string
Comma-separated list of column keys to include. Omit to export all columns.

Response

The response depends on the chosen format:
FormatContent-TypeDescription
csvtext/csvSemicolon-delimited CSV file.
xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetExcel spreadsheet.
jsonapplication/jsonJSON array of row objects.
imagesapplication/zipZIP archive of all images from image columns, organized by row.
// Export as JSON
const data = await client.export.json("tbl_abc123");
console.log(data); // [{ name: "...", price: 29.99 }, ...]

// Export specific columns as CSV
const csv = await client.export.csv("tbl_abc123", {
  columns: "name,price,url",
});

// Export as XLSX
const xlsx = await client.export.xlsx("tbl_abc123");

// Export images as ZIP
const images = await client.export.images("tbl_abc123");