Employees

get_employees

Get list of employees for the authenticated user's organization with pagination

Body

application/json
pagenumber1

Page number for pagination

limitnumber10

Number of items per page

searchstring

Search term for employee name or email

relationsArray<string>

Relations to include (e.g., ["user", "contact"])

whereobject

Additional filters

Show child attributes
isActiveboolean
isArchivedboolean

get_employee_count

Get employee count in the authenticated user's organization

Body

application/json
whereobject

Additional filters

Show child attributes
isActiveboolean
isArchivedboolean

get_employees_pagination

Get employees by pagination in the authenticated user's organization

Body

application/json
pagenumber1

Page number

limitnumber10

Items per page

searchstring

Search term for employee name or email

relationsArray<string>

Relations to include

whereobject

Additional filters

Show child attributes
isActiveboolean
isArchivedboolean

get_working_employees

Get all working employees in the authenticated user's organization

Body

application/json
forRangeobject

Date range for filtering

Show child attributes
startDatestring<date-time>

Start date in ISO format

endDatestring<date-time>

End date in ISO format

get_working_employees_count

Get working employees count in the authenticated user's organization

Body

application/json
forRangeobject

Date range for filtering

Show child attributes
startDatestring<date-time>

Start date in ISO format

endDatestring<date-time>

End date in ISO format

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

pagenumber1

Page number

limitnumber10

Items per page

get_employee

Get a specific employee by ID

Parameters

idstring<uuid>required

The 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>required

The employee ID

startDatestring

Start date for statistics (ISO format)

endDatestring

End 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

application/json
employee_dataobjectrequired

The data for creating the employee

Show child attributes
userIdstringrequired

The userId (required)

[key: string]any

update_employee

Update an existing employee

Parameters

idstring<uuid>required

The employee ID

employee_dataobjectrequired

The data for updating the employee

update_employee_profile

Update the current authenticated employee's profile

Parameters

employee_dataobjectrequired

The data for updating the employee profile

soft_delete_employee

Soft delete an employee (archive)

Parameters

idstring<uuid>required

The employee ID

restore_employee

Restore a soft deleted employee

Parameters

idstring<uuid>required

The employee ID

bulk_create_employees

Create multiple employees in bulk for the authenticated user's organization

Body

application/json
employeesArray<object>required

Array of employee data to create

Show child attributes

Employee data

userIdstringrequired

The userId (required)

[key: string]any
Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey