Employee record with personal information, department, position, hire date, salary, manager relationship, and employment status. Used for HR systems, payroll, and organizational management.
https://api.mockly.codes/employees?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/employeesGet a collection of employees
/people/employees/employees/:idGet a single employee by ID
/people/employees/:id/employees/metaGet resource metadata and schema
/people/employees/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/employees?q=laptopGET https://api.mockly.codes/employees?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 employees
fetch('https://api.mockly.codes/employees?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/employees?count=10'
)
data = response.json()curl "https://api.mockly.codes/employees?count=10"fetch('https://api.mockly.codes/employees?nocache=true')idintegerUnique identifier for the employee
random_intemployee_idstringUnique employee ID or badge number
uuidfirst_namestringEmployee's first name
first_namelast_namestringEmployee's last name
last_nameemailstringEmployee's work email address
emailemailphonestringEmployee's phone number
phonedepartmentstringDepartment where the employee works (e.g., Engineering, Sales, HR)
departmentpositionstringJob title or position (e.g., Software Engineer, Sales Manager)
jobhire_datestringDate when the employee was hired
past_datedatesalarynumberAnnual salary in the company's currency
random_intmanager_idintegerForeign key reference to the employee's manager
random_intstatusstringEmployment status (e.g., active, on_leave, terminated, retired)
statuscountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request