{
  "info": {
    "_postman_id": "04476c7a-2a1a-4d7c-9025-68f4be3d1efb",
    "name": "Absentify Absences Workspace API",
    "description": "The Absentify REST API provides comprehensive absence management capabilities for Microsoft 365-integrated organizations. Manage members, departments, leave types, requests, allowances, public holidays, and workspace settings. The API requires the Plus plan and uses API key authentication. Rate limit: 150 requests per second per IP.\n\nContact Support:\n Email: support@absentify.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T00:28:06.000Z",
    "updatedAt": "2026-07-28T00:28:07.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-04476c7a-2a1a-4d7c-9025-68f4be3d1efb"
  },
  "item": [
    {
      "name": "workspace",
      "item": [
        {
          "name": "Absentify Get Current Workspace Settings",
          "id": "73e40605-9ffa-482e-be23-22bc32b0b645",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "X-API-KEY",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/workspace",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspace"
              ]
            },
            "description": "Get current workspace settings"
          },
          "response": [
            {
              "id": "047d47c9-50fc-41fa-bf10-e43c7cd39f31",
              "name": "Successful response",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"id\": \"<string>\",\n  \"createdAt\": \"<string>\",\n  \"global_date_format\": \"<string>\",\n  \"global_language\": \"<string>\",\n  \"global_time_format\": \"H24\",\n  \"global_timezone\": \"<string>\",\n  \"global_week_start\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"name\": \"<string>\",\n  \"updatedAt\": \"<string>\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-047d47c9-50fc-41fa-bf10-e43c7cd39f31"
            },
            {
              "id": "48f46aa3-cee0-448d-989e-1ebd6d504923",
              "name": "Invalid input data",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-48f46aa3-cee0-448d-989e-1ebd6d504923"
            },
            {
              "id": "33a6f0ae-7e1d-4bd7-aa8b-ac0463a64d8a",
              "name": "Authorization not provided",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-33a6f0ae-7e1d-4bd7-aa8b-ac0463a64d8a"
            },
            {
              "id": "163f709c-c587-44a6-92b9-a69d5a15b58e",
              "name": "Insufficient access",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-163f709c-c587-44a6-92b9-a69d5a15b58e"
            },
            {
              "id": "fb8a4ca7-12b1-4f00-acd7-432295746b19",
              "name": "Not found",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-fb8a4ca7-12b1-4f00-acd7-432295746b19"
            },
            {
              "id": "a3b2656a-d90d-4267-89c2-0dbaf2376562",
              "name": "Internal server error",
              "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}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-a3b2656a-d90d-4267-89c2-0dbaf2376562"
            }
          ],
          "createdAt": "2026-07-28T00:28:07.000Z",
          "updatedAt": "2026-07-28T00:28:07.000Z",
          "uid": "35240-73e40605-9ffa-482e-be23-22bc32b0b645"
        },
        {
          "name": "Absentify Update the Workspace Settings",
          "id": "123331fa-081c-484b-bdbb-c3279c09a900",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "X-API-KEY",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/workspace",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspace"
              ]
            },
            "description": "Update the workspace settings"
          },
          "response": [
            {
              "id": "dff0ffe4-5c06-412c-beea-e921b833048c",
              "name": "Successful response",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "568D43a6-a00b-82aD-aFdc-F9Fc34eddFB5",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-dff0ffe4-5c06-412c-beea-e921b833048c"
            },
            {
              "id": "67ad4857-aab6-414c-9963-85cf90980914",
              "name": "Invalid input data",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-67ad4857-aab6-414c-9963-85cf90980914"
            },
            {
              "id": "2ca1d400-3f28-4b20-90a8-7e03c6c5cba0",
              "name": "Authorization not provided",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-2ca1d400-3f28-4b20-90a8-7e03c6c5cba0"
            },
            {
              "id": "778b6c27-6c26-4739-80d1-a87888f57271",
              "name": "Insufficient access",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-778b6c27-6c26-4739-80d1-a87888f57271"
            },
            {
              "id": "b6c8f14d-d820-49b2-a8ab-ec9676754cdd",
              "name": "Not found",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-b6c8f14d-d820-49b2-a8ab-ec9676754cdd"
            },
            {
              "id": "2cc91690-54be-4e7d-aa7c-62cb0ebc17a7",
              "name": "Internal server error",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "X-API-KEY",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"global_name_format\": \"LastFirst\",\n  \"privacy_show_calendarview\": \"<boolean>\",\n  \"privacy_show_otherdepartments\": \"<boolean>\",\n  \"privacy_show_absences_in_past\": \"<boolean>\",\n  \"display_logo\": \"ShowLogo\",\n  \"allow_manager_past_request_cancellation\": \"<boolean>\",\n  \"fiscal_year_start_month\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/workspace",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "workspace"
                  ]
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"message\": \"<string>\",\n  \"code\": \"<string>\",\n  \"issues\": [\n    {\n      \"message\": \"<string>\"\n    },\n    {\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T00:28:07.000Z",
              "updatedAt": "2026-07-28T00:28:07.000Z",
              "uid": "35240-2cc91690-54be-4e7d-aa7c-62cb0ebc17a7"
            }
          ],
          "createdAt": "2026-07-28T00:28:07.000Z",
          "updatedAt": "2026-07-28T00:28:07.000Z",
          "uid": "35240-123331fa-081c-484b-bdbb-c3279c09a900"
        }
      ],
      "id": "49e4080e-b5c8-4660-b95e-2c7b4afb8a55",
      "createdAt": "2026-07-28T00:28:07.000Z",
      "updatedAt": "2026-07-28T00:28:07.000Z",
      "uid": "35240-49e4080e-b5c8-4660-b95e-2c7b4afb8a55"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.absentify.com/api/v1"
    }
  ]
}