Skip to main content
GET
/
v1
/
public
/
files
/
{file_id}
/
download
Download file by ID
curl --request GET \
  --url https://api.poelis.com/v1/public/files/{file_id}/download \
  --header 'Authorization: Bearer <token>'
{
  "error": "unauthorized",
  "message": "Invalid or missing API key"
}

Documentation Index

Fetch the complete documentation index at: https://docs.poelis.com/llms.txt

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

Authorizations

Authorization
string
header
required

Enter your API key. Example: Bearer poelis_api_...

Path Parameters

file_id
string
required

Query Parameters

product_id
string | null

Required when version is provided. Product ID used for snapshot resolution.

version
string | null

Product version number (integer) or 'baseline'. Omit or null for draft.

format
enum<string> | null

Required for documents created or generated inside Poelis: docx or pdf. Ignored for standard file downloads.

Available options:
docx,
pdf

Response

Binary file response with Content-Disposition attachment header.