---
title: "Get All Employees"
method: GET
path: "/v2/companies/{companyId}/employees"
tags: ["Employee"]
---

# Get All Employees

`GET /v2/companies/{companyId}/employees`

## Request

- Base URL: `https://dc1demogw.paylocity.com/api`
- URL: `https://dc1demogw.paylocity.com/api/v2/companies/{companyId}/employees`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.paylocity.com/IdentityServer/connect/token` scopes: `WebLinkAPI`

Get All Employees API will return employee data currently available in Paylocity Payroll/HR solution.

## Path parameters

- `companyId` string, required

## Query parameters

- `pagesize` integer
- `pagenumber` integer
- `includetotalcount` boolean

## Response `200`

Successfully Retrieved

- EmployeeInfo[]
  - `employeeId` string: The Paylocity Employee ID. This is a unique value per Paylocity Company ID. **Allowable Values:** 10 char max
  - `statusCode` string: Employee current work status. Common values are *A* (Active), *L* (Leave of Absence), *T* (Terminated). <br />Max length: 20
  - `statusTypeCode` string: Employee current work status type. <br />Max length: 10

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: The company does not exist
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paylocity/apis/weblink-api.md) - [All operations](https://skmtc.dev/paylocity/apis/weblink-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/weblink-api/revisions/8152ed40b412?raw)
