Skip to main content
GET
/
v1
/
files
/
{id}
/
bytes
curl https://api.okrapdf.com/v1/files/file_abc123/bytes \
  -H "Authorization: Bearer $OKRA_API_KEY" \
  -o report.pdf

Overview

Downloads the original private file bytes. Requires authentication.
id
string
required
File ID.
curl https://api.okrapdf.com/v1/files/file_abc123/bytes \
  -H "Authorization: Bearer $OKRA_API_KEY" \
  -o report.pdf