Keka HR Payroll API

The Payroll API from Keka HR — 11 operation(s) for payroll.

GitHub OpenAPI
Business capability
Compensation & Benefits Management BC-300.30

Operations 12

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/v1/payroll/salarycomponents List payroll salary components · Get Salary components #
Ask an LLM
“What salary components make up a payroll?”
“Can I see the base, allowances and deductions defined for pay?”
Tell an agent
List all salary components.
Show the payroll components used in pay groups.
GET /api/v1/payroll/paygroups List payroll pay groups · Get all pay groups #
Ask an LLM
“Which pay groups exist for payroll runs?”
“Can I list every pay group?”
Tell an agent
List all pay groups.
Show every payroll pay group.
GET /api/v1/payroll/paygroups/{payGroupId}/paycycles List pay cycles in a pay group · Get all pay cycles #
Ask an LLM
“What pay cycles are defined for a pay group?”
“Can I list pay cycles by pay group ID?”
Tell an agent
List pay cycles in pay group {payGroupId}.
Show the pay cycles for pay group {payGroupId}.
GET /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/payregister Get a pay cycle's pay register · Get pay register #
Ask an LLM
“How much does each employee earn in a pay cycle?”
“Can I see the pay register for a pay cycle?”
Tell an agent
Get the pay register for pay cycle {payCycleId} in pay group {payGroupId}.
Show the pay register of pay cycle {payCycleId} in {payGroupId}.
GET /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/paybatches List pay batches in a pay cycle · Get all pay batches #
Ask an LLM
“Which pay batches exist in a pay cycle?”
“Can I list pay batches by pay group and pay cycle?”
Tell an agent
List pay batches in pay cycle {payCycleId} of pay group {payGroupId}.
Show all pay batches for {payGroupId} pay cycle {payCycleId}.
GET /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/paybatches/{payBatchId}/payments List payments in a pay batch · Get all batch payments #
Ask an LLM
“Which employees were paid in a batch?”
“Can I list payments for a pay batch?”
Tell an agent
List payments in pay batch {payBatchId} of pay cycle {payCycleId} in {payGroupId}.
Show the payments made in batch {payBatchId} for {payGroupId} cycle {payCycleId}.
PUT /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/paybatches/{payBatchId}/payments Update payment status for a pay batch · Update the payment status #
Ask an LLM
“Can I mark all payments in a batch as paid?”
“How many transactions can I update in one batch payment status change?”
Tell an agent
Update the payment status for pay batch {payBatchId} in pay cycle {payCycleId} of {payGroupId}.
Mark the payments in batch {payBatchId} as paid for {payGroupId} cycle {payCycleId}.
GET /api/v1/time/payroll/paygrades List pay grades · Get all Pay Grades #
Ask an LLM
“What pay grades are defined for employees?”
“Can I list all pay grades?”
Tell an agent
List all pay grades.
Show every employee pay grade.
GET /api/v1/payroll/payband List pay bands · Get All Pay Bands #
Ask an LLM
“Which pay bands exist for salary ranges?”
“Can I list all pay bands?”
Tell an agent
List all pay bands.
Show every salary pay band.
GET /api/v1/payroll/salaries List employee salaries · Get all Employee Salaries #
Ask an LLM
“What are the current salaries of all employees?”
“Can I list every employee's salary?”
Tell an agent
List all employee salaries.
Show every employee's current salary.
GET /api/v1/payroll/employees/fnf List employee FNF details · Get all employee FnF details #
Ask an LLM
“What are the FNF details for all employees?”
“Can I list FNF for every employee?”
Tell an agent
List all employee FNF details.
Show FNF details for every employee.
GET /get-all-bonus-types List bonus types · Get all Bonus Types #
Ask an LLM
“What bonus types are defined for employees?”
“Can I list all bonus types?”
Tell an agent
List all bonus types.
Show every employee bonus type.

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/keka:keka-payroll-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

keka-payroll-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keka HR Payroll API
  description: REST API for the Keka HR and payroll platform covering employee records, attendance, leave, payroll, expense management, performance, recruitment, professional services automation, helpdesk, background verification, and rewards.
  version: v1
  contact:
    url: https://developers.keka.com/
  license:
    name: Keka Terms of Service
    url: https://www.keka.com/terms-of-service
servers:
- url: https://{tenant}.keka.com/api/v1
  description: Keka HR API
  variables:
    tenant:
      default: your-company
      description: Your Keka tenant subdomain
security:
- oauth2:
  - kekaapi
