Keka HR Core HR API

The Core HR API from Keka HR — 14 operation(s) for core hr.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 16

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/hris/employees List all employees · Get all employees #
Ask an LLM
“How do I get a list of every employee in the company?”
“Can I pull all employee records at once?”
Tell an agent
List all employees.
Get every employee record.
POST /api/v1/hris/employees Add a new employee · Create employee #
Ask an LLM
“How do I add a new employee to the system?”
“Can I create an employee record for a new hire?”
Tell an agent
Create a new employee record.
Add a new employee to the company.
PUT /api/v1/hris/employees/8d04399f-8057-4b0d-ab0f-d9b9a5fb0376/personaldetails Update an employee's personal details · Update Employee Personal Details #
Ask an LLM
“How do I change an employee's personal details like address or phone number?”
“Can I update an employee's personal information?”
Tell an agent
Update the personal details of this employee.
Change the personal information on file for an employee.
PUT /api/v1/hris/employees/8d04399f-8057-4b0d-ab0f-d9b9a5fb0376/jobdetails Update an employee's job details · Update Employee Job Details #
Ask an LLM
“How do I update an employee's job title or department?”
“Can I change an employee's job details?”
Tell an agent
Update the job details of this employee.
Change the job title or department on an employee's record.
GET /api/v1/hris/employees/{id} Get one employee's record · Get an employee #
Ask an LLM
“How do I look up a single employee's record by ID?”
“What are the details of one specific employee?”
Tell an agent
Get employee {id}.
Show the record for employee {id}.
GET /api/v1/hris/employees/updatefields List fields that can be updated on employees · Get All Update Fields #
Ask an LLM
“Which employee fields can I update in a single call?”
“What fields does the employee update endpoint accept?”
Tell an agent
List all fields I can update on an employee.
Show the updatable employee fields.
GET /api/v1/hris/groups List all groups · Get all groups #
Ask an LLM
“How do I get a list of all groups in the company?”
“Can I fetch every group at once?”
Tell an agent
List all groups.
Get every group in the company.
GET /api/v1/hris/grouptypes List group types · Get all group types #
Ask an LLM
“What group types exist, like department or location?”
“Can I see the group type definitions?”
Tell an agent
List all group types.
Show the available group types.
GET /api/v1/hris/departments List all departments · Get All Departments #
Ask an LLM
“How do I get a list of every department?”
“Can I fetch all departments at once?”
Tell an agent
List all departments.
Get every department in the company.
GET /api/v1/hris/locations List all locations · Get all locations #
Ask an LLM
“How do I get a list of every office location?”
“Can I fetch all locations at once?”
Tell an agent
List all locations.
Get every office location.
GET /api/v1/hris/jobtitles List all job titles · Get all job titles #
Ask an LLM
“How do I get a list of every job title?”
“Can I fetch all job titles at once?”
Tell an agent
List all job titles.
Get every job title in the company.
GET /api/v1/hris/currencies List all currencies · Get all currencies #
Ask an LLM
“Which currencies are supported for payroll?”
“Can I fetch all currencies at once?”
Tell an agent
List all currencies.
Get every supported currency.
GET /api/v1/hris/noticeperiods List all notice periods · Get All Noticeperiods #
Ask an LLM
“What notice periods are configured for exit requests?”
“Can I fetch all notice periods at once?”
Tell an agent
List all notice periods.
Get every configured notice period.
GET /api/v1/hris/exitreasons List all exit reasons · Get All Exitreasons #
Ask an LLM
“Which exit reasons can I choose when an employee leaves?”
“Can I fetch all exit reasons at once?”
Tell an agent
List all exit reasons.
Get every exit reason.
POST /api/v1/hris/employees/bb3175e4-4cdb-425f-b034-b49069d53d6e/exitrequest Submit an exit request · Create an Exit Request #
Ask an LLM
“How do I submit an exit request for an employee?”
“What exit types can I choose when creating an exit request?”
Tell an agent
Create an exit request for this employee.
Submit an exit request for an employee.
PUT /api/v1/hris/employees/bb3175e4-4cdb-425f-b034-b49069d53d6e/exitrequest Update an employee's exit request · Update Exit Request for Employee #
Ask an LLM
“How do I change an exit request I already submitted?”
“Can I update an exit request after it's created?”
Tell an agent
Update the exit request for this employee.
Change an exit request I already submitted.

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-core-hr-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-core-hr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keka HR Core HR 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: Core HR
paths:
  /api/v1/hris/employees:
    get:
      operationId: get_all_employees
      summary: Get all employees
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching details of all employees.


        Enumerated Values


        TimeType

        WorkerType

        MaritalStatus


        0 - None

        1 - FullTime

        2 - PartTime

        0 - None

        1 - Permanent

        2 - Contingent

        0 - None

        1- Single

        2 - Married

        3 - Widowed

        4 - Separated


        Gender

        EmploymentStatus

        AccountStatus


        0 - NotSpecified

        1 - Male

        2 - Female

        3 - Nonbinary

        4 - PreferNotToRespond

        0 - Working

        1- Relieved

        0 - NotRegistered

        1 - Registered

        2 - Disabled'
    post:
      operationId: create_employee
      summary: Create employee
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for creating a new Employee record.


        Enumerated Values


        TimeType

        WorkerType

        MaritalStatus


        0 - None

        1 - FullTime

        2 - PartTime

        0 - None

        1 - Permanent

        2 - Contingent

        0 - None

        1- Single

        2 - Married

        3 - Widowed

        4 - Separated


        Gender

        EmploymentStatus

        AccountStatus


        0 - NotSpecified

        1 - Male

        2 - Female

        3 - Nonbinary

        4 - PreferNotToRespond

        0 - Working

        1- Relieved

        0 - NotRegistered

        1 - Registered

        2 - Disabled


        <th'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                EmployeeNumber: '1234'
                DisplayName: Shubham Test
                FirstName: Shubham
                LastName: Test
                Email: shubhtest@test.com
                Gender: Male
                DateOfBirth: 09-08-1999
                DateJoined: 01-09-2021
                department: f5b7e125-d39c-4630-a332-6c97a265f953
                BusinessUnit: db76d978-8722-4e9a-9415-94f5bb523810
                JobTitle: f3f9425a-fdee-499d-8d1f-5966697e6125
                Location: 9fe494f8-dbf8-447e-9af0-c71370f4e94e
  /api/v1/hris/employees/8d04399f-8057-4b0d-ab0f-d9b9a5fb0376/personaldetails:
    put:
      operationId: update_employee_personal_details
      summary: Update Employee Personal Details
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: Update Employee personal details
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                currentAddress:
                  addressLine1: 404, Brut Residence
                  addressLine2: Nr. Thomas Bakery
                  countryCode: IN
                  city: Manchester
                  state: North London
                  zip: M1 1AD
                displayName: Erling Haaland
                firstName: Erling
                lastName: Haaland
                gender: 0
                dateOfBirth: '1998-01-03T00:00:00'
                middleName: Brut
                workPhone: '9822134561'
                personalEmail: earling.haaland@yopmail.com
                maritalStatus: 0
                marriageDate: '2023-03-31T00:00:00'
                relations:
                - relationType: 2
                  gender: 1
                  firstName: Brut
                  lastName: Haaland
                  displayName: Brut Haaland
                  email: brut@yopmail.com
                  dateOfBirth: '1988-07-24T00:00:00'
                  profession: Footballer
                  mobile: '9999888864'
                bloodGroup: 8
  /api/v1/hris/employees/8d04399f-8057-4b0d-ab0f-d9b9a5fb0376/jobdetails:
    put:
      operationId: update_employee_job_details
      summary: Update Employee Job Details
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: Update employee job details
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                location: d62a9b17-5973-4995-83fc-4952707b6d47
                jobTitle: 4a896b29-1935-4046-a6e4-eaef2aa7dfe1
                reportingManager: 7dd7e7ed-be39-47f3-beab-d498b940fd98
                attendanceNumber: KEKATTD12
                timeType: 0
  /api/v1/hris/employees/{id}:
    get:
      operationId: get_an_employee
      summary: Get an employee
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching data of a specific employee by passing the employee ID as a URI parameter.


        Enumerated Values


        TimeType

        WorkerType

        MaritalStatus


        0 - None

        1 - FullTime

        2 - PartTime

        0 - None

        1 - Permanent

        2 - Contingent

        0 - None

        1- Single

        2 - Married

        3 - Widowed

        4 - Separated


        Gender

        EmploymentStatus

        AccountStatus


        0 - NotSpecified

        1 - Male

        2 - Female

        3 - Nonbinary

        4 - PreferNotToRespond

        0 - Working

        1- Relieved

        0 - NotRegistered

        1 - Registered

        2 - Disabled


        <div class="c'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
  /api/v1/hris/employees/updatefields:
    get:
      operationId: get_all_update_fields
      summary: Get All Update Fields
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
  /api/v1/hris/groups:
    get:
      operationId: get_all_groups
      summary: Get all groups
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all groups.


        Enumerated Values


        SystemGroupType


        0 = None

        1 = BusinessUnit

        2 = Department

        3 = OrgLocation

        4 = CostCenter

        5 = Paygroup

        6 = ProjectTeam

        7 = Team,

        8 = ClientTeam

        9 = Segment'
  /api/v1/hris/grouptypes:
    get:
      operationId: get_all_group_types
      summary: Get all group types
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all group types.


        Enumerated Values


        SystemGroupType


        0 = None

        1 = BusinessUnit

        2 = Department

        3 = OrgLocation

        4 = CostCenter

        5 = Paygroup

        6 = ProjectTeam

        7 = Team,

        8 = ClientTeam

        9 = Segment'
  /api/v1/hris/departments:
    get:
      operationId: get_all_departments
      summary: Get All Departments
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
  /api/v1/hris/locations:
    get:
      operationId: get_all_locations
      summary: Get all locations
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all locations.


        Enumerated Values


        SystemGroupType


        0 = None

        1 = BusinessUnit

        2 = Department

        3 = OrgLocation

        4 = CostCenter

        5 = Paygroup

        6 = ProjectTeam

        7 = Team,

        8 = ClientTeam

        9 = Segment'
  /api/v1/hris/jobtitles:
    get:
      operationId: get_all_job_titles
      summary: Get all job titles
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all locations.


        Enumerated Values


        SystemGroupType


        0 = None

        1 = BusinessUnit

        2 = Department

        3 = OrgLocation

        4 = CostCenter

        5 = Paygroup

        6 = ProjectTeam

        7 = Team,

        8 = ClientTeam

        9 = Segment'
  /api/v1/hris/currencies:
    get:
      operationId: get_all_currencies
      summary: Get all currencies
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'This API is used for fetching list of all currencies.


        Enumerated Values


        SystemGroupType


        0 = None

        1 = BusinessUnit

        2 = Department

        3 = OrgLocation

        4 = CostCenter

        5 = Paygroup

        6 = ProjectTeam

        7 = Team,

        8 = ClientTeam

        9 = Segment'
  /api/v1/hris/noticeperiods:
    get:
      operationId: get_all_noticeperiods
      summary: Get All Noticeperiods
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
  /api/v1/hris/exitreasons:
    get:
      operationId: get_all_exitreasons
      summary: Get All Exitreasons
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
  /api/v1/hris/employees/bb3175e4-4cdb-425f-b034-b49069d53d6e/exitrequest:
    post:
      operationId: create_an_exit_request
      summary: Create an Exit Request
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      description: 'Create an exist request for an employee


        Exit Type


        0 - None

        1 - Employee Resignation

        2- Company Action'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                exitType: 1
                exitReason: 4ce57402-db60-418e-a0b5-69c4a5fecfd0
                resignationDate: '2024-10-01T00:00:00'
                lastWorkingDate: '2024-12-01T00:00:00'
                isOkToRehire: true
                comments: Comments example 1234
    put:
      operationId: update_exit_request_for_employee
      summary: Update Exit Request for Employee
      tags:
      - Core HR
      responses:
        '200':
          description: Successful response
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                exitType: 1
                exitReason: 4ce57402-db60-418e-a0b5-69c4a5fecfd0
                resignationDate: '2024-10-01T00:00:00'
                lastWorkingDate: '2024-12-01T00:00:00'
                isOkToRehire: true
                comments: Comments example 1234
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