HollyHR Developer Docs
  • Developer platform
  • GitHub
  • Sign in
  • Manage API keys
  • Start Here
  • Core API
  • AI and MCP
  • API Reference
  • Integrations
  • Recipes
  • Resources
Information
Meta
    Inspect the authenticated API key contextgetInspect the public API metadata catalogueget
Organisation
    Organisation guideFetch organisation account detailsgetList active organisation locationsget
People
    People guideList peoplegetCreate a personpostFetch one persongetUpdate a personpatchFetch one person's elevated personal profilegetFetch one person's profile avatar URLgetFetch a person's organisation linksgetFetch a person's custom-field valuesgetUpdate a person's custom-field valuespatchFetch a person's time-off balance explanationgetList a person's leave-balance ledger historygetCreate a leave-balance adjustmentpostEnd a personpostReactivate a personpostGet a person's employment detailsgetUpdate a person's employment detailspatchList a person's employment-history rowsgetCreate a person's employment-history entrypostFetch one employment-history rowgetCorrect an employment-history rowpatch
Employers
    Employers guideList employersgetAdd an employerpostFetch one employergetCorrect or archive an employerpatch
Org Units
    Org Units guideList organisation unitsgetCreate an organisation unitpostFetch one organisation unitgetArchive an organisation unitdeleteUpdate an organisation unitpatchReactivate an organisation unitpost
Working Patterns
    Working Patterns guideList working patternsgetCreate a working patternpostFetch one working patterngetArchive a working patterndeleteUpdate a working patternpatch
Time Off
    Time Off guideFetch a person's time-off balance explanationgetList a person's leave-balance ledger historygetCreate a leave-balance adjustmentpostList time-off recordsgetCreate a time-off recordpostList who is outgetFetch one time-off recordgetUpdate a time-off recordpatchApprove a pending time-off requestpostDecline a pending time-off requestpostCancel a time-off recordpostFetch time-off settingsgetUpdate time-off settingspatchList public holidays for the organisation countryget
Documents
    Documents guideList document metadatagetFetch one document metadata recordget
Custom Fields
    Custom Fields guideList API-visible custom-field definitionsgetFetch a person's custom-field valuesgetUpdate a person's custom-field valuespatch
Reference Data
    Reference Data guideList country reference datagetList profile status reference datagetList work type reference datagetList work place reference datagetList time-off status reference datagetList organisation time-off category reference datagetCreate a time-off categorypostFetch one time-off categorygetArchive a time-off categorydeleteUpdate a time-off categorypatchList document type reference dataget
Provider Mappings
    List active provider mappingsget
Exports
    Exports guidePayroll Readiness Export guideDownload the payroll readiness exportgetDownload the pay-period payroll changes exportget
Webhooks
    Webhook Management guideList webhooksgetCreate a webhookpostFetch one webhookgetDisable a webhookdeleteUpdate a webhookpatchRotate a webhook signing secretpostQueue a webhook test deliverypostList webhook deliveriesgetFetch webhook healthgetFetch one webhook deliverygetRedeliver a webhook deliverypost
Integrations
    Inspect integration readinessget
Schemas
HollyHR API Reference
HollyHR API Reference

Exports

Server
Download schema

Export packages for payroll handoff. By default they hold presence and change flags, not salary or personal values; a System Admin's time-limited grant (ADR-0009) can add salary, date of birth, gender and home address. Bank details are never included, and there are no native payroll/accounting connectors.


Download the payroll readiness export

GET
/api/v1
/payroll-readiness-export
Bearer

Returns the versioned HollyHR payroll readiness export package as JSON file payloads. This is a provider-neutral handoff for payroll review and bureau/accountant workflows, not a native payroll connector. The package includes safe operational identity, employment, organisation, working-time fields, and sensitive-field presence flags only. By default it never exports raw DOB, home address, compensation, bank, tax/government identifiers, payroll run data, or payslips. When the organisation has an active ADR-0009 payroll-financial export grant WITH its allow-API-exports toggle enabled, the granted value tiers (personal_setup and/or payroll_financial) are included as additional CSV columns; bank details are never included under any grant. The optional provider preset (currently xero_payroll_uk) adds provider-shaped upload-template and readiness files for that provider's employee-import workflow without widening the exported data. Existing workspaces keep version one until employer setup is activated. Activated workspaces must select employer_id and receive version two employer-specific files; unknown dated facts block a complete handoff. gap_report=true returns a clearly incomplete report without provider files or sensitive granted values.

Download the payroll readiness export › query Parameters

provider
​string · enum
Enum values:
xero_payroll_uk
employer_id
​string · maxLength: 1024 · pattern: ^employer_[A-Za-z0-9…
gap_report
​string · enum
Enum values:
true
false

Download the payroll readiness export › Responses

A safe payroll readiness export package.

PayrollReadinessExportResponse
​object · required
GET/payroll-readiness-export
curl /api/v1/payroll-readiness-export \ --header 'Authorization: Bearer <token>'
Example Responses
{ "data": { "format": "hollyhr-payroll-readiness-export", "version": 1, "provider": "xero_payroll_uk", "generated_at": "2024-08-25T15:00:00Z", "files": [ { "filename": "filename", "content": "content" } ] } }
json
application/json

Download the pay-period payroll changes export

GET
/api/v1
/payroll-changes-export
Bearer

Returns starters, leavers, employment changes, compensation/bank change flags, sickness absences (dates and day counts for Statutory Sick Pay, never the reason or health detail) and approved other leave (leave type, Paid or Unpaid, dates and the amount inside the period in the booking's unit, never its notes) for an inclusive pay-period date range (from/to, YYYY-MM-DD, max 400 days). This is the changes-only companion to the payroll readiness export: it tells a payroll operator, accountant, or bureau what to update without re-keying the whole employee list. By default sensitive payroll values are not included — compensation and bank changes are flags with effective dates only. When the organisation has an active ADR-0009 grant with API exports enabled, granted value tiers appear as additional columns in the starters/leavers files; per-change historical amounts and bank details are never included. Activated employer-aware workspaces must select employer_id. Version two files partition dated employment and historical corrections by employer; unresolved facts or in-period transfers block a complete handoff. gap_report=true returns an incomplete report for manual review.

Download the pay-period payroll changes export › query Parameters

from
​string · pattern: ^\d{4}-\d{2}-\d{2}$ · required
to
​string · pattern: ^\d{4}-\d{2}-\d{2}$ · required
employer_id
​string · maxLength: 1024 · pattern: ^employer_[A-Za-z0-9…
gap_report
​string · enum
Enum values:
true
false

Download the pay-period payroll changes export › Responses

A safe pay-period payroll changes export package.

PayrollChangesExportResponse
​object · required
GET/payroll-changes-export
curl '/api/v1/payroll-changes-export?from=<string>&to=<string>' \ --header 'Authorization: Bearer <token>'
Example Responses
{ "data": { "format": "hollyhr-payroll-changes-export", "version": 1, "period": { "fromDate": "fromDate", "toDate": "toDate" }, "generated_at": "2024-08-25T15:00:00Z", "files": [ { "filename": "filename", "content": "content" } ] } }
json
application/json

Provider MappingsWebhooks