Timeoff > LeaveType > CreatesCopy Pagewbhk Webhooks > Timeoff > LeaveType > CreatesSubscription_type: timeoff/leave_type/createPayloadCallback payloadidstringrequiredIdentifier of the leave typenamestringrequiredName of the leave typetranslated_namestringTranslated name of the leave type, if availableidentifierstringrequiredUnique identifier of the leave typecolorstringrequiredThe color associated with this leave typeactivebooleanWhether the leave type is activetruetruefalseeditablebooleanWhether the leave type is editablefalsetruefalseapproval_requiredbooleanWhether leaves of this type must be approved before they take effect (when false, requests are auto-approved on creation)truetruefalseaccruesbooleanWhether leaves of this type consume an accruing balance/allowance (vs. a non-accruing type that does not draw down a balance)truetruefalseattachmentbooleanrequiredWhether an attachment (e.g. a sick note) can be added to leaves of this typetruefalseallow_endlessbooleanWhether leaves of this type may be open-ended (created with no finish date)falsetruefalserestrictedbooleanWhether requesting this leave type is restricted to specific employees or conditions rather than open to everyonefalsetruefalsevisibilitybooleanrequiredWhether the leave type is visible to employees (vs. admin-only)truefalseworkablebooleanrequiredWhether days taken under this leave type still count as workable (working) daystruefalsepayablebooleanWhether leaves of this type are paidtruetruefalsecompany_idstringrequiredID of the company this leave type belongs tois_attachment_mandatorybooleanWhether an attachment is mandatory (not just allowed) to request this leave typefalsetruefalseallowance_idsarray of stringsrequiredIDs of the allowances this leave type draws its balance fromallowance_ids*ADD stringhalf_days_units_enabledbooleanWhether leaves of this type can be requested in half-day unitstruetruefalsemax_days_in_centsintegerMaximum number of days a single request may take, in hundredths of a day (e.g. 5000 = 50 days); null if unboundedmin_days_in_centsintegerMinimum number of days a single request must take, in hundredths of a day (e.g. 1000 = 10 days); null if unboundeddescriptionstringFree-text description of the leave typedetails_requiredbooleanrequiredWhether the requester must provide additional details (a reason) when requesting this leave typetruefalseResponse 200Return a 200 status to indicate that the data was received successfullyUpdated 3 months ago Timeoff > BlockedPeriod > UpdatesTimeoff > LeaveType > UpdatesDid this page help you?YesNo