Employees
get_ employees
Get list of employees for the authenticated user's organization with pagination
Body
pagenumber1Page number for pagination
limitnumber10Number of items per page
searchstringSearch term for employee name or email
relationsArray<string>Relations to include (e.g., ["user", "contact"])
whereobjectAdditional filters
get_ employee_ count
Get employee count in the authenticated user's organization
Body
whereobjectAdditional filters
get_ employees_ pagination
Get employees by pagination in the authenticated user's organization
Body
pagenumber1Page number
limitnumber10Items per page
searchstringSearch term for employee name or email
relationsArray<string>Relations to include
whereobjectAdditional filters
get_ working_ employees
Get all working employees in the authenticated user's organization
Body
forRangeobjectDate range for filtering
get_ working_ employees_ count
Get working employees count in the authenticated user's organization
Body
forRangeobjectDate range for filtering
get_ organization_ members
Get members of the authenticated user's organization
Parameters
organizationTeamIdstring<uuid>Filter by organization team ID
organizationProjectIdstring<uuid>Filter by organization project ID
pagenumber1Page number
limitnumber10Items per page
get_ employee
Get a specific employee by ID
Parameters
idstring<uuid>requiredThe employee ID
relationsArray<string>Relations to include (e.g., ["user", "contact", "tasks"])
get_ employee_ statistics
Get statistics for an employee in the authenticated user's organization
Parameters
employeeIdstring<uuid>requiredThe employee ID
startDatestringStart date for statistics (ISO format)
endDatestringEnd date for statistics (ISO format)
get_ current_ employee
Get the current authenticated employee profile
Parameters
relationsArray<string>Relations to include (e.g., ["user", "contact", "tasks"])
create_ employee
Create a new employee in the authenticated user's organization
Body
employee_ dataobjectrequiredThe data for creating the employee
update_ employee
Update an existing employee
Parameters
idstring<uuid>requiredThe employee ID
employee_ dataobjectrequiredThe data for updating the employee
update_ employee_ profile
Update the current authenticated employee's profile
Parameters
employee_ dataobjectrequiredThe data for updating the employee profile
soft_ delete_ employee
Soft delete an employee (archive)
Parameters
idstring<uuid>requiredThe employee ID
restore_ employee
Restore a soft deleted employee
Parameters
idstring<uuid>requiredThe employee ID
bulk_ create_ employees
Create multiple employees in bulk for the authenticated user's organization
Body
employeesArray<object>requiredArray of employee data to create