Get Documents
Fetch tax/payroll documents such as tax returns and W-2s for an employer/employee.
get/documents
Request
- Base URLhttps://api.zeal.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
companyIDstring required
Company ID
idstring
Filter by id of employee or contractor to get documents for the given worker
Request body
unknown required
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"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.