Skip to main content
GET
/
documents
/
{id}
Download a document file by prefixed ID
curl --request GET \
  --url https://lens-api.tic.io/documents/{id} \
  --header 'x-api-key: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.tic.io/llms.txt

Use this file to discover all available pages before exploring further.

Pro+ tier

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Prefixed document ID, e.g. FRF_123 or BDF_456

Query Parameters

inline
boolean

If true, PDFs render inline in the browser; if false, forces a download. Defaults: true for PDFs, false for other formats.

Response

Document file stream