> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Pay Groups

Retrieve the pay groups of a legal entity by ID.

<Note>
  External Documentation

  To learn more, visit the [Paycor documentation](https://developers.paycor.com/explore#operation/Get%20Legal%20Entity%20Pay%20Data%20by%20Legal%20Entity%20ID2).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description |
  | - | - |
  | Continuation Token | The continuation token to retrieve the next page of results. |
  | Legal Entity ID | The ID of the legal entity to get the pay groups of. |
</div>

## Example Output

```json theme={"dark"}
{
	"hasMoreResults": "True",
	"continuationToken": "3ac2fca9-09f2-49fb-86d7-b1b84ed6ca74",
	"additionalResultsUrl": "/v1/myresources/xyz?continuationTokenId=3ac2fca9-09f2-49fb-86d7-b1b84ed6ca74",
	"records": [
		{
			"legalEntityId": 501123,
			"payrollId": "52a2s23-0000-0000-0000-0007d0009840",
			"payrollDescription": "string",
			"payrollCode": "string",
			"payGroupId": "52a2s23-0000-0000-0000-0007d0009840",
			"payGroupName": "string",
			"payGroupFrequency": "string"
		}
	]
}
```

## Workflow Library Example

[List Pay Groups with Paycor and Send Results Via Email](https://library.blinkops.com/workflows/list-pay-groups-with-paycor-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-pay-groups-with-paycor-and-send-results-via-email/canvas" />
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.