Unified.to
All articles

What Is HR API Integration? Employee, Org and Payroll Data Across HR Systems

·

HR API integration connects your product to HR systems such as Workday, BambooHR, ADP and Rippling so it can read and write employee, org-structure and time-off data programmatically. Unified.to's HR & Directory API does this across 901 integrations through one interface, reading each source system at request time with no employee records at rest. This guide is for teams building directory, onboarding, provisioning, analytics or AI features on HR data: the use cases, the problems you hit building these integrations, and when to build versus buy.

For the objects and integrations the API covers, see the HR & Directory API overview. For the HRIS vendors and their own APIs, see 25 HRIS APIs to Integrate With in 2026. To compare unified API platforms for HR, see Best Unified API for HRIS Integrations in 2026.

What systems does an HR API integration connect to?

Human Resources Information Systems (HRIS) such as Workday, BambooHR, ADP, and Rippling act as the system of record for workforce identity. They track employees, reporting structures, locations, benefits, payroll artifacts, and employment state.

But HRIS platforms don't operate in isolation. SaaS products, IT systems, analytics tools and AI agents all need this data. HR API integration gives them that access without manual exports, brittle scripts or stale replicas.

What is HR API integration?

HR API integration is the process of connecting software products to HR systems via application programming interfaces (APIs) in order to read and write workforce data programmatically.

In practice, this includes:

  • Retrieving employee profiles and org structure
  • Tracking employment changes (hires, terminations, role changes)
  • Automating onboarding and offboarding
  • Provisioning and removing accounts in identity and access systems
  • Feeding workforce analytics and automation

What's the difference between an HR API, an HRIS API and an HR & Directory API?

These terms are often used interchangeably, but it helps to be precise:

  • HRIS refers to the source systems (Workday, ADP, BambooHR).
  • HR API refers to an API surface that provides access to HR data.
  • HR & Directory API emphasizes identity, org structure, and workforce primitives.

In this guide, HRIS refers to the upstream systems, while HR API refers to Unified.to's normalized interface across them, which reads each one at request time.

How do request-time reads differ from batch HR data syncs?

A request-time HR API reads the source HRIS on every call, while a batch sync copies HR data into a separate database on a schedule (nightly jobs, hourly polling or ETL pipelines) and serves reads from that copy until the next run.

What does a request-time HR API do?

A request-time HR API:

  • Reads data from the source HRIS at request time, and writes to it on supported integrations
  • Does not maintain a cached replica or shadow database
  • Returns the source system's current state on every call

Unified.to's HR & Directory API uses a pass-through architecture. Every API request reaches the underlying HRIS live, reads don't wait on a sync job, and no employee records sit at rest in Unified.to.

What goes wrong with scheduled syncs?

Batch-based HR integrations introduce:

  • Stale directories and org charts
  • Delayed de-provisioning (a security risk)
  • Complex retry and reconciliation logic
  • Data drift between systems

For identity provisioning, access revocation and AI agents, a record that is hours old can mean access left open or an action taken on the wrong data.

When do you need an HR API, SCIM, or both?

Use SCIM to provision user accounts into downstream systems and an HR API to read employment state, org structure and HR data; many products need both. SCIM is commonly used for provisioning users into identity systems. It focuses on:

  • Creating, updating, and deleting users
  • Group membership
  • Basic lifecycle events

An HR API is broader:

  • It shows employment state, not just accounts
  • It includes org structure, locations, payroll artifacts, benefits, and time-based data
  • It supports analytics, automation and AI agents beyond identity

In practice:

  • SCIM is useful for creating and updating users in downstream systems
  • HR APIs are used to observe and react to workforce reality

Many products use both, and Unified.to offers both: the HR & Directory API, and a SCIM API (Users and Groups) built over its HR integrations, including systems with no native SCIM support. See How to use SCIM with the Unified API.

What data does an HR API return?

An HR API returns employee records plus the org structure, time, payroll and benefits data around them. Unified.to's HR & Directory API has 18 objects, from Employee, Group, Location and Job to Time Off, Timeshift, Attendance, Payslip, Payroll (pay runs), Paycode, Deduction, Benefit and Earning; each object's model page in the API reference lists its fields. Support varies by integration, so check the integration matrix for the systems your customers run.

