Get a file
The file, with a fresh one-hour download_url when it's ready.
GET /v1/files/{id}
Request
curl https://api.fynepdf.com/v1/files/file_01jc8x4m2k9q7r3t5vwy6z \
-H "Authorization: Bearer $FYNEPDF_API_KEY"Path and query parameters
| Parameter | Type | Required | What it does |
|---|---|---|---|
id | string | yes |
Response
The file.
| Field | Type | Required | What it does |
|---|---|---|---|
object | "file" | yes | |
id | string | yes | |
filename | string | yes | |
content_type | string | yes | |
kind | string | yes | |
bytes | integer or null | yes | |
pages | integer or null | yes | |
status | "pending" · "ready" · "deleted" · "expired" | yes | |
source | "upload" · "url" · "multipart" · "job" · "library" | yes | |
job_id | string or null | yes | |
created_at | string | yes | |
expires_at | string | yes | |
download_url | string or null | yes | A signed link valid for one hour; ask again for a fresh one. |
Errors
Errors are problem details (RFC 9457) with a code you can branch on and a request_id for support.