---
title: "Get All ERP Employees"
method: GET
path: "/erp/employees"
tags: ["erp", "Employees"]
---

# Get All ERP Employees

`GET /erp/employees`

## Request

- Base URL: `https://production.trackstarhq.com`
- URL: `https://production.trackstarhq.com/erp/employees`
- Auth: none required

Returns all Employees for the ERP connection associated with the provided access token.

## Query parameters

- `page_token` string, nullable
- `limit` integer
- `ids` ErpEmployeeIdsQueryParam
  - `in` string[], required: A comma-separated list of resource IDs. If provided, all other query params are ignored.
- `created_date` ErpEmployeeCreatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `updated_date` ErpEmployeeUpdatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_created_date` ErpEmployeeTrackstarCreatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_updated_date` ErpEmployeeTrackstarUpdatedDateQueryParam
  - `eq` string, date-time
  - `neq` string, date-time
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `gt` string, date-time
  - `gte` string, date-time
  - `lt` string, date-time
  - `lte` string, date-time
- `trackstar_tags` ErpEmployeeTrackstarTagsFlatQueryParam
  - `contains` string[]: Comma-separated.
  - `not_contains` string[]: Comma-separated.
- `employee_number` ErpEmployeeEmployeeNumberQueryParam
  - `eq` string
  - `neq` string
  - `in` string[]: Comma-separated.
  - `nin` string[]: Comma-separated.
  - `contains` string
  - `not_contains` string

## Headers

- `x-trackstar-api-key` string, required
- `x-trackstar-access-token` string, required

## Response `200`

Successful response

- ErpEmployeesListEndpoint
  - `data` ErpEmployeeApiItemSchema[], required
    - `id` string, required: The unique ID of the employee in the ERP.
    - `created_date` string, date-time, required: The date the employee was created.
    - `updated_date` string, date-time, required: The date the employee was last updated.
    - `employee_number` string, nullable, required: The user-facing identifier of the employee as assigned by the ERP.
    - `name` string, required: Display name of the employee (firstname + lastname, or entityid fallback).
    - `first_name` string, nullable, required: Employee's first name.
    - `last_name` string, nullable, required: Employee's last name.
    - `email` string, nullable, required: Primary email address recorded on the employee.
    - `phone` string, nullable, required: Primary phone number recorded on the employee.
    - `title` string, nullable, required: Job title of the employee.
    - `active` boolean, nullable, required: Whether the employee is active in the ERP.
    - `supervisor_id` string, nullable, required: Internal ID of the employee's supervisor.
    - `approver_id` string, nullable, required: Internal ID of the employee's general approver.
    - `location_id` string, nullable, required: Internal ID of the employee's primary location.
    - `subsidiary_id` string, nullable, required: Internal ID of the employee's subsidiary.
    - `purchase_order_limit` number, nullable, required: Maximum purchase order amount this employee can author. Units vary by account configuration.
    - `purchase_order_approver_id` string, nullable, required: Internal ID of the employee who approves this employee's purchase orders.
    - `purchase_order_approval_limit` number, nullable, required: Maximum purchase order amount this employee can approve for others. Units vary by account configuration.
    - `expense_limit` number, nullable, required: Maximum expense report amount for this employee. Units vary by account configuration.
    - `custom_fields` object, required: Per-account custom fields defined on the employee. Keys are the field names as defined in the ERP; each value carries the raw value, its declared type, and a human-readable label.
    - `external_system_url` string, nullable, required: URL link to the employee in the external system (WMS/Freight etc).
    - `trackstar_tags` unknown[], nullable, required: A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.
      - unknown
    - `additional_fields` object, required: Integration-specific fields
    - `trackstar_created_date` string, date-time, required
    - `trackstar_updated_date` string, date-time, required
  - `next_token` string, nullable, required: See [pagination](/how-to-guides/about-the-api#pagination) for more details.
  - `total_count` integer, required: The number of items returned.

## Other responses

- `422`: Validation error

## Changes

- **2026-11-03** `f9f948f2a7b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trackstarhq/apis/trackstar-api/changes/erp/employees/get.md)

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
