Get uploads created via the Payroll API. Page size is ten and cannot be changed.
Query parameters
-
The page number to return in the list of records.
Minimum value is
1. Default value is1. -
Get uploads made for the specified employer only. This should be the employer ID from the Employer record, not the "external_reference" of the employer.
GET
/uploads
curl \
--request GET 'https://payroll-api.getpenfold.dev/v4/uploads' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"page_number": 1,
"page_size": 200,
"total_items": 1,
"items": [
{
"id": "string",
"employer_id": "string",
"put_destination_url": "string",
"created_at": "2026-05-04T09:42:00Z",
"updated_at": "2026-05-04T09:42:00Z",
"processing_started": "2023-03-01T11:00:00Z",
"processing_ended": "2023-03-01T12:00:00Z",
"processing_time": 47,
"total_errors": 10,
"contributions_created": 5,
"contributions_unprocessed": 0,
"contributions_already_existed": 0,
"employer_contributions": "500.34",
"employee_contributions": "734.11",
"total_contributions": "1234.45",
"filename": "papdis.csv",
"status": "Processed"
}
]
}
Response examples (400)
{
"error": "Bad request: invalid data provided.",
"validation_errors": [
{
"field": "email",
"message": "Email address is invalid."
}
]
}
Response examples (401)
{
"error": "Bad request: invalid data provided."
}
Response examples (404)
{
"error": "Bad request: invalid data provided."
}