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
| Direction | Data | Detail | Cadence |
|---|---|---|---|
| Odoo → Badgelio | Employees | Reads employees attached to the professional contact (worker matching). | every sync |
| Odoo → Badgelio | Customers → sites | Non-employee event participants → site records created automatically (name, address, phone). | every sync |
| Odoo → Badgelio | Schedules | Calendar events ±2 weeks → shifts on the customer’s site; time-off excluded. | 5 min + manual |
| Badgelio → Odoo | Schedules | Shift create/edit → calendar event (duplicate guard), attendees = mirror employee + customer. | immediate |
| Badgelio → Odoo | Clock-ins | In/out badge → attendances (check_in / check_out), automatic retry queue. | immediate |
| Badgelio → Odoo | Timesheet | On clocked-out departure: analytic line “Badgelio — <shift>” with the real duration. | best-effort |
| Badgelio → Odoo | Event status | badgelio_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.
| Method | Endpoint | Scope | Description |
|---|---|---|---|
| POST | /api/ext/v1/oauth/token | — | OAuth2 client_credentials machine token (1 h TTL, secret rotation). |
| GET | /api/ext/v1/punches | punches:read | Cursor-paginated clock-ins (limit ≤ 500, from/to bounds). |
| GET | /api/ext/v1/shifts | shifts:read | Interventions — canceled ones included (payroll transparency). |
| GET | /api/ext/v1/summary | summary:read | Per-worker summary: shifts, scheduled hours, clock-ins (≤ 92 days). |
| POST | /api/ext/v1/shifts | shifts:write | Upsert interventions from your IT (idempotent by external reference). |
| GET | /api/ext/v1/docs | public | Interactive documentation + full OpenAPI (openapi.json). |
5 signed, replayable webhooks
punch.recordedEvery clock-in created (in or out).
shift.cancelledIntervention cancellation (single or series).
shift.lateDelay beyond the configurable tolerance (default 10 min).
anomaly.detectedEarly departure, out-of-zone clock-in, absence/missing (10-min sweep).
invoice.issuedMonthly 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