{
  "info": {
    "_postman_id": "7d4ad312-c70f-4841-a848-940be9464e99",
    "name": "HR Partner REST Absences Leave Requests API",
    "description": "HR Partner is a cloud-based human resources management SaaS platform from HR Partner Software Pty Ltd (Australia), aimed at organizations of roughly 20 to 500 employees. This OpenAPI describes the public HR Partner REST API exposed at https://api.hrpartner.io, covering company information, employee records and sub-modules (contacts, addresses, notes, education, skills, training, assets, benefits, dependents, grievances, positions, renewables, attachments), leave management (requests, balances, absences), timesheets and projects, expenses, recruitment (job listings, applicants, applications, application-stage tracking, interviews), performance (reviews, goals), checklists, reminders, document library, and lookups. Authentication is via API key passed in the x-api-key header.\n\nContact Support:\n Name: HR Partner Developer\n Email: developer@hrpartner.io",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:57:32.000Z",
    "updatedAt": "2026-07-28T01:57:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-7d4ad312-c70f-4841-a848-940be9464e99"
  },
  "item": [
    {
      "name": "leave-requests",
      "item": [
        {
          "name": "List Leave Requests",
          "id": "ba787e3e-735a-4e06-bfc6-314fb1194ee1",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/leave-requests?employee=<string>&leave_type=<string>&leave_status=<string>&start_date_from=<date>&start_date_to=<date>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leave-requests"
              ],
              "query": [
                {
                  "key": "employee",
                  "value": "<string>"
                },
                {
                  "key": "leave_type",
                  "value": "<string>"
                },
                {
                  "key": "leave_status",
                  "value": "<string>"
                },
                {
                  "key": "start_date_from",
                  "value": "<date>"
                },
                {
                  "key": "start_date_to",
                  "value": "<date>"
                }
              ]
            },
            "description": "List employee leave and PTO requests."
          },
          "response": [
            {
              "id": "9d219c57-c081-4cc2-9900-8e6173174cdc",
              "name": "List of leave requests.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leave-requests?employee=<string>&leave_type=<string>&leave_status=<string>&start_date_from=<date>&start_date_to=<date>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leave-requests"
                  ],
                  "query": [
                    {
                      "key": "employee",
                      "value": "<string>"
                    },
                    {
                      "key": "leave_type",
                      "value": "<string>"
                    },
                    {
                      "key": "leave_status",
                      "value": "<string>"
                    },
                    {
                      "key": "start_date_from",
                      "value": "<date>"
                    },
                    {
                      "key": "start_date_to",
                      "value": "<date>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "[\n  {\n    \"id\": \"<string>\",\n    \"leave_type\": \"<string>\",\n    \"description\": \"<string>\",\n    \"start_date\": \"<date>\",\n    \"end_date\": \"<date>\",\n    \"duration\": \"<number>\",\n    \"leave_status\": \"<string>\",\n    \"comments\": \"<string>\",\n    \"employee\": {\n      \"code\": \"<string>\",\n      \"first_names\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"full_name\": \"<string>\",\n      \"department\": \"<string>\"\n    }\n  },\n  {\n    \"id\": \"<string>\",\n    \"leave_type\": \"<string>\",\n    \"description\": \"<string>\",\n    \"start_date\": \"<date>\",\n    \"end_date\": \"<date>\",\n    \"duration\": \"<number>\",\n    \"leave_status\": \"<string>\",\n    \"comments\": \"<string>\",\n    \"employee\": {\n      \"code\": \"<string>\",\n      \"first_names\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"full_name\": \"<string>\",\n      \"department\": \"<string>\"\n    }\n  }\n]",
              "createdAt": "2026-07-28T01:57:33.000Z",
              "updatedAt": "2026-07-28T01:57:33.000Z",
              "uid": "35240-9d219c57-c081-4cc2-9900-8e6173174cdc"
            }
          ],
          "createdAt": "2026-07-28T01:57:33.000Z",
          "updatedAt": "2026-07-28T01:57:33.000Z",
          "uid": "35240-ba787e3e-735a-4e06-bfc6-314fb1194ee1"
        }
      ],
      "id": "a2a15c21-08ed-43a3-a733-1889b38f08e0",
      "createdAt": "2026-07-28T01:57:33.000Z",
      "updatedAt": "2026-07-28T01:57:33.000Z",
      "uid": "35240-a2a15c21-08ed-43a3-a733-1889b38f08e0"
    },
    {
      "name": "leave-request",
      "item": [
        {
          "name": "{id}",
          "item": [
            {
              "name": "Get Leave Request",
              "id": "296e9792-ad2f-4436-a19a-0358c25fd9e5",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leave-request/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leave-request",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "b19a1a45-aad0-4932-b017-02fc48670b89",
                      "key": "id",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Retrieve a single leave request by id."
              },
              "response": [
                {
                  "id": "439413f7-8f39-4351-8a5e-41e477d18c61",
                  "name": "A single leave request.",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/leave-request/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "leave-request",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"leave_type\": \"<string>\",\n  \"description\": \"<string>\",\n  \"start_date\": \"<date>\",\n  \"end_date\": \"<date>\",\n  \"duration\": \"<number>\",\n  \"leave_status\": \"<string>\",\n  \"comments\": \"<string>\",\n  \"employee\": {\n    \"code\": \"<string>\",\n    \"first_names\": \"<string>\",\n    \"last_name\": \"<string>\",\n    \"full_name\": \"<string>\",\n    \"department\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T01:57:33.000Z",
                  "updatedAt": "2026-07-28T01:57:33.000Z",
                  "uid": "35240-439413f7-8f39-4351-8a5e-41e477d18c61"
                }
              ],
              "createdAt": "2026-07-28T01:57:33.000Z",
              "updatedAt": "2026-07-28T01:57:33.000Z",
              "uid": "35240-296e9792-ad2f-4436-a19a-0358c25fd9e5"
            }
          ],
          "id": "dd3d3fd9-ee43-43df-8ee2-67085aaa1753",
          "createdAt": "2026-07-28T01:57:33.000Z",
          "updatedAt": "2026-07-28T01:57:33.000Z",
          "uid": "35240-dd3d3fd9-ee43-43df-8ee2-67085aaa1753"
        }
      ],
      "id": "398e0484-28d8-42cf-8b80-385e3af85883",
      "createdAt": "2026-07-28T01:57:33.000Z",
      "updatedAt": "2026-07-28T01:57:33.000Z",
      "uid": "35240-398e0484-28d8-42cf-8b80-385e3af85883"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.hrpartner.io"
    }
  ]
}