---
title: "Worker Compensation"
method: GET
path: "/workers/{workerId}/compensation"
tags: ["Worker"]
---

# Worker Compensation

`GET /workers/{workerId}/compensation`

## Request

- Base URL: `https://api.paychex.com`
- URL: `https://api.paychex.com/workers/{workerId}/compensation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/paychex/apis/external-api/docs/workers/:workerId/compensation/get.ts> (a function with typed inputs; its response is checked against the schema)

Information about a workers compensation.

## Path parameters

- `workerId` string, required

## Response `200`

Successful operation

- object
  - `content` CollectionResource
    - `metadata` MetadataResource
      - `contentItemCount` integer
      - `pagination` PaginationMetadataResource
        - `offset` integer
        - `limit` integer
        - `itemCount` integer
        - `total` integer
    - `content` object[]
    - `errors` ErrorResource[]
      - `code` string: Error code
      - `description` string: Description of error
      - `resolution` string: Resolution of error
    - `message` string
    - `_links` Links
  - `links` Link1[]
    - `href` string
    - `hreflang` string
    - `title` string
    - `type` string
    - `deprecation` string
    - `profile` string
    - `name` string
    - `templated` boolean

## Other responses

- `400`: The request cannot be performed since the worker is in a state which does not allow this action(API-19)
- `401`: Unauthorized
- `403`: User doesn't have access to this endpoint (API-2), Client has been end dated (API-68)
- `404`: Invalid resource ID (API-7)
- `405`: Unsupported method type (API-59)
- `406`: Unsupported Accept header
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/paychex/apis/external-api.md) - [All operations](https://skmtc.dev/paychex/apis/external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paychex/apis/external-api/revisions/07161d3e073f?raw)
