---
title: "Get All Company Codes"
method: GET
path: "/v2/companies/{companyId}/codes/{codeResource}"
tags: ["Company Codes"]
---

# Get All Company Codes

`GET /v2/companies/{companyId}/codes/{codeResource}`

Get All Company Codes for the selected company and resource

## Path parameters

- `companyId` string, required
- `codeResource` string, required

## Response `200`

Successfully retrieved

- CompanyCodes[]
  - `code` string, nullable — Code.<br /> Max length: 40
  - `description` string, nullable — Description. <br /> Max length: 150

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Invalid Code Resource
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/paylocity/apis/paylocity-api.md) · [All operations](https://skmtc.net/paylocity/apis/paylocity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paylocity/paylocity-api/revisions/3725901191b8/schema)
