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

# List Payroll Connections by Employer Identifier

> Returns a paginated list of payroll connections for a specific employer identifier

export const PaginationInfo = ({defaultSortField, sortFields = [], maxLimit = 100, defaultLimit = 20}) => {
  return <>
      <div class="border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full">
      <h4>Pagination & Sorting</h4>
      </div>

      {(maxLimit || defaultLimit) && <ResponseField name="Limit">
        <ul>
          {defaultLimit && <li>Default: {defaultLimit}</li>}
          {maxLimit && <li>Maximum: {maxLimit}</li>}
        </ul>
      </ResponseField>}

      <ResponseField name="Sort Fields">
        <ul>
            {sortFields.map(field => {
    if (field == defaultSortField || sortFields.length == 1) {
      return <li key={field}> <code>{field} (Default)</code> </li>;
    } else {
      return <li key={field}> <code>{field}</code> </li>;
    }
  })}
        </ul>
      </ResponseField>
    </>;
};

<PaginationInfo sortFields={["createdAt"]} />


## OpenAPI

````yaml GET /v1/employer-identifiers/{employer_identifier}/payroll-connections
openapi: 3.1.0
info:
  title: Payroll Integrations Public API
  description: Public API for Payroll Integrations platform
  version: '2025-10-28T20:05:03Z'
  license:
    name: MIT
servers:
  - url: https://api.payrollintegrationsapp.com
    description: Prod environment
  - url: https://demo1-api.payrollintegrationsdemo.com
    description: Demo environment
  - url: https://demo2-api.payrollintegrationsdemo.com
    description: Demo environment
  - url: https://demo3-api.payrollintegrationsdemo.com
    description: Demo environment
security:
  - bearerAuth: []
paths:
  /v1/employer-identifiers/{employer_identifier}/payroll-connections:
    get:
      tags:
        - Payroll Connections
      summary: List payroll connections by employer identifier
      description: >-
        Returns a paginated list of payroll connections for a specific employer
        identifier
      operationId: listEmployerIdentifierPayrollConnections
      parameters:
        - name: employer_identifier
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: ID of the employer identifier
      responses:
        '200':
          description: List of payroll connections for the employer identifier
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPayrollConnectionsResponse'
              example:
                data:
                  - id: 550e8400-e29b-41d4-a716-446655440000
                    employerIdentifierId: 00000000-0000-0000-0000-000000000000
                    payrollPlatformId: 770e8400-e29b-41d4-a716-446655440000
                    createdAt: '2024-01-15T10:30:00Z'
                meta:
                  limit: 20
                  offset: 0
                  sort: createdAt
                  currentCount: 1
                  totalCount: 1
                  filters: {}
        '401':
          description: Unauthorized - Invalid or missing authentication credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ListPayrollConnectionsResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PayrollConnection'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: Error message describing what went wrong
        errors:
          type: array
          description: Optional array of detailed error messages
          items:
            type: string
    PayrollConnection:
      type: object
      required:
        - id
        - employerIdentifierId
        - payrollPlatformId
        - createdAt
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the payroll connection
        employerIdentifierId:
          type: string
          format: uuid
          description: >-
            Unique identifier of the employer identifier this connection belongs
            to
        payrollPlatformId:
          type: string
          format: uuid
          description: Unique identifier of the payroll platform this connection uses
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the payroll connection was created
    PaginationMeta:
      type: object
      required:
        - offset
        - limit
        - currentCount
        - totalCount
        - sort
        - filters
      properties:
        offset:
          type: integer
          minimum: 0
          description: Number of results to skip from the beginning
        limit:
          type: integer
          minimum: 1
          description: Maximum number of results per page
        currentCount:
          type: integer
          minimum: 0
          description: Number of results in current page
        totalCount:
          type: integer
          minimum: 0
          description: Total number of results
        sort:
          type: string
          pattern: ^(-?\w{1,100})(?:,(-?\w{1,100})){0,2}$
          description: >-
            Comma-separated list of fields to sort by. Prefix with - for
            descending order
        filters:
          type: object
          additionalProperties: true
          description: >-
            The filters applied to the request. Contains field names as keys
            with their filter values or operator-based filter objects as values

````