v1
latestOpenAPI 3.1.02026-07-2414339465.7 KBGet Documents
Fetch tax/payroll documents such as tax returns and W-2s for an employer/employee.
get/documents
Query parameters
companyIDstring required
Company ID
idstring
Filter by id of employee or contractor to get documents for the given worker
Request body
{"stackTrail":"paths:/documents:get:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
200
Example response
{
"success": true,
" data": [
{
"companyID": "1b5n28nrideucd24",
"type": "W2",
"description": "2024 Wage and Tax Statement (Form W2)",
"id": "1234567891",
"link": "https://test-documents.s3.amazonaws.com/1cccxx344ideucd24-2023-W2-1234567890-document"
}
]
}