When take_from_allowance is true, the unit follows the allowance: an hour or minute unit is saved as days for a days-based allowance, and days or half_days is saved as hours for an hours-based allowance.
The allowance to deduct from when take_from_allowance is true. Always pass it: if it is null or unknown, another allowance of the workspace is used instead. Ignored when take_from_allowance is false.
Shortening an approved request needs approval from its approvers when this is on. Off by default: a shortened request applies at once and the days go back to the allowance. Extending or moving always needs approval.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"absentify®","colors":{"primary":"#6264A7","light":"#B3B5FF","dark":"#3D3E66"},"logo":{"light":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/light.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=90d1c401ab5c62a6ba4676540859a9cb","dark":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/dark.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=adc309f6bccae886f6db6c9ef38882fc"},"favicon":"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/favicon.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=ad25ce5ffa0f179bd8c41b56b3d6b421","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://absentify.com","label":"Website"}],"primary":{"type":"button","label":"Start","href":"https://absentify.com"}},"footer":{"socials":{"x":"https://x.com/absentify_com","linkedin":"https://linkedin.com/company/absentify","youtube":"https://youtube.com/@absentify"}},"integrations":{},"contextual":{"options":["view","copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en/introduction"},{"language":"de","href":"de/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"absentify","hasAudioNarration":false,"actualSubdomain":"absentify","customDomains":["absentify.com"],"gitSource":{"type":"github","owner":"absentify","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea37cbedfac7d352719a8f","collectionId":"de10d2ac-4027-4da4-80f5-5677399d3820","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea37cbedfac7d352719a8f"},"feedback":{"thumbs":true,"issues":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aea37cbedfac7d352719a8f","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"en","tag":"HR Admins","count":102},{"language":"de","tag":"Documentation","count":101},{"language":"en","tag":"Documentation","count":101},{"language":"de","tag":"API Reference","count":95},{"language":"en","tag":"API Reference","count":95},{"language":"de","tag":"HR Admins","count":51},{"language":"de","tag":"HR-Admins","count":51},{"language":"de","tag":"Einstellungen","count":46},{"language":"en","tag":"Settings","count":46},{"language":"en","tag":"Microsoft 365 Admins","count":44},{"language":"de","tag":"Allowance Management","count":28},{"language":"en","tag":"Allowance Management","count":28},{"language":"de","tag":"Mitarbeiter","count":24},{"language":"en","tag":"Employee","count":24},{"language":"de","tag":"Microsoft 365-Administratoren","count":22},{"language":"de","tag":"Microsoft 365-Admins","count":22},{"language":"de","tag":"Integrationen","count":17},{"language":"en","tag":"Integrations","count":17},{"language":"en","tag":"Users","count":17},{"language":"en","tag":"Requests","count":17}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@absentify.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".responsive-iframe{height:500px!important;width:100%!important;color-scheme:light}@media (max-width: 768px){.responsive-iframe{height:300px!important}}"}],"page":{"pagePath":"en/api-reference/leave-types/create-a-leave-type","slug":"/en/api-reference/leave-types/create-a-leave-type","pageMetadata":{"title":"Create a leave type","description":"Create a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /leave_types","href":"/en/api-reference/leave-types/create-a-leave-type","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a leave type\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a leave type","description":"Create a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /leave_types","href":"/en/api-reference/leave-types/create-a-leave-type","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/absentify/d9569a8dd2540708/crisp.js","/docs/_mintlify/custom/absentify/51984cdb7c392f11/posthog.js"],"openApiReferenceData":{"operation":{"operationId":"leaveTypes-createLeaveType","summary":"Create a leave type","description":"Create a leave type","tags":["Leave types"],"security":["6e9c9fae-4642-4640-93a4-df2cfd332331"],"parameters":[],"requestBody":"8a30ba8f-84ba-4905-a5bd-8dc37fed070e","responses":{"200":"c22b5faa-2a7c-4430-808a-ff9d78d27de9","400":"3c295e6e-f65a-4c39-aad1-b32295a72a1b","401":"4291579e-161c-402f-b4b2-da9dde2bf48c","403":"fc3ff0b1-1ca1-4730-a127-63d840691b69","500":"42687465-5359-4001-a1e3-afce2e729c97"},"method":"post","type":"path","servers":["e948ed60-f8cc-4c9d-aefa-a9126fe6b087"],"path":"/leave_types","baseUrlOptions":["https://api.absentify.com/api/v1"],"title":"Create a leave type","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"color":{"type":"string","isRequired":true,"uniqueKey":"color","typeLabel":"string"},"needs_approval":{"type":"boolean","isRequired":true,"uniqueKey":"needs_approval","typeLabel":"boolean"},"maximum_absent":{"type":"boolean","isRequired":true,"uniqueKey":"maximum_absent","typeLabel":"boolean"},"leave_unit":{"type":"string","enum":["days","half_days","hours","minutes_30","minutes_15","minutes_10","minutes_5","minutes_1"],"description":"When `take_from_allowance` is true, the unit follows the allowance: an hour or minute unit is saved as `days` for a days-based allowance, and `days` or `half_days` is saved as `hours` for an hours-based allowance.","isRequired":true,"uniqueKey":"leave_unit","typeLabel":"enum\u003cstring>"},"position":{"type":"number","isRequired":true,"uniqueKey":"position","typeLabel":"number"},"take_from_allowance":{"type":"boolean","isRequired":true,"uniqueKey":"take_from_allowance","typeLabel":"boolean"},"privacy_hide_leavetype":{"type":"boolean","isRequired":true,"uniqueKey":"privacy_hide_leavetype","typeLabel":"boolean"},"outlook_synchronization_show_as":{"type":"string","enum":["free","tentative","busy","oof","workingElsewhere","unknown"],"isRequired":true,"uniqueKey":"outlook_synchronization_show_as","typeLabel":"enum\u003cstring>"},"outlook_synchronization_subject":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"outlook_synchronization_subject.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"outlook_synchronization_subject.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outlook_synchronization_subject","typeLabel":"string | null"},"icon":{"type":"string","enum":["NoIcon","Umbrella","Anchor","Archive","Award","Briefcase","Calendar","Cast","Clock","Coffee","Compass","Battery","Emoji","Gift","Frown","Image","Sun","Home","Zap","Users","TreePalm","Plane","Luggage","Tent","Mountain","Bike","Waves","Snowflake","Ship","Map","Camera","Sunset","Thermometer","Pill","Stethoscope","HeartPulse","Hospital","Bandage","Brain","Syringe","Bed","Ambulance","Eye","Accessibility","Activity","Baby","Heart","HeartHandshake","Dog","Truck","Milk","HandHeart","ToyBrick","Cake","Laptop","Building2","Presentation","Car","TrainFront","RotateCcw","Headset","Phone","HardHat","Wrench","Globe","MapPin","GraduationCap","BookOpen","School","Languages","Lightbulb","PenLine","PartyPopper","Gem","Flower2","Landmark","Vote","Shield","Church","HandHelping","Scale","Siren","Trophy","Star","Timer","Hourglass","CalendarOff","Moon","AlarmClock","Sunrise","CalendarDays","CalendarHeart","Megaphone","CloudLightning","Leaf","Lock","Ban","CircleHelp"],"isRequired":true,"uniqueKey":"icon","typeLabel":"enum\u003cstring>"},"reason_mandatory":{"type":"boolean","isRequired":true,"uniqueKey":"reason_mandatory","typeLabel":"boolean"},"reason_hint_text":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"reason_hint_text.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"reason_hint_text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"reason_hint_text","typeLabel":"string | null"},"allowance_type_id":{"oneOf":[{"type":"string","description":"The allowance to deduct from when `take_from_allowance` is true. Always pass it: if it is null or unknown, another allowance of the workspace is used instead. Ignored when `take_from_allowance` is false.","isRequired":true,"uniqueKey":"allowance_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The allowance to deduct from when `take_from_allowance` is true. Always pass it: if it is null or unknown, another allowance of the workspace is used instead. Ignored when `take_from_allowance` is false.","isRequired":true,"uniqueKey":"allowance_type_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"allowance_type_id","typeLabel":"string | null"},"ignore_schedule":{"type":"boolean","isRequired":true,"uniqueKey":"ignore_schedule","typeLabel":"boolean"},"sync_option":{"type":"string","enum":["Disabled","All","OnlyApproved"],"isRequired":true,"uniqueKey":"sync_option","typeLabel":"enum\u003cstring>"},"ignore_public_holidays":{"type":"boolean","isRequired":true,"uniqueKey":"ignore_public_holidays","typeLabel":"boolean"},"reason_visibility_public":{"type":"boolean","isRequired":true,"uniqueKey":"reason_visibility_public","typeLabel":"boolean"},"counts_as_leave":{"default":true,"type":"boolean","uniqueKey":"counts_as_leave","typeLabel":"boolean"},"allow_representative_overlap":{"default":false,"type":"boolean","uniqueKey":"allow_representative_overlap","typeLabel":"boolean"},"allow_request_changes":{"default":true,"description":"Whether pending and approved requests of this leave type can be changed.","type":"boolean","uniqueKey":"allow_request_changes","typeLabel":"boolean"},"request_shortening_needs_approval":{"default":false,"description":"Shortening an approved request needs approval from its approvers when this is on. Off by default: a shortened request applies at once and the days go back to the allowance. Extending or moving always needs approval.","type":"boolean","uniqueKey":"request_shortening_needs_approval","typeLabel":"boolean"},"translations":{"description":"Optional per-language names, shown to members using that language.","type":"array","items":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","fr","hu","it","pl","pt","ru","es","tr","uk"],"description":"Language code the name below is written in, e.g. `de`.","isRequired":true,"uniqueKey":"translations.items.[INDEX].language","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"translations.items.[INDEX].name","typeLabel":"string"}},"required":["language","name"],"uniqueKey":"translations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"translations","typeLabel":"object[]"}},"required":["name","color","needs_approval","maximum_absent","leave_unit","position","take_from_allowance","privacy_hide_leavetype","outlook_synchronization_show_as","outlook_synchronization_subject","icon","reason_mandatory","reason_hint_text","allowance_type_id","ignore_schedule","sync_option","ignore_public_holidays","reason_visibility_public"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","color":"\u003cstring>","needs_approval":true,"maximum_absent":true,"position":123,"take_from_allowance":true,"privacy_hide_leavetype":true,"outlook_synchronization_subject":"\u003cstring>","reason_mandatory":true,"reason_hint_text":"\u003cstring>","allowance_type_id":"\u003cstring>","ignore_schedule":true,"ignore_public_holidays":true,"reason_visibility_public":true,"counts_as_leave":true,"allow_representative_overlap":false,"allow_request_changes":true,"request_shortening_needs_approval":false,"translations":[{"name":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c22b5faa-2a7c-4430-808a-ff9d78d27de9":{"description":"Successful response","content":{"application/json":{"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","uniqueKey":"","typeLabel":"string\u003cuuid>"},"examples":{"Example":{"title":"Example","value":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}},"exampleType":"generated"}},"exampleType":"generated"},"3c295e6e-f65a-4c39-aad1-b32295a72a1b":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Invalid input data error (400) · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"4291579e-161c-402f-b4b2-da9dde2bf48c":{"description":"Authorization not provided","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]},"uniqueKey":"","typeLabel":"Authorization not provided error (401) · object"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"fc3ff0b1-1ca1-4730-a127-63d840691b69":{"description":"Insufficient access","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]},"uniqueKey":"","typeLabel":"Insufficient access error (403) · object"},"examples":{"Example":{"title":"Example","value":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"42687465-5359-4001-a1e3-afce2e729c97":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Internal server error error (500) · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6e9c9fae-4642-4640-93a4-df2cfd332331":{"ApiKey":{"type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"}}},"servers":{"e948ed60-f8cc-4c9d-aefa-a9126fe6b087":{"url":"https://api.absentify.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-KEY"}],"title":"ApiKey"}]},"originalFileLocation":"https://api.absentify.com/api/v1/openapi.json"},"subdomain":"absentify","siteName":"absentify®","title":"Create a leave type - absentify®","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/leave-types/create-a-leave-type","matchLevel":0},"de":{"href":"/de/api-reference/leave-types/create-a-leave-type","matchLevel":1}}},"lastModified":"2026-11-03T10:10:29.156Z","originalFileLocation":"en/api-reference/leave-types/create-a-leave-type.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a leave type\">\u003cmeta data-mint-head name=\"application-name\" content=\"absentify®\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a leave type - absentify®\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a leave type\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"absentify®\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://absentify.mintlify.app/_mintlify/api/og/v2?division=Leave+types\u0026amp;title=Create+a+leave+type\u0026amp;description=Create+a+leave+type\u0026amp;theme=432f40b01025e6009f4d3383\u0026amp;signature=7c986f92bdb64a96c0e94565c502a93bf6e7c20801af780dff8d5b8f1ae296d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a leave type - absentify®\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a leave type\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://absentify.mintlify.app/_mintlify/api/og/v2?division=Leave+types\u0026amp;title=Create+a+leave+type\u0026amp;description=Create+a+leave+type\u0026amp;theme=432f40b01025e6009f4d3383\u0026amp;signature=7c986f92bdb64a96c0e94565c502a93bf6e7c20801af780dff8d5b8f1ae296d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/absentify/gKgFKKaR3jLynfl2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"absentify®\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6264A7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/api-reference/leave-types/create-a-leave-type.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://absentify.com/docs/de/api-reference/leave-types/create-a-leave-type\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://absentify.com/#organization\",\"name\":\"absentify®\",\"url\":\"https://absentify.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/absentify/iNrFvPmeOqKvrSdH/logo/light.svg?fit=max\u0026auto=format\u0026n=iNrFvPmeOqKvrSdH\u0026q=85\u0026s=90d1c401ab5c62a6ba4676540859a9cb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://absentify.com/docs#website\",\"name\":\"absentify®\",\"url\":\"https://absentify.com/docs\",\"publisher\":{\"@id\":\"https://absentify.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type#webpage\",\"url\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\",\"name\":\"Create a leave type\",\"description\":\"Create a leave type\",\"dateModified\":\"2026-11-03T10:10:29.156Z\",\"isPartOf\":{\"@id\":\"https://absentify.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Leave types\",\"item\":\"https://absentify.com/docs/en/api-reference/leave-types/get-all-leave-types\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a leave type\",\"item\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type#apireference\",\"headline\":\"Create a leave type\",\"name\":\"Create a leave type\",\"description\":\"Create a leave type\",\"url\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type\",\"mainEntityOfPage\":{\"@id\":\"https://absentify.com/docs/en/api-reference/leave-types/create-a-leave-type#webpage\"},\"dateModified\":\"2026-11-03T10:10:29.156Z\",\"publisher\":{\"@id\":\"https://absentify.com/#organization\"},\"isPartOf\":{\"@id\":\"https://absentify.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"absentify®\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"absentify®","nav":{"global":null,"languages":[{"language":"en","anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/en/introduction"}]},{"anchor":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"anchor":"Website","icon":"globe","href":"https://absentify.com"},{"anchor":"Help","icon":"comment-question","href":"mailto:support@absentify.com"},{"anchor":"Blog","icon":"newspaper","href":"https://absentify.com/blog"},{"anchor":"API Reference","icon":"square-terminal","tabs":[{"tab":"Developers","groups":[{"group":"Developers","pages":[{"title":"REST API introduction","sidebarTitle":"Introduction","href":"/en/api-reference/introduction"},{"title":"Quick start","sidebarTitle":"Quick start","href":"/en/api-reference/quick_start"},{"title":"MCP Server","sidebarTitle":"MCP Server","href":"/en/api-reference/mcp_server"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/en/api-reference/authentication"},{"title":"API limits","sidebarTitle":"API limits","href":"/en/api-reference/limits"},{"title":"API responses","sidebarTitle":"Responses","href":"/en/api-reference/responses"},{"title":"Webhook integration","sidebarTitle":"Webhooks","href":"/en/api-reference/webhooks"},{"title":"Exports","sidebarTitle":"Exports","href":"/en/api-reference/exports"}]}]}],"groups":[{"group":"Members","pages":[{"title":"Get all members","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members","href":"/en/api-reference/members/get-all-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members","href":"/en/api-reference/members/invite-a-member"},{"title":"Read a member by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{id}","href":"/en/api-reference/members/read-a-member-by-id"},{"title":"Update a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}","href":"/en/api-reference/members/update-a-member"},{"title":"Delete a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /members/{id}","href":"/en/api-reference/members/delete-a-member"},{"title":"Read a member by Microsoft user id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/microsoft/{microsoft_user_id}","href":"/en/api-reference/members/read-a-member-by-microsoft-user-id"},{"title":"Read a member by email","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/email/{email}","href":"/en/api-reference/members/read-a-member-by-email"},{"title":"Read a member by custom_id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/custom_id/{custom_id}","href":"/en/api-reference/members/read-a-member-by-custom_id"},{"title":"Update approvers for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/approvers","href":"/en/api-reference/members/update-approvers-for-a-member"},{"title":"Update a member's allowance (deprecated)","deprecated":true,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/allowance/{allowance_type_id}/{year}","href":"/en/api-reference/members/update-a-members-allowance-deprecated"},{"title":"Set a member's default and hidden allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/allowance-type-configurations/{allowance_type_id}","href":"/en/api-reference/members/set-a-members-default-and-hidden-allowance-types"},{"title":"Add a member's schedule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{id}/schedule","href":"/en/api-reference/members/add-a-members-schedule"},{"title":"Update a member's schedule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/schedule/{id}","href":"/en/api-reference/members/update-a-members-schedule"},{"title":"Get a member's representative settings and list","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{id}/representatives","href":"/en/api-reference/members/get-a-members-representative-settings-and-list"},{"title":"Update representatives for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{id}/representatives","href":"/en/api-reference/members/update-representatives-for-a-member"}]},{"group":"Departments","pages":[{"title":"Get all departments","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /departments","href":"/en/api-reference/departments/get-all-departments"},{"title":"Create a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /departments","href":"/en/api-reference/departments/create-a-department"},{"title":"Read a department by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /departments/{id}","href":"/en/api-reference/departments/read-a-department-by-id"},{"title":"Update a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /departments/{id}","href":"/en/api-reference/departments/update-a-department"},{"title":"Delete a department","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /departments/{id}","href":"/en/api-reference/departments/delete-a-department"}]},{"group":"Leave types","pages":[{"title":"Get all leave types","description":"Get all leave types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /leave_types","href":"/en/api-reference/leave-types/get-all-leave-types"},{"title":"Create a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /leave_types","href":"/en/api-reference/leave-types/create-a-leave-type"},{"title":"Read a leave type by id","description":"Read a leave type by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /leave_types/{id}","href":"/en/api-reference/leave-types/read-a-leave-type-by-id"},{"title":"Update a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /leave_types/{id}","href":"/en/api-reference/leave-types/update-a-leave-type"},{"title":"Delete a leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /leave_types/{id}","href":"/en/api-reference/leave-types/delete-a-leave-type"},{"title":"Restore an archived leave type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /leave_types/{id}/restore","href":"/en/api-reference/leave-types/restore-an-archived-leave-type"}]},{"group":"Workspace","pages":[{"title":"Get current workspace settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /workspace","href":"/en/api-reference/workspace/get-current-workspace-settings"},{"title":"Update the workspace settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /workspace","href":"/en/api-reference/workspace/update-the-workspace-settings"}]},{"group":"Public holidays","pages":[{"title":"Get all public holidays","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /public_holidays","href":"/en/api-reference/public-holidays/get-all-public-holidays"},{"title":"Read a public holiday by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /public_holidays/{id}","href":"/en/api-reference/public-holidays/read-a-public-holiday-by-id"}]},{"group":"Requests","pages":[{"title":"Get all requests","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests","href":"/en/api-reference/requests/get-all-requests"},{"title":"Create a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests","href":"/en/api-reference/requests/create-a-request"},{"title":"Get all requests per day","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests_per_day","href":"/en/api-reference/requests/get-all-requests-per-day"},{"title":"Read a request by id","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests/{id}","href":"/en/api-reference/requests/read-a-request-by-id"},{"title":"Create recurring requests","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/recurring","href":"/en/api-reference/requests/create-recurring-requests"},{"title":"Preview a request (dry run)","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/preview","href":"/en/api-reference/requests/preview-a-request-dry-run"},{"title":"Preview recurring requests (dry run)","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/recurring/preview","href":"/en/api-reference/requests/preview-recurring-requests-dry-run"},{"title":"Approve a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/approve","href":"/en/api-reference/requests/approve-a-request"},{"title":"Decline a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/decline","href":"/en/api-reference/requests/decline-a-request"},{"title":"Approve a request as a representative","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/approve_representative","href":"/en/api-reference/requests/approve-a-request-as-a-representative"},{"title":"Decline a request as a representative","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/decline_representative","href":"/en/api-reference/requests/decline-a-request-as-a-representative"},{"title":"Cancel a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/cancel","href":"/en/api-reference/requests/cancel-a-request"},{"title":"List the changes of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /requests/{id}/changes","href":"/en/api-reference/requests/list-the-changes-of-a-request"},{"title":"Change a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes","href":"/en/api-reference/requests/change-a-request"},{"title":"Approve a change of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/approve","href":"/en/api-reference/requests/approve-a-change-of-a-request"},{"title":"Decline a change of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/decline","href":"/en/api-reference/requests/decline-a-change-of-a-request"},{"title":"Withdraw a change of a request","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /requests/{id}/changes/{changeId}/withdraw","href":"/en/api-reference/requests/withdraw-a-change-of-a-request"}]},{"group":"Absences","pages":[{"title":"Get all requests and public holiday per member per day","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /absences_per_day","href":"/en/api-reference/absences/get-all-requests-and-public-holiday-per-member-per-day"}]},{"group":"Allowance Management","pages":[{"title":"List all rules for an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{allowance_type_id}/rules","href":"/en/api-reference/allowance-management/list-all-rules-for-an-allowance-type"},{"title":"Create a new allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types/{allowance_type_id}/rules","href":"/en/api-reference/allowance-management/create-a-new-allowance-rule"},{"title":"Delete an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /rules/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-rule"},{"title":"Update an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /rules/{id}","href":"/en/api-reference/allowance-management/update-an-allowance-rule"},{"title":"List rule assignments for a member","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/rule-assignments","href":"/en/api-reference/allowance-management/list-rule-assignments-for-a-member"},{"title":"Assign a member to an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/rule-assignments","href":"/en/api-reference/allowance-management/assign-a-member-to-an-allowance-rule"},{"title":"Remove a member from an allowance rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /rule-assignments/{id}","href":"/en/api-reference/allowance-management/remove-a-member-from-an-allowance-rule"},{"title":"Update a rule assignment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /rule-assignments/{id}","href":"/en/api-reference/allowance-management/update-a-rule-assignment"},{"title":"List a member's allowance adjustments","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/adjustments","href":"/en/api-reference/allowance-management/list-a-members-allowance-adjustments"},{"title":"Create an allowance adjustment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/adjustments","href":"/en/api-reference/allowance-management/create-an-allowance-adjustment"},{"title":"Delete an allowance adjustment","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /adjustments/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-adjustment"},{"title":"Set the organisation default rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /allowance-types/{allowance_type_id}/default-rule","href":"/en/api-reference/allowance-management/set-the-organisation-default-rule"},{"title":"Move a member to another rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/rule-change","href":"/en/api-reference/allowance-management/move-a-member-to-another-rule"},{"title":"Switch a member to manual allowance management","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /members/{member_id}/manual-rule","href":"/en/api-reference/allowance-management/switch-a-member-to-manual-allowance-management"},{"title":"List the members currently on a rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /rules/{rule_id}/members","href":"/en/api-reference/allowance-management/list-the-members-currently-on-a-rule"},{"title":"Read the audit log of a rule","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /rules/{rule_id}/audit-log","href":"/en/api-reference/allowance-management/read-the-audit-log-of-a-rule"},{"title":"Read the audit log of an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{allowance_type_id}/audit-log","href":"/en/api-reference/allowance-management/read-the-audit-log-of-an-allowance-type"},{"title":"Read a member's rule history","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/rule-audit-log","href":"/en/api-reference/allowance-management/read-a-members-rule-history"},{"title":"List all allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types","href":"/en/api-reference/allowance-management/list-all-allowance-types"},{"title":"Create an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types","href":"/en/api-reference/allowance-management/create-an-allowance-type"},{"title":"Read an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /allowance-types/{id}","href":"/en/api-reference/allowance-management/read-an-allowance-type"},{"title":"Delete an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /allowance-types/{id}","href":"/en/api-reference/allowance-management/delete-an-allowance-type"},{"title":"Update an allowance type","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json patch /allowance-types/{id}","href":"/en/api-reference/allowance-management/update-an-allowance-type"},{"title":"Reorder the allowance types","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowance-types/reorder","href":"/en/api-reference/allowance-management/reorder-the-allowance-types"},{"title":"List a member's allowances","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowances","href":"/en/api-reference/allowance-management/list-a-members-allowances"},{"title":"Read a member's allowance history","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowance-audit-log","href":"/en/api-reference/allowance-management/read-a-members-allowance-history"},{"title":"Explain one year of a member's allowance","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/allowance-breakdown","href":"/en/api-reference/allowance-management/explain-one-year-of-a-members-allowance"},{"title":"Let the carry-over be computed again","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /allowances/{id}/revert-carryover-override","href":"/en/api-reference/allowance-management/let-the-carry-over-be-computed-again"}]},{"group":"Out of office","pages":[{"title":"Get a member's out of office settings","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /members/{member_id}/out-of-office-settings","href":"/en/api-reference/out-of-office/get-a-members-out-of-office-settings"},{"title":"Create or update a member's out of office message","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json put /members/{member_id}/out-of-office-settings/{leave_type_id}","href":"/en/api-reference/out-of-office/create-or-update-a-members-out-of-office-message"},{"title":"Delete a member's out of office message","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json delete /members/{member_id}/out-of-office-settings/{leave_type_id}","href":"/en/api-reference/out-of-office/delete-a-members-out-of-office-message"}]},{"group":"Exports","pages":[{"title":"Start an export","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /exports","href":"/en/api-reference/exports/start-an-export"},{"title":"Get the file of an export","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /exports/{id}/file","href":"/en/api-reference/exports/get-the-file-of-an-export"}]},{"group":"Overtime","pages":[{"title":"List overtime entries","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /overtime-entries","href":"/en/api-reference/overtime/list-overtime-entries"},{"title":"Log overtime","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries","href":"/en/api-reference/overtime/log-overtime"},{"title":"Get an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json get /overtime-entries/{id}","href":"/en/api-reference/overtime/get-an-overtime-entry"},{"title":"Approve an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/approve","href":"/en/api-reference/overtime/approve-an-overtime-entry"},{"title":"Decline an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/decline","href":"/en/api-reference/overtime/decline-an-overtime-entry"},{"title":"Cancel an overtime entry","deprecated":null,"version":null,"openapi":"https://api.absentify.com/api/v1/openapi.json post /overtime-entries/{id}/cancel","href":"/en/api-reference/overtime/cancel-an-overtime-entry"}]}]}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/leave-types/create-a-leave-type"}]}]},"basePath":"","title":"Create a leave type - absentify®","buildId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","deploymentId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Dub5uFbX.js","utils-BAOmmv1r.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Cfvfuq3w.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Chp3aFWD.js","snippetPresets-mdHEOVGp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BRlO2pcM.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CrgNI3V9.js","shallow-Dl286uHn.js","getApiPlaygroundDisplay-YPKheyKd.js","CodeSnippet-BdD-lURy.js","CodeSnippets-BSggiSf7.js","Page-DZmn3mFl.js","getPastedJson-bQHv51S7.js","icon-SCSCTtsH.js","MethodPill-GnU2wo5s.js","DuplicateIcon-BM7jzGa_.js","createIcon-atdRs-Wh.js","DynamicMarkdown-B95U9rYS.js","SectionHeading-CvCxtB39.js","axios-vUo_bRtp.js","Markdown-CBJtw_nx.js","clsx-C_advUgl.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Dpla8_R7.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BoWSGi0C.js"]}