---
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://api.paylocity.com/api`
- URL: `https://api.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 Web Pay.

## Path parameters

- `companyId` string, required

## Query parameters

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

## Response `200`

Successfully Retrieved

- EmployeeInfo[]
  - `employeeId` string, nullable: Employee Id.<br /> Max length: 10
  - `statusCode` string, nullable: Employee current work status. Common values are *A* (Active), *L* (Leave of Absence), *T* (Terminated). <br />Max length: 20
  - `statusTypeCode` string, nullable: 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/paylocity-api.md) - [All operations](https://skmtc.dev/paylocity/apis/paylocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/paylocity-api/revisions/4e4bf910efae?raw)
