API referenceDocuments
Get a document's bytes
Needs a token with the read:documents scope (or write:documents). Authentication
Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.
GET
Streams the file through the API with its stored content type (PDF and images inline, everything else as an attachment). Supports Range and If-None-Match (the ETag is the file's SHA-256; 304 when unchanged).
bearerAuthheader
AuthorizationBearer <token>A personal API token, hvt_…, with scopes such as read:* or write:invoices
id*stringThe document's id.
The file's bytes.
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://app.helvetly.com/api/v1/documents/string/content'Example Response
"string"