Skip to content

Make your first API request

The reporting API is hosted at https://reports.iseag.ch/api/v1. The existing /api alias stays pinned to v1. Obtain an API key from your ISE contact or service administrator. Keep it in your server or connector connection, never in public browser code.

Download customer-report.docx and data.json. The template already contains the report schema required for validated filling.

Terminal window
curl --fail-with-body https://reports.iseag.ch/api/v1/docx/validatedfill \
-H "X-API-KEY: $REPORTING_API_KEY" \
-H "X-Culture: en-GB" \
-F 'file=@customer-report.docx' \
-F 'FillDataJson=<data.json' \
--output customer-report-filled.docx

The multipart fields are File and FillDataJson. On success, save the binary response as a DOCX; on failure, inspect the response body before opening it as a document.

POST path, below /api/v1 Purpose
/docx/fill Legacy compatible fill; ?validate=true selects strict filling.
/docx/validatedfill Require schema, validate data and evaluated bindings, return DOCX.
/docx/validate Run the same checks, returning { "valid": true } instead of a document.
/xlsx/generate Create a new workbook from sheet/table data.
/schema/infer Infer a schema from sample JSON.
/sample-data/generate Generate sample JSON from a schema.
/docx/schema/infer, /xlsx/schema/infer Attach an inferred schema to an uploaded template, optionally saving sample data.

Generated operation reference includes request fields, parameters, and responses from the API. The server’s interactive Swagger UI is development-only; this documentation is a static build artifact.

Strict DOCX filling requires exactly one readable attached schema, preserves literal JSON strings, and reports invalid evaluated bindings instead of returning a successful partial report. Legacy filling retains older marker transforms and response behavior. Do not switch existing callers to strict mode without checking their templates and data.

X-Culture controls report formatting; the HTTP default is de-CH. It is independent of the website language. Use explicit culture values in repeatable integrations.

Continue with errors and limits, Excel export, or template expressions.