Integrations

Badgelio at the center of your IT

Two complementary paths: the ready-to-use Odoo connector, or the API gateway to plug in your payroll, ERP or internal tools.

Selectable sync direction

Odoo ⇄ Badgelio

Selectable sync direction

Bidirectional · Odoo → Badgelio · Badgelio → Odoo

Badgelio ⇄ Odoo synchronization flows
DirectionDataDetailCadence
Odoo → BadgelioEmployeesReads employees attached to the professional contact (worker matching).every sync
Odoo → BadgelioCustomers → sitesNon-employee event participants → site records created automatically (name, address, phone).every sync
Odoo → BadgelioSchedulesCalendar events ±2 weeks → shifts on the customer’s site; time-off excluded.5 min + manual
Badgelio → OdooSchedulesShift create/edit → calendar event (duplicate guard), attendees = mirror employee + customer.immediate
Badgelio → OdooClock-insIn/out badge → attendances (check_in / check_out), automatic retry queue.immediate
Badgelio → OdooTimesheetOn clocked-out departure: analytic line “Badgelio — <shift>” with the real duration.best-effort
Badgelio → OdooEvent statusbadgelio_sync module: arrival/departure written on the event, status and color label computed by Odoo.on clock-in

Consistency rules

  • • 1 intervention = 1 worker (never a duplicated shift on a multi-attendee event)
  • • A clocked shift is never overwritten by sync
  • • Loop guard: an event created by Badgelio updates its original shift
  • • Traced origin (Odoo source) on every imported record

Simple prerequisites

  • • Odoo 18 Community with Employees, Attendances and Timesheets modules (core + calendar)
  • • A dedicated integration account (configuration guide provided)
  • • Per-company configuration in Settings → Odoo Integration

Resilience

  • • Odoo down? Clock-ins are queued and replayed (backoff 1 → 30 min)
  • • Field clock-ins are never blocked by Odoo
  • • Sync status and queue visible in the extranet

API-First gateway

API /api/ext/v1 — your IT reads and writes Badgelio

OAuth2 client_credentials authentication, fine-grained scopes per client, versioned contract (additive only), cursor pagination and public OpenAPI documentation.

Badgelio API gateway endpoints
MethodEndpointScopeDescription
POST/api/ext/v1/oauth/token—OAuth2 client_credentials machine token (1 h TTL, secret rotation).
GET/api/ext/v1/punchespunches:readCursor-paginated clock-ins (limit ≤ 500, from/to bounds).
GET/api/ext/v1/shiftsshifts:readInterventions — canceled ones included (payroll transparency).
GET/api/ext/v1/summarysummary:readPer-worker summary: shifts, scheduled hours, clock-ins (≤ 92 days).
POST/api/ext/v1/shiftsshifts:writeUpsert interventions from your IT (idempotent by external reference).
GET/api/ext/v1/docspublicInteractive documentation + full OpenAPI (openapi.json).

5 signed, replayable webhooks

  • punch.recorded

    Every clock-in created (in or out).

  • shift.cancelled

    Intervention cancellation (single or series).

  • shift.late

    Delay beyond the configurable tolerance (default 10 min).

  • anomaly.detected

    Early departure, out-of-zone clock-in, absence/missing (10-min sweep).

  • invoice.issued

    Monthly invoice issued (automatically at month start or manually).

Platform guarantees

  • HMAC signature on every webhook (t=timestamp, v1=HMAC) + delivery id for idempotency
  • At-least-once delivery: exponential retries from 1 min to 6 h, then consultable EXHAUSTED status
  • Per-client rate limiting (120 req/min) and strict isolation: an API client only sees its own company
  • A user token never crosses the gateway — machine tokens are signed separately

API clients are managed from the extranet (Integrations page): creation, secret rotation (shown once), scopes, webhook URL and delivery log.

An integration project?

Describe your ecosystem: the IDELIO team helps you set up the Odoo connector or your API clients.

Let’s talk