Skip to content

Deel: Get Policies for Organization — 200 response body — data item

Get Policies for Organization: 200 response body, field data / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Get Policies for Organization — 200 response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
assigned_profiles_countJSONRequired within parent
assigned_profiles_count (anyOf 1)integerAlternativeCount of profiles assigned to this policy.
assigned_profiles_count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
auto_approval_inactivity_time_unitstringOptionalUnit of time used for calculating the auto-approval after inactivity on reviewing the leave, if applicable
Known values: HOUR, BUSINESS_DAY, CALENDAR_DAY, WEEK, MONTH, YEAR
auto_approval_inactivity_time_unit_amountJSONOptional
auto_approval_inactivity_time_unit_amount (anyOf 1)numberAlternativeAmount of time units used for calculating the auto-approval after inactivity on reviewing the leave, if applicable
Format: double
auto_approval_inactivity_time_unit_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
created_atstringRequired within parentTimestamp when the policy was created
Format: date-time
custom_fieldsarrayRequired within parentThe custom fields the policy declares. Empty when the policy collects none.
custom_fields[]ModelEach itemExpand Validate time-off request — 200 response body — data custom fields item
descriptionstringOptionalPolicy description
has_custom_fieldsbooleanRequired within parentWhether the policy collects any custom field answers on its requests.
idstringRequired within parentPolicy UID
Format: uuid
is_attachment_requiredbooleanRequired within parentIndicates if an attachment is required for the time off request
is_description_requiredbooleanRequired within parentIndicates if a description is required for the time off request
is_event_basedbooleanRequired within parentIndicates if the policy’s base allowance accrues based on an event (e.g., a life event like child birth) rather than on a time-based schedule
is_requiring_custom_fieldsbooleanRequired within parentWhether at least one of the policy’s custom fields can be mandatory (ALWAYS_REQUIRED or REQUIRED_CONDITIONALLY). False when every custom field is OPTIONAL, or when the policy has none.
leave_typestringRequired within parentType of leave policy. Either short-term leave (e.g., PTO, vacation) or long-term leave (e.g., maternity, paternity)
Known values: SHORT_TERM_LEAVE, LONG_TERM_LEAVE
namestringRequired within parentPolicy name
notice_period_unitstringOptionalUnit of time used for calculating the notice period, if applicable. This is the minimum amount of time before the start of the leave that a worker must submit a request
Known values: HOUR, BUSINESS_DAY, CALENDAR_DAY, WEEK, MONTH, YEAR
notice_period_unit_amountJSONOptional
notice_period_unit_amount (anyOf 1)numberAlternativeAmount of time units used for calculating the notice period, if applicable
Format: double
notice_period_unit_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
overlap_request_typestringRequired within parentDefines if overlap requests are allowed or not. Overlap requests are requests that overlap with existing time off requests
Known values: ALLOWED, NOT_ALLOWED
payment_typestringRequired within parentType of payment for the time off
Known values: PAID, UNPAID, PARTIALLY_PAID
policy_allowance_prorationModelRequired within parentExpand Get Policies for Organization — 200 response body — data item policy allowance proration
Details of the proration rules for the policy allowance
policy_allowancesarrayRequired within parentDetails of the policy allowances associated with this policy
policy_allowances[]ModelEach itemExpand Get Policies for Organization — 200 response body — data item policy allowances item
policy_typeModelRequired within parentExpand Get Policies for Organization — 200 response body — data item policy type
Details of the policy type associated with this policy
request_start_typestringRequired within parentDefines when a the worker can start to request leaves. Either immediately or after a fixed period of time from the start of the tracking period
Known values: IMMEDIATELY, FIXED_PERIOD
request_start_unitstringOptionalUnit of time used for calculating the request start period, if applicable. This is used when the request start type is FIXED_PERIOD
Known values: HOUR, BUSINESS_DAY, CALENDAR_DAY, WEEK, MONTH, YEAR
request_start_unit_amountJSONOptional
request_start_unit_amount (anyOf 1)numberAlternativeAmount of time units used for calculating the request start period, if applicable. This is used when the request start type is FIXED_PERIOD
Format: double
request_start_unit_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
retrospective_request_typestringRequired within parentDefines if retrospective requests are allowed or not. Retrospective requests are requests for time off in the past
Known values: ALLOWED, NOT_ALLOWED
should_allow_editing_past_time_offsbooleanRequired within parentIndicates if users are allowed to edit past time off requests
time_off_request_typestringRequired within parentType of time off request. Can be full day, half day, or partial day
Known values: HALF_DAY, HOURLY, FULL_DAY, PERCENTAGE, PARTIAL_HOURS
time_off_typesarrayRequired within parent
time_off_types[]ModelEach itemExpand Get Policies for Organization — 200 response body — data item time off types item
tracking_cadencestringRequired within parentCadence of the tracking period. Either a fixed day (e.g., Jan 1), based on the anniversary of the employee’s start date, or NOT_SPECIFIED if the policy has no tracking cadence configured
Known values: FIXED_DAY, ANNIVERSARY, NOT_SPECIFIED
tracking_start_datestringOptionalStart date for tracking periods, if applicable. This is used when the tracking cadence is FIXED_DAY. So all tracking periods starts in the given month and day of each year
Format: date
tracking_unitstringOptionalUnit of time used for calculating tracking periods
Known values: HOUR, BUSINESS_DAY, CALENDAR_DAY, WEEK, MONTH, YEAR
tracking_unit_amountJSONOptional
tracking_unit_amount (anyOf 1)numberAlternativeAmount of the tracking unit
Format: double
tracking_unit_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updated_atstringRequired within parentTimestamp when the policy was last updated
Format: date-time

Referenced models: Validate time-off request — 200 response body — data custom fields item, Get Policies for Organization — 200 response body — data item policy allowance proration, Get Policies for Organization — 200 response body — data item policy allowances item, Get Policies for Organization — 200 response body — data item policy type, Get Policies for Organization — 200 response body — data item time off types item

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.