List benefits
Changed onReturns a list of benefits.
get/benefits (COPY)
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
employeestring
Return benefits for this employee ID.
companystring
Return benefits for all employees of this company ID.
limitinteger
Number of benefits returned per page. The maximum value is 500.
include_externalboolean
Flag to indicate if to additionally expose external benefits in the list response. Defaults to false if not included.
Response
200
Example response
[
{
"id": "ben_lrcYUhTk1FVZl2vSCOBP",
"employee": "emp_kKTK4VafMNc5pIbI0G9x",
"benefit": "401k",
"description": "Guideline 401(k)",
"effective_start": "2020-01-01",
"company_contribution_percent": 1,
"employee_contribution_percent": 1
}
]Changes
- info
endpoint added
- info