Get Employee
get-employeeRetrieve employee data with customizable field selection, returning details like job title, department, and photo URL.
Instructions
Get employee data with customizable field selection. Returns employee object with fields like displayName, firstName, lastName, jobTitle, department, division, location, supervisor, photoUrl, and many more based on the 'fields' parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Employee ID (use "0" for current user associated with API key) | 0 |
| fields | No | Comma-separated list of fields to retrieve. Available fields include: displayName, firstName, lastName, preferredName, email, workEmail, jobTitle, department, division, location, workPhone, supervisor, linkedIn, pronouns, photoUploaded, photoUrl, canUploadPhoto, and many more. | firstName,lastName,email,jobTitle |
| onlyCurrent | No | Set to false to return future dated values from history table fields |