POST
Upload a file up to 5 MB to the Truthlocks asset store. Assets are stored with AES-256 server-side encryption (AES-256) at rest and served with proper /v1/assets/uploadContent-Type headers and caching.
Use this endpoint for logos, evidence files, supporting documentation, and other attachments that need to be referenced from your tenant resources.
Parameters
The file to upload. Send as
multipart/form-data. Maximum size is 5 MB.Optional tag describing the asset’s intended use. Common values:
logo, evidence, documentation, branding.Responses
Retrieve asset
GET
Retrieve a previously uploaded asset by its ID. The response streams the file with the original /v1/assets/{id}Content-Type and a Cache-Control: public, max-age=86400, immutable header.
Parameters
The asset ID returned from the upload endpoint.
