Return a “file download” response, not JSON. See here.
File is downloaded with original name, text content is downloaded with file name: “oht_<resource_uuid>.txt”
UUID of the desired resource.
(optional) Project ID, needed when requesting a resource that was uploaded by another user - e.g. as a project’s translation.
curl GET "https://app.getblend.com/api/2/resources/rsc-527116d8f07a02-60735023/download?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&project_id=654321"