Developer Documentation

Seamless ERP, HRMS & Database
Integrations via REST API

Sync raw check-in punches in real-time. Use secure token access to manage employee rosters, shift assignments, and daily stamps.

Example Integration Pipeline

Attendance

AI face log registered

API Sync

Payload dispatched

Payroll

LOP days calculated

Salary Payout

Automated transfer

Integration Principles & Architecture

Learn how our endpoints connect and sync with your internal HR architecture.

REST API Endpoints

Connect and query daily check-ins, employee lists, and shift groups through standard, stateless GET and POST HTTP endpoints.

Bearer Authentication

Keep client-side connections secure. Issue specific workspace API tokens and load them inside request header settings.

Real-time Webhooks

Configure destination URLs. The server issues a POST event notification containing coordinates and face details as checks occur.

Payroll Synchronization

Push Loss of Pay (LOP) calculations directly to salary processing programs, minimizing manual adjustment times.

HRMS Alignment

Synchronize employee details directories, department classifications, and shift assignments automatically across setups.

Enterprise ERP Sync

Feed check logs into SAP, Oracle, Tally, or custom databases to evaluate team attendance statistics.

Log Query API Endpoint

Send a query request to get check details. Authenticate using bearer headers. Code examples are available below:

curl -X GET "https://attendance.leenaitsolutions.in/api/v1/attendance-logs?start_date=2026-07-01" \
  -H "Authorization: Bearer your_api_token_here" \
  -H "Accept: application/json"
                

POST Webhook Notification Payload

Event details dispatched immediately on checks.

{
  "event": "attendance.created",
  "timestamp": "2026-07-14T13:08:24Z",
  "data": {
    "employee_code": "EMP-401",
    "employee_name": "John Doe",
    "scan_time": "08:55:04",
    "scan_date": "2026-07-14",
    "accuracy_score": 0.994,
    "device_id": "Kiosk-HQ-01"
  }
}
Chat with us