Quick Installation

Get started with Hailey HR in Node.js in under a minute

Terminal
npm install @apideck/unify
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: process.env.APIDECK_APP_ID,
  consumerId: 'user-123'
})

// Connect to Hailey HR
const { data } = await apideck.vault.connections.list({
  api: 'hris'
})

// List data from Hailey HR
const response = await apideck.hris.contacts.list({
  serviceId: 'haileyhr'
})

console.log(response.data)

Why use the Node.js SDK?

Type Safety

Full type definitions for Node.js. Catch errors at compile time, not runtime.

Auto-generated

SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.

Error Handling

Built-in error types and retry logic. Handle rate limits and errors gracefully.

Pagination

Automatic pagination handling. Iterate through large datasets effortlessly.

Authentication

OAuth, API keys, and consumer tokens handled automatically.

Documentation

Comprehensive docs with examples for every endpoint and method.

Hailey HR available in all SDKs

Choose your preferred language

API Resources

Hailey HR resources available

All these Hailey HR endpoints are accessible via the Node.js SDK

Launch accounting integrations in weeks, not months

Get started for free