Get a report template

GET {{baseUrl}}/v1/companies/:company_uuid/report_templates/:report_type

Get a company's report template. The only supported report type is payroll_journal. The resulting columns and groupings from this endpoint can be used as a guidance to create the report using the POST create report endpoint.

scope: company_reports:write

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

{"columns":["regular_rate","regular_hours","regular_earnings"],"groupings":["payroll","employee"],"company_uuid":"p83d0ca8-7d41-42a9-834y-7d218ef6cb20","report_type":"payroll_journal"}