Get W-2 Preview Report
Changed onReturns a preview of W-2 data for all employees as of the current date for a specified year.
get/companies/{company}/reports/w2_preview
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companystring required
Returns employee W-2 data for this company ID
Query parameters
yearstring
Returns employee W-2 data related to this year (defaults to current year).
include_idsboolean
Includes employee IDs in response. Applies to JSON responses only.
employeestring
Returns employee W-2 data for the specified employee ID. Applies to PDF responses only.
Headers
Acceptstring
application/json , text/csv , or application/pdf
Response
200
object required
Changes
- info
endpoint added
- info