Skip to main content
GET
Returns all documents associated with a given employee. For a company-wide view across all employees, use List All Documents instead.
Check downloadable on each result before calling Download Document. Documents with downloadable: false cannot be fetched as binary files.

Path Parameters

integer
required
The unique numeric ID of the employee whose documents to list.

Query Parameters

Full-text search across document names.
integer
default:"1"
Page number to return. Starts at 1.
integer
default:"10"
Number of results per page. Maximum is 100.
string
default:"desc"
Sort direction. Allowed values: asc, desc.

Response

object
required

Authorizations

Authorization
string
header
required

HTTP Basic Auth using your API key credentials. Use the username and password issued from the Developer Portal. Encode them as Base64(username:password) and pass in the Authorization: Basic <token> header.

Path Parameters

id
integer
required

The unique numeric ID of the employee whose documents to list.

Query Parameters

search
string | null

Search across document names.

page
integer | null
default:1

Page number to return. Starts at 1.

Required range: x >= 0
perPage
integer | null
default:10

Number of results per page. Maximum is 100.

Required range: 0 <= x <= 100
sortOrder
enum<string> | null
default:desc

Sort direction — asc for ascending, desc for descending.

Available options:
asc,
desc

Response

200 - application/json

A paginated list of the employee's documents.

data
object
required