Skip to main content
Search public files

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
filesQuery
object

Search query the files are matched against. Omit it to page through all of them.

publicHash
string | null

Public link to look the file up by, for when a client holds the link and needs to find out which file is behind it. The file's own hash is read out of the link and matched against it, on top of whatever else the query asks for.

Response

Returns the matching public files and the total number of matches.

results
object[]

The matching files of this page.

total
number

How many files match in total, whatever the size of this page.

Example:

37