curl --request GET \
--url https://api.mijnklantportaal.nl/v1/file-requests \
--header 'Authorization: Bearer <token>'{
"current_page": 1,
"data": [
{
"id": "frq_abc12345678",
"name": "Contract renewal",
"description": "We need these files to complete your contract renewal",
"directoryId": "fsd_abc123456789",
"customerId": "cst_abc123456789",
"requestedFiles": [
{
"id": "fqf_abc123456789",
"name": "Logo",
"description": "The logo we should put on your website",
"required": true,
"maxFileSize": 10240,
"uploadedFileId": "fsf_abc123456789"
}
],
"completedAt": "2024-04-29T21:00:00+02:00",
"createdAt": "2024-04-29T21:00:00+02:00",
"links": {
"customer": {
"href": "https://api.mijnklantportaal.nl/v1/customers/cst_abc12345def678",
"type": "<string>"
},
"publicRequest": {
"href": "<string>",
"type": "<string>"
}
}
}
],
"first_page_url": "https://api.mijnklantportaal.nl/v1/file-requests?page=1",
"from": 1,
"next_page_url": "https://api.mijnklantportaal.nl/v1/file-requests?page=2,",
"path": "https://api.mijnklantportaal.nl/v1/file-requests",
"per_page": 15,
"prev_page_url": null,
"to": 15
}Getting all your File Request entities as paginated response
curl --request GET \
--url https://api.mijnklantportaal.nl/v1/file-requests \
--header 'Authorization: Bearer <token>'{
"current_page": 1,
"data": [
{
"id": "frq_abc12345678",
"name": "Contract renewal",
"description": "We need these files to complete your contract renewal",
"directoryId": "fsd_abc123456789",
"customerId": "cst_abc123456789",
"requestedFiles": [
{
"id": "fqf_abc123456789",
"name": "Logo",
"description": "The logo we should put on your website",
"required": true,
"maxFileSize": 10240,
"uploadedFileId": "fsf_abc123456789"
}
],
"completedAt": "2024-04-29T21:00:00+02:00",
"createdAt": "2024-04-29T21:00:00+02:00",
"links": {
"customer": {
"href": "https://api.mijnklantportaal.nl/v1/customers/cst_abc12345def678",
"type": "<string>"
},
"publicRequest": {
"href": "<string>",
"type": "<string>"
}
}
}
],
"first_page_url": "https://api.mijnklantportaal.nl/v1/file-requests?page=1",
"from": 1,
"next_page_url": "https://api.mijnklantportaal.nl/v1/file-requests?page=2,",
"path": "https://api.mijnklantportaal.nl/v1/file-requests",
"per_page": 15,
"prev_page_url": null,
"to": 15
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paginated response with File Requests
Current page of the response
1
Array of File Request objects
Show child attributes
Endpoint to go to the first page of objects
"https://api.mijnklantportaal.nl/v1/file-requests?page=1"
Offset of the current page
1
Endpoint to get the next batch of objects, if available
"https://api.mijnklantportaal.nl/v1/file-requests?page=2,"
Current used endpoint
"https://api.mijnklantportaal.nl/v1/file-requests"
Amount of object returned per page. Default is 15 objects
15
Endpoint to get the previous batch of object, if available
null
Next offset of objects
15