TTF HRMS / Management
Multi-tenant endpoints for companies, employees, attendance, shifts, leave, documents/payslips, salary, accounts, ATS jobs, tickets, roles, and subscriptions.
Core Management Endpoints
All management routes require a valid TTF Authorization: Bearer <jwt> token and automatically scope queries to the caller's companyId. Module-gated endpoints also verify active subscription modules via requireModule(...).
| Resource | Base Path | Key Operations |
|---|---|---|
| Companies | /api/companies | Tenant profile, attendance settings, mail aliases, departments/designations |
| Users / Employees | /api/users | Employee profiles, statutory IDs, Aadhaar QR verification, work experience, family |
| Attendance | /api/attendance | Check-in/out, calendar history, single & batch regularization |
| Shifts | /api/shifts | Personal shift (/my-shift), Shift Master CRUD, roster & bulk assignment (SHIFT_MANAGEMENT) |
| Leave | /api/leave (and /api/leaves) | Leave balances, half-day/full-day requests, approvals & cancellation |
| Employee Documents | /api/employee-documents | Templates, HTML/PDF previews, payslip prefill & bulk generation, PDF download & email send |
| Salary | /api/salary | Salary structures, monthly calculations, bulk payout releases & history |
| Transactions & Payments | /api/transactions, /api/payments | Company wallet balance, top-ups, and Razorpay billing |
| Subscriptions & Modules | /api/subscriptions, /api/modules | Plan selection, module gating, and subscription status |
| Roles | /api/roles | Custom RBAC role creation and per-module permissions |
| Jobs & ATS | /api/jobs, /api/job-applications | Public & internal job postings, candidate stages, and hiring conversion |
| Holidays & Events | /api/holiday-events | Upcoming company holidays and calendar events |
| Tickets | /api/tickets | Internal HR/IT support tickets and threaded replies |
| Files | /api/files | Protected document and avatar uploads |
Attendance Example
GET
/api/attendanceTry itInteractive API Playground
GET
Generated cURL
curl -X GET "https://api.timetofuture.com/api/attendance" \
-H "Authorization: Bearer <your-jwt-token>"Shifts Example
GET
/api/shifts/my-shiftTry itInteractive API Playground
GET
Generated cURL
curl -X GET "https://api.timetofuture.com/api/shifts/my-shift" \
-H "Authorization: Bearer <your-jwt-token>"Last updated on
