Skip to content
Lucca logo

Connectors / Human resources · HTTP Connector

Lucca integration and API

Create an employee, create an employment and create a department in Lucca, and start a workflow when Lucca sends “Employee created”.

What can you do with Lucca on Tray.ai?

Lucca is a French HR software suite covering the employee directory, leave, timesheets, expenses, and training. Tray.ai connects to Lucca through the HTTP Connector, so your workflows can call the Lucca API alongside the rest of your stack.

  • When Lucca sends “Employee created”, open IT onboarding tasks in your service desk.
  • When Lucca sends “Employment updated”, update the employee record in your payroll system.
  • Create an employee when a candidate accepts an offer in your applicant tracking system.
  • Create a department when finance adds a new cost center in your ERP.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://{host}/lucca-api

Set it up

Connect Lucca to Tray.ai

Each step uses Lucca's own API details, from its documentation.

Sign in to Lucca with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Lucca. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://{host}/lucca-api as the base URL. Or paste a cURL example from Lucca's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List employees”

It's one of 18 documented actions, under Employees. The response comes back as data the next step can map into your other apps.

Start workflows from Lucca events

Give Lucca the URL of a Tray.ai webhook trigger. “Employee created” can then start a workflow, and so can 5 other events.

Workflows to build with Lucca

Connect Lucca with Okta, Azure Active Directory and Greenhouse

Each one uses actions and events from Lucca's own API documentation.

Create Okta accounts for new Lucca employees

When

Employee created

Then

  1. Get an employee from Lucca
  2. Create the user account in Okta with their department and manager

With Okta

Disable Azure AD accounts when a Lucca employment ends

When

Employment updated

Then

  1. Get an employee from Lucca
  2. Disable the user in Azure Active Directory when an end date is set

With Azure Active Directory

Add Greenhouse hires to Lucca

When

A candidate is hired in Greenhouse

Then

  1. Create an employee in Lucca
  2. Create an employment with the start date and job title

With Greenhouse

Apps you can build on Lucca data

Internal tools your team can build with an AI assistant, each one using Lucca calls from its API documentation.

Org directory

Lists employees with their departments and job positions for staff to browse.

New hire tracker

Logs each new employee and employment record so HR and IT can prepare for start dates.

Lucca MCP server for AI agents

Build an MCP server on Lucca in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List employees
  • List employments
  • List departments
  • List job positions
  • List webhook endpoints
  • Create an employee
  • Get an employee
  • Update an employee

What the Lucca API covers

5 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Employees

  • List employees
  • Create an employee
  • Get an employee
  • Update an employee

Employments

  • List employments
  • Create an employment
  • Update an employment
  • Delete an employment

Departments

  • List departments
  • Create a department
  • Update a department

Job positions

  • List job positions
  • Create a job position
  • Update a job position
  • Delete a job position

Webhook endpoints

  • List webhook endpoints
  • Create a webhook endpoint
  • Delete a webhook endpoint

Events Lucca can send to a Tray.ai webhook trigger

  • Employee created
  • Employee updated
  • Employment created
  • Employment updated
  • Job position created
  • Job position updated

Checked against Lucca's own documentation on 2026-10-22

developers.luccasoftware.com/api-reference/latest

Frequently asked questions

What can a Tray.ai workflow do in Lucca?

The Lucca API documents 18 actions across 5 resources (Employees, Employments, Departments, Job positions, Webhook endpoints). For example: List employees; List employments; List departments. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Lucca?

The Lucca API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Lucca events can start a Tray.ai workflow?

Lucca sends 6 events to a webhook URL, for example: Employee created; Employee updated; Employment created; Employment updated; Job position created; Job position updated. A Tray.ai webhook trigger receives them and starts a workflow.

See Lucca working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.