Employees List

Retrieve a paginated list of employee records with their contact details, addresses, and assigned assets.

GET
/api/v1/employees

Description

Returns a paginated list of employee records for your company, including work contact details, address, and department information. Employment data and assigned assets can be included per employee on request.

Request

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Query Parameters

ParameterTypeRequiredDescription
pagenumberNoPage number to retrieve. Defaults to 1.
limitnumberNoNumber of records per page. Defaults to 10, maximum 100.
emailstringNoFilter results by work email address.
include_assetsbooleanNoSet to true or 1 to include a list of assets assigned to each employee.

Response

Pagination Fields

FieldTypeDescription
successbooleanWhether the request was successful.
totalUsersnumberTotal number of matching employee records.
totalPagesnumberTotal number of pages available.
currentPagenumberThe page number returned.
per_pagenumberNumber of records per page.
usersarrayList of employee records.

Employee Fields

FieldTypeDescription
users[].idstringUse the full value in detail and update routes.
users[].FirstNamestringEmployee's first name.
users[].LastNamestringEmployee's last name.
users[].WorkEmailstringEmployee's work email address.
users[].PersonalEmailstringEmployee's personal email address.
users[].WorkPhonestringWork phone number, digits only, excluding country code (e.g. 4155551234).
users[].WorkPhoneCountrystringWork phone country as an ISO 3166-1 alpha-2 code (e.g. US, GB).
users[].PersonalPhonestringPersonal phone number, digits only, excluding country code.
users[].PersonalPhoneCountrystringPersonal phone country as an ISO 3166-1 alpha-2 code.
users[].ContactInfostringLegacy alias for WorkPhone.
users[].PhoneCountryCodestringLegacy alias for WorkPhoneCountry.
users[].Address_1stringAddress line 1.
users[].Address_2stringAddress line 2. Null if not provided.
users[].CitystringCity.
users[].StatestringState or province.
users[].ZipstringPostal or zip code.
users[].CountrystringCountry as an ISO 3166-1 alpha-2 code (e.g. US, DE).
users[].LocationTypestringHow the employee is based. Known values: Corporate Office, Remote Employee, Retail Store. Treat as case-insensitive.
users[].LocationNamestringDisplay name for the employee's location (e.g. Remote - San Francisco, New York HQ).
users[].DepartmentstringDepartment the employee belongs to.
users[].EmployeeIdstringEmployee ID on their location record. May differ from EmploymentInformation.employee_number_id.
users[].ConfigureCostCenterIdnumberID of the assigned cost center. Null if not configured.
users[].SourcestringOrigin of the record. unduit for records managed in Unduit, google for records synced from Google Workspace.
users[].EmploymentInformationobjectEmployment details synced from a connected HR system. Null if unavailable. When present, only populated fields are included. See fields below.
users[].AssignedAssetsarrayAssigned assets per employee. Only included when include_assets=true. Returns [] if no assets are assigned.

EmploymentInformation Fields

FieldTypeDescription
users[].EmploymentInformation.employee_number_idstringEmployee number in the HR system. May differ from top-level EmployeeId.
users[].EmploymentInformation.employment_statusstringEmployment status (e.g. Active, Terminated).
users[].EmploymentInformation.employment_typestringEmployment type (e.g. Full Time, Part Time, Contractor).
users[].EmploymentInformation.employment_start_datestringStart date in YYYY-MM-DD format.
users[].EmploymentInformation.termination_datestringTermination date in YYYY-MM-DD format. Only present when employment_status is Terminated.
users[].EmploymentInformation.work_phonestringWork phone from the HR system, digits only. May differ from top-level WorkPhone.
users[].EmploymentInformation.managerstringEmployee's direct manager name or identifier.
users[].EmploymentInformation.personal_emailstringPersonal email as stored in the HR system.
users[].EmploymentInformation.personal_phonestringPersonal phone from the HR system, digits only.
users[].EmploymentInformation.personal_contact_countrystringPersonal phone country as an ISO 3166-1 alpha-2 code.

AssignedAssets Fields

FieldTypeDescription
users[].AssignedAssets[].assetIdstringAsset ID as set by your organization.
users[].AssignedAssets[].serialNumberstringDevice serial number.
users[].AssignedAssets[].modelNamestringProduct or model name (e.g. MacBook Pro 14).
users[].AssignedAssets[].modelNumberstringManufacturer model number (e.g. A2338).
users[].AssignedAssets[].productTypestringDevice category (e.g. Laptop, Phone).
users[].AssignedAssets[].purchaseDatestringPurchase date in YYYY-MM-DD format.
users[].AssignedAssets[].imeistringPrimary IMEI. Empty string if not applicable.
users[].AssignedAssets[].imei2stringSecondary IMEI. Empty string if not applicable.
users[].AssignedAssets[].skustringAsset SKU.
users[].AssignedAssets[].assetStatusstringCurrent asset status (e.g. In Use, In Storage).

Notes

  • The default page size is 10. Use the limit parameter to increase this, up to a maximum of 100.
  • Employee id values are opaque strings (`{7-digit-prefix}-{numericId}`). Pass the full value to GET /api/v1/employees/{id} and update routes.
  • Email, ContactInfo and PhoneCountryCode are legacy field aliases retained for backwards compatibility. Use WorkEmail, WorkPhone and WorkPhoneCountry respectively in all new integrations.
  • EmploymentInformation is null when no HR system is connected or no data exists for the employee. When present, only fields that contain a value are included — fields with no data are omitted rather than returned as null.
  • termination_date inside EmploymentInformation is only present when employment_status is Terminated.
  • AssignedAssets is only included in the response when include_assets=true or include_assets=1 is passed as a query parameter. When included, an empty array [] is returned for employees with no assigned assets.
  • LocationType values are returned as stored and may vary in casing (e.g. Corporate Office and corporate office refer to the same type). Treat this field as case-insensitive when comparing values.
  • Source indicates the origin of the employee record. Records created or managed directly in Unduit return unduit. Records synced from Google Workspace return google.
  • PersonalPhone and PersonalEmail at the top level reflect what was entered directly in Unduit. The equivalent fields inside EmploymentInformation reflect what was synced from the connected HR system and may differ.

Related Endpoints

Did this page help you?