Get company benefit summary by company benefit id.

GET {{baseUrl}}/v1/company_benefits/:company_benefit_id/summary?start_date=<string>&end_date=<string>&detailed=<boolean>

Returns summary benefit data for the requested company benefit id.

Benefits containing PHI are only visible to applications with the company_benefits:read:phi scope.

scope: company_benefits:read

Request Params

KeyDatatypeRequiredDescription
start_datestringThe start date for which to retrieve company benefit summary
end_datestringThe end date for which to retrieve company benefit summary. If left empty, defaults to today's date.
detailedstringDisplay employee payroll item summary

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Acceptstring

RESPONSES

status: OK

{&quot;start_date&quot;:&quot;2022-01-01&quot;,&quot;end_date&quot;:&quot;2022-12-31&quot;,&quot;description&quot;:&quot;Simple IRA&quot;,&quot;company_benefit_deduction&quot;:60,&quot;company_benefit_contribution&quot;:30,&quot;employees&quot;:[{&quot;uuid&quot;:&quot;54b7114f-f5e2-4f4b-911b-5cd5ad9032b0&quot;,&quot;company_benefit_deduction&quot;:60,&quot;company_benefit_contribution&quot;:30,&quot;benefit_deduction&quot;:660,&quot;benefit_contribution&quot;:330,&quot;gross_pay&quot;:18000,&quot;payroll_benefits&quot;:[{&quot;payroll_uuid&quot;:&quot;8cc3471b-9da5-47df-88ea-f238c7cb968b&quot;,&quot;payroll_type&quot;:&quot;Regular&quot;,&quot;check_date&quot;:&quot;2022-03-01&quot;,&quot;gross_pay&quot;:3000,&quot;company_benefit_deduction&quot;:10,&quot;company_benefit_contribution&quot;:5,&quot;pay_period&quot;:{&quot;start_date&quot;:&quot;2022-02-01&quot;,&quot;end_date&quot;:&quot;2022-02-28&quot;}},{&quot;payroll_uuid&quot;:&quot;d9d92786-722b-4bf7-bb32-79140418d349&quot;,&quot;payroll_type&quot;:&quot;Bonus&quot;,&quot;check_date&quot;:&quot;2022-12-31&quot;,&quot;gross_pay&quot;:3000,&quot;company_benefit_deduction&quot;:20,&quot;company_benefit_contribution&quot;:10,&quot;pay_period&quot;:{&quot;start_date&quot;:&quot;nil&quot;,&quot;end_date&quot;:&quot;nil&quot;}}]}]}