Skip to main content

Overview

Xenia integrates with 50+ HRIS (Human Resource Information System) providers through Merge.dev, enabling automatic employee synchronization, role assignment, and location mapping. Supported Providers:
  • BambooHR, Rippling, Workday, ADP
  • Gusto, Paylocity, Paycom, Paychex
  • UKG, Ceridian, Namely, Zenefits
  • And 40+ more HRIS platforms
Key Capabilities:
  • One-time and continuous employee sync
  • Automatic role assignment via job title mapping
  • Multi-location assignment (1:M mapping)
  • Review-based or automatic employee onboarding
  • Real-time sync via webhooks

Prerequisites

Before using HRIS integration:
  1. Feature Flag: HRIS must be enabled for your workspace
  2. Permissions: User must have HRIS management permissions
  3. Role Setup: Define roles in Xenia for job title mapping

Connection Management

Generate a Merge.dev link token to initiate the connection flow.
Request Body: Response:

Complete Connection

After the user completes the Merge Link UI, exchange the public token for a permanent connection.
Request Body: Response:

List Connections

Retrieve all HRIS connections for a workspace with sync status.
Response:
Sync States:

Disconnect Connection

Unlink an HRIS connection. This preserves user data but stops sync.
Response:

Employee Management

List Stored Employees

Retrieve HRIS employees stored in Xenia with advanced filtering.
Query Parameters: Response:
Xenia Status Values:

Bulk Invite Employees

Queue bulk invitations for HRIS employees to Xenia.
Request Body (Simple Mode): Request Body (Advanced Mode):
Use either employeeIds OR employees, not both. They are mutually exclusive.
Response:

Job Title Mapping

Map HRIS job titles to Xenia roles for automatic role assignment during invite.

List Job Titles

Get unique job titles from synced employees with mapping status.
Response:

List Job Title Mappings

Create/Upsert Job Title Mappings

Create or update job title mappings in bulk.
Request Body: Response:

Location Mapping

Map HRIS locations to Xenia locations. Supports 1:M mapping (one HRIS location to multiple Xenia locations).

List HRIS Locations

Response:

Create/Upsert Location Mappings

Request Body:
1:M Mapping: One HRIS location can map to multiple Xenia locations. When an employee is invited, they’ll be assigned to ALL mapped locations, with defaultLocationId set from the primary mapping.

Auto-Sync Configuration

Configure automatic employee synchronization behavior.

Get Auto-Sync Settings

Response:

Update Auto-Sync Settings

Request Body:

Trigger Manual Sync

Response:

Employee Review Workflow

When inviteMode is set to review_required, new employees are queued for admin review.

List Pending Employees

Query Parameters: Response:
Change Types:

Approve Employees

Response:

Reject Employees

View Sync History

View Webhook Logs

For debugging sync issues, view Merge.dev webhook events.

Permissions Reference


Common Workflows

Initial HRIS Setup

Employee Onboarding Flow


Best Practices

Set up job title → role mappings and location mappings before inviting employees. This ensures automatic role and location assignment.
Start with inviteMode: "review_required" to manually verify the first batch of employees before switching to automatic mode.
Check connection status and webhook logs periodically to catch sync issues early. Set up admin notifications for failures.
Enable autoDeactivateEnabled to automatically deactivate users when they’re terminated in the HRIS. This maintains security without manual intervention.
When an employee works across multiple Xenia locations, map their HRIS location to all relevant Xenia locations with one marked as primary.