Skip to Content
HelvetlyDocs
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
/api/v1/documents/{id}/content

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).

Authorization

bearerAuth
headerAuthorizationBearer <token>

A personal API token, hvt_…, with scopes such as read:* or write:invoices

Path Parameters

id*string

The document's id.

Response Body

The file's bytes.

response?fileapplication/octet-stream
Formatbinary
Example Request
curl -X GET 'https://app.helvetly.com/api/v1/documents/string/content'
Example Response
"string"