PeopleSync API
Schemas
Copy Page
PeopleSync API
Authentication
Authenticate user
Get current user
Roles
List all roles
Create a new role
Get role details
Update role
Departments
List all departments
Create a new department
Get department details
Update department
Employees
List employees
Create employee
Get employee details
Update employee
Attendances
Record clock-in
Sync offline attendances
Leaves
List leaves
Create leave request
Approve/reject leave
SalaryComponents
List all salary components
Create a new salary component
Get salary component details
Update salary component
Payroll
Generate payroll
Jobs
Check job status
Uploads
Get presigned upload URL
Settings
Get organization settings
Update settings
ActivityLogs
List activity logs
Notifications
List notifications
System
Health check
Schemas
Schemas
MetaPagination
ErrorResponse
UUID
AuthLoginRequest
User
AuthLoginResponse
Role
Department
DepartmentCreate
DepartmentUpdate
Employee
EmployeeCreate
EmployeeUpdate
Attendance
AttendanceClockIn
AttendanceSync
Leave
LeaveCreate
LeaveApprove
SalaryComponent
SalaryComponentCreate
SalaryComponentUpdate
Payroll
PayrollItem
PayrollGenerate
PayrollSnapshot
ActivityLog
Notification
Setting
SettingUpdate
JobStatus
PresignedUrl
PresignRequest
HealthCheck
Response
Unauthorized
Forbidden
NotFound
ValidationError
Conflict
Schemas
Copy Page
DepartmentUpdate
{
"name"
:
"Engineering"
,
"code"
:
"ENG"
,
"parent_id"
:
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
}