Three behaviours matter when you design around this data:

  • Manager relationships may be missing, and employees can belong to several groups or locations.
  • Timestamps reflect record updates, not inferred events.
  • Fields outside the unified model come back in raw when you request them; Unified.to does not invent missing fields or infer semantics.

What do teams build with HR API integrations?

Teams build directories and org charts, onboarding and offboarding automation, identity provisioning, workforce analytics and AI agents on HR data.

Employee Directories & Org Charts

Build directories that read current employees, reporting structures and locations from the source system on each request, without waiting for nightly syncs. See How to Build Org Charts and Employee Directories.

Onboarding & Offboarding Automation

Act on hires and departures, either from employee created, updated and deleted events on supported integrations or by comparing hired_at, terminated_at and employment_status between reads:

  • Provision accounts
  • Assign devices
  • Revoke access when an employee leaves

See How to Sync Employee Lifecycle Events.

Identity & Access Provisioning

Use HR data as the source of truth for identity systems, while keeping provisioning logic in your application.

Workforce Analytics & Reporting

Analyze headcount, turnover, and organizational change using observable employment data, not inferred projections. See How to Forecast Headcount and Hiring Needs.

AI Copilots and Automation

Give AI agents live HR data, with scoped permissions and optional PII redaction.

Payroll and Time-Off Features

Payroll and leave features read pay statements and time-off requests from the source system at request time. Payslips are read-only and carry the pay period, gross and net pay, and typed lines for earnings, deductions, taxes and employer contributions where the integration supplies them, on integrations such as ADP Workforce Now, Deel, Remote.com, UKG Pro HCM and Xero, plus Paychex, Paylocity and Rippling (as of 19 October 2026). Pay runs and pay codes are separate objects on supported payroll integrations. Time-off requests carry status, approver and leave type, and BambooHR, HiBob, Personio, Remote.com and Workday also create them. The Time Off object has no balance field; some integrations, such as BambooHR, HiBob and Workday, report allowance and days used on the employee record. For pay runs, pay codes and the Earning object, see What Is Payroll Integration?.

Which HR systems does Unified.to's HR & Directory API support?

It supports 901 HR & Directory integrations on every plan, from enterprise HCMs to directories and payroll systems: Workday, Workday (Legacy), SAP SuccessFactors, ADP Workforce Now, UKG Pro HCM, UKG Ready, Ceridian Dayforce, BambooHR, HiBob, Personio, Deel, Remote.com, Okta, Microsoft Entra ID and Google Workspace Directory, plus Rippling, Paychex, Paycor and Paylocity (as of 19 October 2026). Writes depend on the integration: BambooHR, HiBob and Personio create and update employees; Okta, Microsoft Entra ID and Google Workspace Directory create, update and remove them; Workday (Legacy) creates them; Workday (REST) is read-only for employees. Each integration's page lists its objects, fields and webhooks. For how one customer used it, see How Humi delivers a faster onboarding experience.

Employee change events are native on HiBob, Personio, FactorialHR, Remote.com, Google Workspace Directory and Microsoft Entra ID, including deletes, and come from virtual webhooks on BambooHR, Workday, SAP SuccessFactors, UKG Pro HCM and Okta. ADP Workforce Now, Paycor and Check send no HR events, and Deel sends none for employees, so read those on a schedule.

How do HR change events reach your application?

HR change events reach your application through native webhooks, which Unified.to forwards when the HRIS sends them, or virtual webhooks, which check the source API at an interval you set, detect changes and deliver events. Both use the same subscription interface and event schema, on supported integrations and objects.

How often are changes detected, and what happens on failure?

  • Polling intervals are configurable (down to 1 minute on paid plans).
  • Failed deliveries are retried three times at once; virtual webhooks then back off and retry, and a webhook that keeps failing is marked unhealthy.
  • Each webhook has a health status, and webhook calls appear in your logs.

Checks that find no changes aren't billed; each page of changes delivered counts as one API call.

To keep a copy in your own database, Database Sync (Grow, Pro and Scale) writes changes into MongoDB, MySQL, Postgres, MSSQL, MariaDB, Supabase or Snowflake for objects with native or virtual webhooks, such as employees on BambooHR or HiBob. Objects with no change events, such as pay runs, pay codes and bank accounts, can't be kept current that way.

