Get a user
get_userRetrieve an employee by partner ID to view their groups, approval hierarchy, and optional contact/HR details via include_contact_details.
Instructions
One employee by partner ID, with the groups they belong to (team, location and so on) and their authorisation hierarchy (who approves their requests: step one and step two authorisers and alternates, as partner IDs). Contact and HR details only with include_contact_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_groups | No | Also fetch the user's groups (one extra call) | |
| partner_user_id | Yes | The user's partner ID (partner_id from list_users) | |
| include_authorisers | No | Also fetch the user's authorisation hierarchy (one extra call) | |
| include_contact_details | No | Include email, login, phones, address, next of kin, date of birth, payroll and employee numbers, SSO and client-provided IDs and annual pay, and stop redacting email addresses, phone numbers and UK postcodes typed into names and other text |