Skip to main content
GET
/
files
List Files and Directories
curl --request GET \
  --url https://api.mijnklantportaal.nl/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "fsf_abc12345678",
      "type": "file",
      "name": "contract_v2.pdf",
      "size": 1284,
      "mime": "application/pdf",
      "fileShareId": "fss_abc12345678",
      "createdAt": "2024-04-29T21:00:00+02:00"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

directory
string

ID of the directory to get the files and directories from.

Example:

"fsd_abc12345678"

Response

200 - application/json

A non-paginated response with files and directories

data
object[]

Array of Payment Link objects

I