How do authentication and permissions work?

Unified.to handles each HRIS's authentication flow and maps its scopes to the vendor's permissions, so your code works with a connection ID rather than raw credentials:

  • OAuth2 and API-key flows are handled automatically
  • Unified.to scopes map to each vendor's permissions
  • Embedded auth components or fully manual flows are supported

Connections are identified by a connection ID, not raw credentials.

Unified.to manages:

  • Token exchange and refresh
  • Provider-specific OAuth quirks
  • Connection health (Healthy, Unhealthy, Unhealthy now, New), with CONNECTION_HEALTHY and CONNECTION_UNHEALTHY notifications
  • Signed webhook payloads (HMAC-SHA256) and a 501 response for operations an integration doesn't support

How is HR data secured?

HR data is secured on Unified.to by keeping it out of the integration layer: employee records pass through at request time and only credentials and operational metadata are stored, both encrypted.

No customer records at rest

  • No employee records are stored at rest
  • No payloads are cached or mirrored
  • Requests are stateless and pass-through

Credential Ownership

  • Credentials can be stored by Unified.to, encrypted at rest
  • Or kept entirely in the customer's own secrets manager (such as AWS Secrets Manager, Azure Key Vault, Google Cloud Secrets Manager, HashiCorp Vault, 1Password, Doppler or Bitwarden), on Pro and Scale

Controls and Compliance

  • SOC 2 Type II, with the 2026 report available on request through the trust centre
  • GDPR, CCPA/CPRA, PIPEDA, HIPAA
  • TLS 1.2+ in transit; AES-256 at rest for operational metadata
  • SAML SSO and IP restriction (Pro and Scale), webhook signing
  • Log shipping to Datadog, Grafana or ClickHouse (Pro and Scale)

On Unified MCP, the hide_sensitive option removes names, emails and phone numbers from tool results before they reach the model.

How do the HR & Directory and ATS categories connect?

Unified.to's HR and ATS categories are linked but not coupled: ATS records can reference HR employees, but nothing in the ATS creates or changes HR records.

ATS objects such as Candidate, Application, Document, and Interview may include optional user_id references to HR employees. These are used for:

  • Recruiter or interviewer attribution
  • Document ownership
  • Activity filtering

What Unified.to does not do:

  • Automatically create employees when a candidate is hired
  • Impose a candidate → employee conversion process
  • Infer employment from ATS state alone

The application decides when a hire becomes an employee and when to call the HR API. This boundary keeps ATS state from creating or altering HR records.

What constraints should you plan for?

Plan for uneven support across HR systems and for data that reflects the source as it is, without inference:

  • Not every integration supports every object; an unsupported operation returns 501
  • Payroll artifacts are historical snapshots
  • Compensation is current-state only
  • Manager relationships and hierarchies may be incomplete
  • No inference or prediction is performed

These constraints are intentional: Unified.to provides primitives, not business logic.

Should you build HR integrations in-house or use a unified API?

Build in-house when your customers run one or two HR systems central to your product; use a unified API when they run many, because each in-house integration adds its own auth, polling and maintenance.

Building In-House

  • Multiple APIs to learn and maintain
  • Cron jobs, polling, retries, and reconciliation
  • Security and compliance overhead

Using a Unified API

  • One integration reaches 901 HR & Directory integrations
  • Reads from the source at request time, with no replica
  • Centralized auth, webhooks, and maintenance
  • Usage-based pricing aligned with scale

What are the best practices for HR API integrations?

Request narrow scopes, design for partial data, and monitor connection and webhook health:

  • Request only the scopes you need
  • Treat employee.id as canonical within HR only
  • Design for missing or partial data
  • Monitor connection health and webhook delivery
  • Keep business semantics in your application layer

How do I start with Unified.to's HR & Directory API?

The HR & Directory API is on every Unified.to plan, from Grow ($750 a month), with a 30-day free trial on Grow and Pro. It reads employees, groups, time off and payroll data across 901 HR & Directory integrations, from the source at request time, with no customer records at rest. Start with the HR & Directory API docs.

→ Start your 30-day free trial

Test HR integrations with live reads, writes and webhooks.

→ Book a demo

Talk through your HR, ATS or identity use case with the Unified.to team.

All articles