Get employee

Reads one employee's profile.

GET https://cotlet.dev/api/v1/peoplehr/employees/{employee_id}

read

Returns job title, department, line manager, start date and work email as the profile shows them to your role. Fields your role cannot open, such as salary, are left out. It reads only and changes nothing.

Parameters

Parameters: get_employee
NameTypeDescription
employee_id string required string Employee ID from list_employees, for example PW15.

Request

cURL
curl https://cotlet.dev/api/v1/peoplehr/employees/employee_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("peoplehr", "get_employee", {"employee_id":"employee_8c41d2"})
Node.js
const result = await cotlet.call('peoplehr', 'get_employee', {"employee_id":"employee_8c41d2"});
CLI
cotlet call peoplehr get_employee --data '{"employee_id":"employee_8c41d2"}'

Example response

JSON

{
  "employee_id": "PW41",
  "name": "Ana Lopez",
  "job_title": "Account Executive",
  "department": "Sales",
  "line_manager": {
    "employee_id": "PW8",
    "name": "Dana Reyes"
  },
  "start_date": "2026-11-16",
  "work_email": "ana.lopez@example.com"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.