Generate Report
Generate a report for the company and return it as a file. The response carries the file bytes base64-encoded along with its filename and content type, so CSV and XLSX come back the same way.
Authentication
X-Thera-API-Keystring
API Key authentication via header
Path parameters
companyId
Query parameters
reportType
Which report to generate.
Allowed values:
format
Output file format.
Allowed values:
includeTerminated
If true, include terminated employees. The Status column is always present in every row regardless of this flag.
Response
This endpoint returns an object.
filename
contentType
base64Content
The report file bytes, base64-encoded. Decode to a Blob using contentType and download using filename.