tags:
- name: Payroll
paths:
  /api/v1/payroll/salarycomponents:
    get:
      operationId: get_salary_components
      summary: Get Salary components
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: This API is used for fetching list of all salary components.
  /api/v1/payroll/paygroups:
    get:
      operationId: get_all_pay_groups
      summary: Get all pay groups
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: This API is used for fetching list of all pay groups.
  /api/v1/payroll/paygroups/{payGroupId}/paycycles:
    get:
      operationId: get_all_pay_cycles
      summary: Get all pay cycles
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all pay cycles in a pay group.


        Enumerated Values


        PayrollRunStatus

        RemunerationType

        PaymentStatus


        0 = Pending

        1 = Finalized

        3 = Partial

        0 = Monthly

        1 = Daily

        2 = Hourly

        0 = UnPaid

        1 = Paid


        EmployeePayrollCycleRunStatus


        0 = SalaryOnHold = 0

        1 = PaymentOnHold

        3 = Skipped

        6 = SalaryVoid

        7 = PaymentVoid

        8 = ExecutedAsSalary

        9 = ExecutedAsArrear

        10 = FinalSettlement

        11 = FinalSettlementVoid

        12 = ReleasePayment

        13 = FinalSettlementPaymentVoid

        14 = AlreadyPaid

        15 = FinalSettlementAlreadyPaid

        16 ='
      parameters:
      - name: payGroupId
        in: path
        required: true
        schema:
          type: string
  /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/payregister:
    get:
      operationId: get_pay_register
      summary: Get pay register
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching pay register for a given pay cycle.


        Enumerated Values


        PayrollRunStatus

        RemunerationType

        PaymentStatus


        0 = Pending

        1 = Finalized

        3 = Partial

        0 = Monthly

        1 = Daily

        2 = Hourly

        0 = UnPaid

        1 = Paid


        EmployeePayrollCycleRunStatus


        0 = SalaryOnHold = 0

        1 = PaymentOnHold

        3 = Skipped

        6 = SalaryVoid

        7 = PaymentVoid

        8 = ExecutedAsSalary

        9 = ExecutedAsArrear

        10 = FinalSettlement

        11 = FinalSettlementVoid

        12 = ReleasePayment

        13 = FinalSettlementPaymentVoid

        14 = AlreadyPaid

        15 = FinalSettlementAlreadyPaid

        16 = Fin'
      parameters:
      - name: payGroupId
        in: path
        required: true
        schema:
          type: string
      - name: payCycleId
        in: path
        required: true
        schema:
          type: string
  /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/paybatches:
    get:
      operationId: get_all_pay_batches
      summary: Get all pay batches
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all pay batches in a pay group.


        Enumerated Values


        PayrollRunStatus

        RemunerationType

        PaymentStatus


        0 = Pending

        1 = Finalized

        3 = Partial

        0 = Monthly

        1 = Daily

        2 = Hourly

        0 = UnPaid

        1 = Paid


        EmployeePayrollCycleRunStatus


        0 = SalaryOnHold = 0

        1 = PaymentOnHold

        3 = Skipped

        6 = SalaryVoid

        7 = PaymentVoid

        8 = ExecutedAsSalary

        9 = ExecutedAsArrear

        10 = FinalSettlement

        11 = FinalSettlementVoid

        12 = ReleasePayment

        13 = FinalSettlementPaymentVoid

        14 = AlreadyPaid

        15 = FinalSettlementAlreadyPaid

        16 ='
      parameters:
      - name: payGroupId
        in: path
        required: true
        schema:
          type: string
      - name: payCycleId
        in: path
        required: true
        schema:
          type: string
  /api/v1/payroll/paygroups/{payGroupId}/paycycles/{payCycleId}/paybatches/{payBatchId}/payments:
    get:
      operationId: get_all_batch_payments
      summary: Get all batch payments
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching batch payments against against a batch ID,.


        Enumerated Values


        PayrollRunStatus

        RemunerationType

        PaymentStatus


        0 = Pending

        1 = Finalized

        3 = Partial

        0 = Monthly

        1 = Daily

        2 = Hourly

        0 = UnPaid

        1 = Paid


        EmployeePayrollCycleRunStatus


        0 = SalaryOnHold = 0

        1 = PaymentOnHold

        3 = Skipped

        6 = SalaryVoid

        7 = PaymentVoid

        8 = ExecutedAsSalary

        9 = ExecutedAsArrear

        10 = FinalSettlement

        11 = FinalSettlementVoid

        12 = ReleasePayment

        13 = FinalSettlementPaymentVoid

        14 = AlreadyPaid

        15 = FinalSettlementAlreadyPaid'
      parameters:
      - name: payGroupId
        in: path
        required: true
        schema:
          type: string
      - name: payCycleId
        in: path
        required: true
        schema:
          type: string
      - name: payBatchId
        in: path
        required: true
        schema:
          type: string
    put:
      operationId: update_the_payment_status
      summary: Update the payment status
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: 'This API is used for updating payment status for a given batch ID. Only 100 bulk transactions will be allowed for a particular batch.


        Enumerated Values


        PayrollRunStatus

        RemunerationType

        PaymentStatus


        0 = Pending

        1 = Finalized

        3 = Partial

        0 = Monthly

        1 = Daily

        2 = Hourly

        0 = UnPaid

        1 = Paid


        EmployeePayrollCycleRunStatus


        0 = SalaryOnHold = 0

        1 = PaymentOnHold

        3 = Skipped

        6 = SalaryVoid

        7 = PaymentVoid

        8 = ExecutedAsSalary

        9 = ExecutedAsArrear

        10 = FinalSettlement

        11 = FinalSettlementVoid

        12 = ReleasePayment

        13 = FinalSettlementPaymentVoid

        14'
      parameters:
      - name: payGroupId
        in: path
        required: true
        schema:
          type: string
      - name: payCycleId
        in: path
        required: true
        schema:
          type: string
      - name: payBatchId
        in: path
        required: true
        schema:
          type: string
  /api/v1/time/payroll/paygrades:
    get:
      operationId: get_all_pay_grades
      summary: Get all Pay Grades
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
  /api/v1/payroll/payband:
    get:
      operationId: get_all_pay_bands
      summary: Get All Pay Bands
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
  /api/v1/payroll/salaries:
    get:
      operationId: get_all_employee_salaries
      summary: Get all Employee Salaries
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
  /api/v1/payroll/employees/fnf:
    get:
      operationId: get_all_employee_fnf_details
      summary: Get all employee FnF details
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
  /get-all-bonus-types:
    get:
      operationId: get_all_bonus_types
      summary: Get all Bonus Types
      tags:
      - Payroll
      responses:
        '200':
          description: Successful response
      description: Get all bonus types
components:
  securitySchemes:
    oauth2:
      type: oauth2
      description: OAuth 2.0 client credentials flow
      flows:
        clientCredentials:
          tokenUrl: https://login.keka.com/connect/token
          scopes:
            kekaapi: Access to Keka HR API