api > thera > company > Company

Download Signed Contracts

Bundle every signed contract PDF for a company into a single zip. Returns the zip bytes base64-encoded plus its filename and content type, matching generateReport. Only contracts the caller may view are included; optionally narrowed to one team.

get/companies/{companyId}/contracts/signed-files/zip

Request

  • Base URL: https://api.getthera.com
  • URL: https://api.getthera.com/companies/{companyId}/contracts/signed-files/zip
  • Auth: API key in header X-Thera-API-Key

Path parameters

companyIdstring required

Query parameters

teamIdstring

If set, restrict the archive to contracts on this team. Must be a team the caller has permission to view.

Response

Response with status 200

filenamestring required
contentTypestring required
base64Contentstring required

The zip archive bytes, base64-encoded. Decode to a Blob using contentType and download using filename.

contractCountinteger required

How many signed contracts are in the archive.

skippedCountinteger required

How many signed contracts were left out because their stored file could not be read. Non zero means the archive is incomplete.

Changes

No recorded changes to this operation across all 1 revision of this API.