Overview / People & HR / Download the document file

Download the document file

get https://api.flactrum.com/v1/employee-documents/{document}/download

Returns the file, not JSON. Documents are personal data and are stored on a private disk, so there is no public URL.

Required scope employees.read
Success status200

Parameters

NameInTypeDescription
document * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/employee-documents/01m43mzefmz6yz6z46qvv4r25s/download' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/pdf

(file download — the body is the report itself, not JSON)