curl -O https://api.okrapdf.com/v1/documents/doc-abc123/original.pdf \
-H "Authorization: Bearer okra_YOUR_KEY"
Documents
Download Original PDF
Download the original uploaded PDF.
GET
/
v1
/
documents
/
{id}
/
original.pdf
curl -O https://api.okrapdf.com/v1/documents/doc-abc123/original.pdf \
-H "Authorization: Bearer okra_YOUR_KEY"
Overview
Stream the original PDF that was uploaded for this document. Served from R2 with CDN caching.Request
string
required
Document ID (e.g.
doc-abc123) or 6-char short hash.curl -O https://api.okrapdf.com/v1/documents/doc-abc123/original.pdf \
-H "Authorization: Bearer okra_YOUR_KEY"
Response
Returns the raw PDF binary withContent-Type: application/pdf.