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.
Authentication
X-Thera-API-Keystring
API Key authentication via header
Path parameters
companyId
Query parameters
teamId
If set, restrict the archive to contracts on this team. Must be a team the caller has permission to view.
Response
This endpoint returns an object.
filename
contentType
base64Content
The zip archive bytes, base64-encoded. Decode to a Blob using contentType and download using filename.
contractCount
How many signed contracts are in the archive.
skippedCount
How many signed contracts were left out because their stored file could not be read. Non zero means the archive is incomplete.

