Skip to content

Deel: Create time-off request — 201 response body — time offs item

Create time-off request: 201 response body, field time_offs / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Create time-off request — 201 response body — time offs item

FieldTypePresenceDescription and constraints
$objectRootCreated time off request
amountstringOptionalAmount of time off taken. This is the total amount of time off taken. For example, if you take 2 days off, this will be 2. If you take 1 day off, this will be 1.
approved_atJSONOptional
approved_at (anyOf 1)stringAlternativeThis is the date when the time off request was approved. This will be null if the time off request is not approved yet.
Format: date-time
approved_at (anyOf 2)nullAlternativeThis is the date when the time off request was approved. This will be null if the time off request is not approved yet.
Format: date-time
attachmentsarrayOptionalList of attachments associated with the time off request.
attachments[]ModelEach itemExpand Update time-off request — 200 response body — time off attachments item
canceled_atJSONOptional
canceled_at (anyOf 1)stringAlternativeTime off cancellation date
Format: date-time
canceled_at (anyOf 2)nullAlternativeTime off cancellation date
Format: date-time
contract_oidJSONOptional
contract_oid (anyOf 1)stringAlternativeContract id. This is the id of the contract associated with the time off request.
contract_oid (anyOf 2)nullAlternativeContract id. This is the id of the contract associated with the time off request.
created_atstringRequired within parentThis is the date when the time off request was created in the database.
Format: date-time
custom_field_valuesarrayOptionalAnswers to the custom fields the request policy declares. Omitted when the policy declares none.
custom_field_values[]ModelEach itemExpand Update time-off request — 200 response body — time off custom field values item
deduction_amountJSONOptional
deduction_amount (anyOf 1)stringAlternativeDeduction amount. Available for independent contractor’s policies
deduction_amount (anyOf 2)nullAlternativeDeduction amount. Available for independent contractor’s policies
deleted_atJSONOptional
deleted_at (anyOf 1)stringAlternativeTime off deletion date. Present only when the time-off is soft-deleted and include_deleted_time_offs was requested.
Format: date-time
deleted_at (anyOf 2)nullAlternativeTime off deletion date. Present only when the time-off is soft-deleted and include_deleted_time_offs was requested.
Format: date-time
descriptionstringOptionalDescription of the time off request. Some policies require that a description is provided.
end_datestringRequired within parentEnd date of the time off request. This is the date when the time off ends. For example, if you take 2 days off, this will be the end date of the second day.
Format: date
entitlement_unitstringRequired within parentThe unit in which the time off usage and entitlement are calculated.
Known values: HOUR, BUSINESS_DAY, CALENDAR_DAY, WEEK, MONTH, YEAR
half_end_datebooleanRequired within parentWhether the end date is a half day or not.
half_start_datebooleanRequired within parentWhether the start date is a half day or not.
is_end_date_estimatedbooleanOptionalWhether the end date is estimated or not. This is used on event based policies such as Parental leave.
is_paidbooleanRequired within parentWhether the time off is paid or unpaid.
other_type_descriptionJSONOptional
other_type_description (anyOf 1)stringAlternativeDescription of the time off type. This is used when the policy is OTHER.
other_type_description (anyOf 2)nullAlternativeDescription of the time off type. This is used when the policy is OTHER.
reasonstringOptionalReason for taking time off. This is complementary information for the time-off description. Useful to provide sub categories for the same policy.
recipient_profileModelOptionalExpand Update time-off request — 200 response body — time off recipient profile
The time off profile of the recipient of the time off request. Must be a worker profile.
requested_atstringRequired within parentThis is the date when the time off request was made.
Format: date
requester_profileModelOptionalExpand Update time-off request — 200 response body — time off requester profile
The time off profile of the requester of the time off request. Can be either a client or worker profile.
start_datestringRequired within parentStart date of the time off request. This is the date when the time off starts. For example, if you take 2 days off, this will be the start date of the first day.
Format: date
statusstringOptionalStatus of the time off request. Can be REQUESTED, APPROVED, REJECTED, USED or CANCELED.
Known values: REQUESTED, APPROVED, REJECTED, USED, CANCELED, DELETED
time_off_dailiesarrayOptional
time_off_dailies[]ModelEach itemExpand Update time-off request — 200 response body — time off time off dailies item
time_off_eventModelOptionalExpand Update time-off request — 200 response body — time off time off event
time_off_percentageJSONOptional
time_off_percentage (anyOf 1)stringAlternativeThis is the percentage of time off taken.
time_off_percentage (anyOf 2)nullAlternativeThis is the percentage of time off taken.
time_off_typeModelOptionalExpand Update time-off request — 200 response body — time off time off type
The type of time off taken.
time_off_type_idstringRequired within parentTime off type id. This is the id of the time off type associated with the time off request.
Format: uuid
updated_atstringRequired within parentThis is the date when the time off request was last updated in the database.
Format: date-time

Referenced models: Update time-off request — 200 response body — time off custom field values item, Update time-off request — 200 response body — time off attachments item, Update time-off request — 200 response body — time off recipient profile, Update time-off request — 200 response body — time off requester profile, Update time-off request — 200 response body — time off time off dailies item, Update time-off request — 200 response body — time off time off event, Update time-off request — 200 response body — time off time off type

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.