Paylocity Earnings API

The Earnings API from Paylocity — 2 operation(s) for earnings.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/companies/{companyId}/employees/{employeeId}/earnings List an employee's earnings · List employee earnings #
Ask an LLM
“What earnings have been recorded for an employee?”
“Can I see all earnings entries for one employee?”
Tell an agent
List earnings for employee {employeeId} at company {companyId}.
Show every earning entry recorded for {employeeId} in {companyId}.
POST /api/v2/companies/{companyId}/employees/{employeeId}/earnings Record or update an employee earning · Upsert employee earning #
Ask an LLM
“How do I record a bonus or overtime payment for an employee?”
“Can I update an existing earnings entry?”
Tell an agent
Upsert an earning entry for employee {employeeId} at company {companyId}.
Record or update an earnings entry for {employeeId} in {companyId}.
GET /api/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate} Get one earning entry · Get a specific earning entry #
Ask an LLM
“What amount was paid for a specific earning code on a given date?”
“Can I look up a single earnings entry by code and start date?”
Tell an agent
Get earning {earningCode} for employee {employeeId} at company {companyId} starting {startDate}.
Show the {earningCode} earnings entry for {employeeId} in {companyId} from {startDate}.
DELETE /api/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate} Delete an earning entry · Delete a specific earning entry #
Ask an LLM
“How do I remove a mistaken earnings entry?”
“Can I delete an earning entry by its code and start date?”
Tell an agent destructive · confirm first
Delete earning {earningCode} for employee {employeeId} at company {companyId} starting {startDate}.
Remove the {earningCode} earnings entry for {employeeId} in {companyId} from {startDate}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paylocity:paylocity-earnings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paylocity-earnings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paylocity Integrations REST Earnings API
  description: The Paylocity Integrations API exposes employees, demographics, status, pay rates, earnings, deductions, local/state taxes, onboarding, payroll history, time and labor, scheduling, learning management, background check, and custom-field data. Authentication uses OAuth 2.0 client credentials issued by Paylocity. API hosts include api.paylocity.com (production) and a sandbox tenant provided after partner approval.
  version: '2.0'
  contact:
    name: Paylocity Developer Portal
    url: https://developer.paylocity.com/
servers:
- url: https://api.paylocity.com
  description: Production
security:
- oauth2ClientCredentials: []
tags:
- name: Earnings
paths:
  /api/v2/companies/{companyId}/employees/{employeeId}/earnings:
    parameters:
    - name: companyId
      in: path
      required: true
      schema:
        type: string
    - name: employeeId
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Earnings
      summary: List employee earnings
      operationId: listEarnings
      responses:
        '200':
          description: A list of earnings.
    post:
      tags:
      - Earnings
      summary: Upsert employee earning
      operationId: upsertEarning
      responses:
        '200':
          description: Earning upserted.
  /api/v2/companies/{companyId}/employees/{employeeId}/earnings/{earningCode}/{startDate}:
    parameters:
    - name: companyId
      in: path
      required: true
      schema:
        type: string
    - name: employeeId
      in: path
      required: true
      schema:
        type: string
    - name: earningCode
      in: path
      required: true
      schema:
        type: string
    - name: startDate
      in: path
      required: true
      schema:
        type: string
        format: date
    get:
      tags:
      - Earnings
      summary: Get a specific earning entry
      operationId: getEarning
      responses:
        '200':
          description: Earning details.
    delete:
      tags:
      - Earnings
      summary: Delete a specific earning entry
      operationId: deleteEarning
      responses:
        '200':
          description: Earning deleted.
components:
  securitySchemes:
    oauth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.paylocity.com/IdentityServer/connect/token
          scopes: {}
      description: OAuth 2.0 client credentials grant. Credentials are provisioned by Paylocity.