v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBWebhooks
Timeoff > LeaveType > Updates
Subscription_type: timeoff/leave_type/update
postWebhookWebhooks > Timeoff > LeaveType > Updates
Payload
Example payload
{
"id": "1",
"name": "Annual Leave",
"translated_name": "Congé Annuel",
"identifier": "annual_leave",
"color": "red",
"active": true,
"approval_required": true,
"accrues": true,
"attachment": true,
"visibility": true,
"payable": true,
"company_id": "1",
"allowance_ids": [
"1",
"2"
],
"half_days_units_enabled": true,
"max_days_in_cents": 5000,
"min_days_in_cents": 1000,
"description": "This leave type is for annual holidays."
}Response
Return a 200 status to indicate that the data was received successfully