v1

latestOpenAPI 3.1.02026-08-04552282508.9 KB
Excel Processing

Generate Excel

Generate Excel file from JSON data using MCP server.

This is the ONLY way to handle JSON to Excel conversions. The workflow is:

  1. User's document data is provided as JSON
  2. MCP service converts JSON to CSV
  3. If template provided, map fields to Excel template
  4. Return base64-encoded Excel file for download

Args: request: Contains json_data, optional mappings, and optional template_workbook or template_id

Returns: GenerateExcelResponse with base64-encoded Excel file

post/api/excel/generate

Request body

json_dataobject required
mappingsobject[] nullable
template_workbookstring nullable
template_idstring nullable

Response

Successful Response

successboolean required
excelstring required
filenamestring required
errorstring nullable