Dev API
Technical reference for developers working on HR Studio 2 — backend, API, and database.
Main sections
Concepts
Core architectural concepts every developer should read first.
- Authentication — JWT login flow, lock screen, email verification, password reset, rate limiting
- Configuration System — Four-level config hierarchy (global → tenant → group → user), catalog keys, frontend hooks
- Forms & DataAreas — Static React forms, shared field components, DataArea infrastructure
API Reference
Endpoint documentation grouped by module.
- API Overview — Base conventions, authentication headers, error codes
- Config API — Read and write configuration values at any level
- Cloud — Tenant API — Tenant lifecycle management (create, suspend, delete, purge)
- Cloud — User API — User lifecycle management (create, update, delete, password reset)
Database
Schema reference for all three PostgreSQL schemas.
- Database Overview — Documentation index, translation notes, naming conventions
- Cloud Schema — Tenants, users, config catalog and overrides, OAuth, tokens
- HR Schema — Employees, contracts, attendance, training, documents, payroll
- Attendance Schema (Pres) — Clockings, shift schemas, leave balances, daily summaries
- AI Assistant DB — Tables for the AI assistant module