KumkuatKumkuat
API reference › Documents

Download a document's stored file

GET/api/v1/documents/{doc_id}/content

GET/api/v1/documents/{doc_id}/content

Download a document's stored file

Stream the stored file for a document, authorized per request.<br/><br/>This is the authenticated replacement for handing out public bucket URLs<br/>(KUM-1315): the objects become private, and callers read them through here<br/>so that access is re-checked every time rather than living forever in a URL.

PARAMETERS
doc_idpath · stringREQUIRED
Document id.
e.g. string
In the full reference
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/documents/string/content" \
  -H "X-API-Key: YOUR_KEY"
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.