Lucca+

Lucca Node.js SDK

Build Lucca integrations in Node.js with Apideck's official SDK. Type-safe, well-documented, and production-ready.

Quick Installation

Get started with Lucca in Node.js in under a minute

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

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

// Connect to Lucca
const { data } = await apideck.hris.connectionsAll({
  serviceId: 'lucca-hr'
})

// List data from Lucca
const response = await apideck.hris.companiesAll({
  serviceId: 'lucca-hr'
})

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.

Lucca available in all SDKs

Choose your preferred language

API Resources

Lucca resources available

All these Lucca endpoints are accessible via the Node.js SDK

Launch accounting integrations in weeks, not months

Sign Up