Skip to content

Deel: Time tracking shifts schemas

49 Deel schemas with complete fields and constraints.

← Time tracking shifts operations · All schemas

Create a shift for a contract — request body — body data

FieldTypePresenceDescription and constraints
$objectRootFields for a new shift.
breaksarrayOptionalBreaks inside the shift, without overlaps. Not accepted on duration-only shifts.
breaks[]ModelEach itemExpand Create a shift for a contract — request body — body data breaks item
call_outsarrayOptionalCall-outs inside an ON_CALL shift, without overlaps. Accepted only on ON_CALL shifts.
call_outs[]ModelEach itemExpand Get a shift by ID — 201 response body — data call outs item
contract_idstringRequired within parentDeel contract the shift is recorded on. Cannot change after the shift is created.
Minimum length: 1
datestringOptionalShift day, the local date the shift belongs to. Required for duration-only and DAY_TRACKING shifts; taken from start when omitted otherwise.
Format: date
descriptionstring or nullOptionalWhat the worker did. Required when the time tracking policy requires a work description.
Maximum length: 30000
endstring or nullOptionalShift end as the local clock time where the work happened, without a UTC offset. Send with start; after start.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
is_half_daybooleanOptionalWhether a DAY_TRACKING shift counts as half a day. Accepted only on DAY_TRACKING shifts.
is_meal_break_waivedbooleanOptionalWhether the worker waived the meal break. Accepted only when the time tracking policy allows waiving.
project_idstring or nullOptionalProject the time was spent on. Must belong to the contract.
Format: uuid
startstring or nullOptionalShift start as the local clock time where the work happened, without a UTC offset (not UTC). Send with end; null or omitted for duration-only and DAY_TRACKING shifts. Stored as sent.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
statusstringOptionalApproval status to set. PENDING sends the shift to approval. APPROVED is accepted from organization tokens only; worker tokens get 403.
One of: PENDING, APPROVED
timezonestring or nullOptionalIANA time zone the shift was worked in, stored as sent and not checked. When omitted or null, it is filled from the requester's profile, as in the app. Start and end are never converted to it.
Maximum length: 255
typestringOptionalKind of time the shift records. Which types a contract accepts depends on its time tracking policy.
One of: REGULAR, OVERTIME, ON_CALL, KEEP_IN_TOUCH, DAY_TRACKING
worked_hoursnumberOptionalHours worked. Required for duration-only shifts (no start or end); not accepted when start and end are sent, as Deel calculates it.
Greater than: 0
Format: double
Maximum: 24

Referenced models: Get a shift by ID — 201 response body — data call outs item, Create a shift for a contract — request body — body data breaks item

Create a shift for a contract — request body — body data breaks item

FieldTypePresenceDescription and constraints
$objectRootA break taken inside the shift.
endstringRequired within parentBreak end, local time (no UTC offset). After start and not after the shift end.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
startstringRequired within parentBreak start, local time where the work happened (no UTC offset).
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
typestringRequired within parentKind of break. BREAK is a generic break; use MEAL_BREAK or REST_BREAK when known, and LACTATION_BREAK where the time tracking policy offers it.
One of: BREAK, MEAL_BREAK, REST_BREAK, LACTATION_BREAK

Create raw time tracking shifts — 201 response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parent
data[]ModelEach itemExpand Create raw time tracking shifts — 201 response body — data item

Referenced models: Create raw time tracking shifts — 201 response body — data item

Create raw time tracking shifts — 201 response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentAssociated contract ID for the shift
created_atstringRequired within parentDate when the shift was created
Format: date-time
date_of_workstringRequired within parentDate when the shift takes place, in YYYY-MM-DD format
descriptionstringRequired within parentDescription of the shift
external_idstringRequired within parentID specified by the client for uniquely identifying the shift
metaModelOptionalExpand Get Shift details — 200 response body — data meta
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_reference_idstringOptionalExternal ID of the original shift this one references (set on correction shifts).
Maximum length: 48
Minimum length: 8
shift_typestringRequired within parentType of the shift
Known values: REGULAR
summaryModelOptionalExpand Create raw time tracking shifts — 201 response body — data item summary
updated_atstringRequired within parentDate when the shift was last updated
Format: date-time

Referenced models: Get Shift details — 200 response body — data meta, Get Shift details — 200 response body — data payroll cycle ref, Create raw time tracking shifts — 201 response body — data item summary

Create raw time tracking shifts — 201 response body — data item summary

FieldTypePresenceDescription and constraints
$objectRoot
payable_break_hoursJSONOptional
payable_break_hours (anyOf 1)numberAlternativeBreak hours that are payable
Format: double
payable_break_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shift_duration_hoursJSONOptional
shift_duration_hours (anyOf 1)numberAlternativeTotal duration of the shift in hours
Format: double
shift_duration_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shift_rate_external_idstringRequired within parentExternal ID of the shift rate associated with this shift
time_amountJSONOptional
time_amount (anyOf 1)numberAlternativeThe amount of time for the shift
Greater than: 0
Format: double
time_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
time_unitstringOptionalThe unit of time for the shift (DAY, HOUR, MONTH, WEEK)
Known values: DAY, HOUR, MONTH, WEEK
total_break_hoursJSONOptional
total_break_hours (anyOf 1)numberAlternativeTotal break duration in hours
Format: double
total_break_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total_payable_hoursJSONOptional
total_payable_hours (anyOf 1)numberAlternativeTotal payable working hours after break deductions
Format: double
total_payable_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Create raw time tracking shifts — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentThe unique identifier of the employee contract.
shiftsarrayRequired within parent
shifts[]ModelEach itemExpand Create raw time tracking shifts — request body — body data shifts item

Referenced models: Create raw time tracking shifts — request body — body data shifts item

Create raw time tracking shifts — request body — body data shifts item

FieldTypePresenceDescription and constraints
$objectRoot
date_of_workstringRequired within parentDate of the shift, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
descriptionstringRequired within parentDescription of the shift.
Maximum length: 30000
Minimum length: 1
external_idstringRequired within parentID specified by the client for uniquely identifying the shift.
Maximum length: 48
Minimum length: 8
metaModelRequired within parentExpand Create raw time tracking shifts — request body — body data shifts item meta
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Create raw time tracking shifts — request body — body data shifts item meta

Create raw time tracking shifts — request body — body data shifts item meta

FieldTypePresenceDescription and constraints
$objectRoot
approval_datestringOptionalApproval date for the shift
Pattern: ^\d{4}-\d{2}-\d{2}$
breaksarrayOptional
breaks[]ModelEach itemExpand Create raw time tracking shifts — request body — body data shifts item meta breaks item
endModelRequired within parentExpand Create raw time tracking shifts — request body — body data shifts item meta end
Shift end date and time
startModelRequired within parentExpand Create raw time tracking shifts — request body — body data shifts item meta start
Shift start date and time

Referenced models: Create raw time tracking shifts — request body — body data shifts item meta breaks item, Create raw time tracking shifts — request body — body data shifts item meta end, Create raw time tracking shifts — request body — body data shifts item meta start

Create raw time tracking shifts — request body — body data shifts item meta breaks item

FieldTypePresenceDescription and constraints
$objectRootBreak start and end date and time
endModelRequired within parentExpand Create raw time tracking shifts — request body — body data shifts item meta breaks item end
Break end date and time
is_paidbooleanOptionalIndicates if the break is paid.
startModelRequired within parentExpand Create raw time tracking shifts — request body — body data shifts item meta breaks item start
Break start date and time

Referenced models: Create raw time tracking shifts — request body — body data shifts item meta breaks item end, Create raw time tracking shifts — request body — body data shifts item meta breaks item start

Create raw time tracking shifts — request body — body data shifts item meta breaks item end

FieldTypePresenceDescription and constraints
$objectRootBreak end date and time
datestringRequired within parentBreak end date, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
timestringRequired within parentBreak end time, in HH:mm format.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$

Create raw time tracking shifts — request body — body data shifts item meta breaks item start

FieldTypePresenceDescription and constraints
$objectRootBreak start date and time
datestringRequired within parentBreak start date, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
timestringRequired within parentBreak start time, in HH:mm format.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$

Create raw time tracking shifts — request body — body data shifts item meta end

FieldTypePresenceDescription and constraints
$objectRootShift end date and time
datestringRequired within parentShift end date, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
is_public_holidaybooleanRequired within parentIndicates if the shift end day is a public holiday.
is_rest_daybooleanRequired within parentIndicates if the shift end day is a rest day.
timestringRequired within parentShift end time, in HH:mm format.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$

Create raw time tracking shifts — request body — body data shifts item meta start

FieldTypePresenceDescription and constraints
$objectRootShift start date and time
datestringRequired within parentShift start date, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
is_public_holidaybooleanRequired within parentIndicates if the shift start day is a public holiday.
is_rest_daybooleanRequired within parentIndicates if the shift start day is a rest day.
timestringRequired within parentShift start time, in HH:mm format.
Pattern: ^([0-1]\d|2[0-3]):[0-5]\d$

Create shifts — 201 response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parent
data[]ModelEach itemExpand Create shifts — 201 response body — data item

Referenced models: Create shifts — 201 response body — data item

Create shifts — 201 response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentAssociated contract ID for the shift
created_atstringRequired within parentDate when the shift was created
Format: date-time
date_of_workstringRequired within parentDate when the shift takes place, in YYYY-MM-DD format
descriptionstringRequired within parentDescription of the shift
external_idstringRequired within parentID specified by the client for uniquely identifying the shift
metaModelOptionalExpand Get Shift details — 200 response body — data meta
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_reference_idstringOptionalExternal ID of the original shift this one references (set on correction shifts).
Maximum length: 48
Minimum length: 8
shift_typestringRequired within parentType of the shift
Known values: REGULAR, CORRECTION_ABSOLUTE, CORRECTION_DELTA
summaryModelOptionalExpand Get Shift details — 200 response body — data summary
updated_atstringRequired within parentDate when the shift was last updated
Format: date-time

Referenced models: Get Shift details — 200 response body — data meta, Get Shift details — 200 response body — data payroll cycle ref, Get Shift details — 200 response body — data summary

Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringRequired within parentDescription of the shift.
Maximum length: 30000
Minimum length: 1
external_idstringRequired within parentExternal ID of the shift.
Maximum length: 48
Minimum length: 8
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_reference_idstringRequired within parentExternal ID of the original shift being corrected.
Maximum length: 48
Minimum length: 8
shift_typestringRequired within parentType of the shift
One of: CORRECTION_ABSOLUTE
summaryModelRequired within parentExpand Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE summary

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE summary

Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE summary

FieldTypePresenceDescription and constraints
$objectRoot
payable_break_hoursnumberOptionalBreak hours that are payable. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
shift_duration_hoursnumberOptionalTotal duration of the shift in hours. Part of the hours-based summary group, used when the shift rate is PER_HOUR_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `time_amount`/`time_unit` — do not send both groups.
Greater than: 0
Format: double
time_amountnumberOptionalCorrected amount of time (0 zeroes the original shift). Part of the unit-amount summary group, required when the shift rate is PER_UNIT_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `shift_duration_hours`/`total_break_hours`/`payable_break_hours`/`total_payable_hours` — do not send both groups.
Format: double
Minimum: 0
time_unitstringOptionalThe unit of time for the shift (DAY, HOUR, MONTH, WEEK). Part of the unit-amount summary group (see `time_amount`).
One of: DAY, HOUR, MONTH, WEEK
total_break_hoursnumberOptionalTotal break duration in hours. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
total_payable_hoursnumberOptionalCorrected total payable hours (0 zeroes the original shift). Part of the hours-based summary group (see `shift_duration_hours`).
Format: double
Minimum: 0

Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA

FieldTypePresenceDescription and constraints
$objectRoot
correctionsarrayRequired within parent
corrections[]ModelEach itemExpand Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA corrections item
descriptionstringRequired within parentDescription of the shift.
Maximum length: 30000
Minimum length: 1
external_idstringRequired within parentExternal ID of the shift.
Maximum length: 48
Minimum length: 8
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_reference_idstringRequired within parentExternal ID of the original shift being corrected.
Maximum length: 48
Minimum length: 8
shift_typestringRequired within parentType of the shift
One of: CORRECTION_DELTA

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA corrections item

Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA corrections item

FieldTypePresenceDescription and constraints
$objectRootCorrection entry for delta shifts
payable_break_hoursnumberOptionalPayable break hours to add or subtract
Greater than: 0
Format: double
shift_duration_hoursnumberOptionalShift duration hours to add or subtract
Greater than: 0
Format: double
time_amountnumberOptionalTime amount to add or subtract
Greater than: 0
Format: double
total_break_hoursnumberOptionalBreak hours to add or subtract
Greater than: 0
Format: double
total_payable_hoursnumberOptionalPayable hours to add or subtract
Greater than: 0
Format: double
typestringRequired within parentType of correction
One of: ADDITION, SUBTRACTION

Create shifts — request body — body / data / shifts / item / shift_type: REGULAR

FieldTypePresenceDescription and constraints
$objectRoot
date_of_workstringRequired within parentPattern: ^\d{4}-\d{2}-\d{2}$
descriptionstringRequired within parentDescription of the shift.
Maximum length: 30000
Minimum length: 1
external_idstringRequired within parentExternal ID of the shift.
Maximum length: 48
Minimum length: 8
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_typestringOptionalType of the shift
Default: REGULAR
One of: REGULAR
summaryModelRequired within parentExpand Create shifts — request body — body / data / shifts / item / shift_type: REGULAR summary
Shift summary. The fields here form two mutually exclusive groups — hours-based (`shift_duration_hours`, `total_break_hours`, `payable_break_hours`, `total_payable_hours`) and unit-amount (`time_amount`, `time_unit`) — and the schema cannot express this as a strict either/or because which group is required depends on the shift rate (`shift_rate_external_id`) type, resolved server-side: PER_UNIT_FLAT_RATE requires the unit-amount group, PER_HOUR_FLAT_RATE requires the hours-based group, and MULTIPLIER_PERCENTAGE (or no shift rate) accepts either group but not a mix of both. Sending fields from both groups, or the wrong group for the rate type, is rejected.

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Create shifts — request body — body / data / shifts / item / shift_type: REGULAR summary

Create shifts — request body — body / data / shifts / item / shift_type: REGULAR summary

FieldTypePresenceDescription and constraints
$objectRootShift summary. The fields here form two mutually exclusive groups — hours-based (`shift_duration_hours`, `total_break_hours`, `payable_break_hours`, `total_payable_hours`) and unit-amount (`time_amount`, `time_unit`) — and the schema cannot express this as a strict either/or because which group is required depends on the shift rate (`shift_rate_external_id`) type, resolved server-side: PER_UNIT_FLAT_RATE requires the unit-amount group, PER_HOUR_FLAT_RATE requires the hours-based group, and MULTIPLIER_PERCENTAGE (or no shift rate) accepts either group but not a mix of both. Sending fields from both groups, or the wrong group for the rate type, is rejected.
payable_break_hoursnumberOptionalBreak hours that are payable. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
shift_duration_hoursnumberOptionalTotal duration of the shift in hours. Part of the hours-based summary group, used when the shift rate is PER_HOUR_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `time_amount`/`time_unit` — do not send both groups.
Greater than: 0
Format: double
shift_rate_external_idstringOptionalExternal ID of the shift rate associated with this shift. Its type (PER_UNIT_FLAT_RATE, PER_HOUR_FLAT_RATE, or MULTIPLIER_PERCENTAGE) determines which of the two field groups below is required — see the group descriptions.
Maximum length: 48
Minimum length: 8
time_amountnumberOptionalThe amount of time for the shift. Part of the unit-amount summary group, required when the shift rate is PER_UNIT_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `shift_duration_hours`/`total_break_hours`/`payable_break_hours`/`total_payable_hours` — do not send both groups.
Greater than: 0
Format: double
time_unitstringOptionalThe unit of time for the shift (DAY, HOUR, MONTH, WEEK). Part of the unit-amount summary group (see `time_amount`).
One of: DAY, HOUR, MONTH, WEEK
total_break_hoursnumberOptionalTotal break duration in hours. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
total_payable_hoursnumberOptionalTotal payable working hours after break deductions. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double

Create shifts — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentThe unique identifier of the employee contract.
shiftsarrayRequired within parent
shifts[]ModelEach itemExpand Create shifts — request body — body data shifts item

Referenced models: Create shifts — request body — body data shifts item

Create shifts — request body — body data shifts item

FieldTypePresenceDescription and constraints
$JSONRoot
$ (oneOf 1)ModelAlternativeExpand Create shifts — request body — body / data / shifts / item / shift_type: REGULAR
$ (oneOf 2)ModelAlternativeExpand Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE
$ (oneOf 3)ModelAlternativeExpand Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA

Referenced models: Create shifts — request body — body / data / shifts / item / shift_type: REGULAR, Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION ABSOLUTE, Create shifts — request body — body / data / shifts / item / shift_type: CORRECTION DELTA

Delete multiple shifts by External ID — 200 response body

FieldTypePresenceDescription and constraints
$objectRootResponse body for bulk delete shifts
dataModelRequired within parentExpand Delete multiple shifts by External ID — 200 response body — data

Referenced models: Delete multiple shifts by External ID — 200 response body — data

Delete multiple shifts by External ID — 200 response body — data

FieldTypePresenceDescription and constraints
$objectRoot
messagestringRequired within parentSuccess message indicating the number of shifts deleted
Maximum length: 200

Delete multiple shifts by External ID — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
external_idsarrayRequired within parentArray of shift external_ids to delete
external_ids[]stringEach item

Get Shift details — 200 response body

FieldTypePresenceDescription and constraints
$objectRootShift response wrapper
dataModelRequired within parentExpand Get Shift details — 200 response body — data

Referenced models: Get Shift details — 200 response body — data

Get Shift details — 200 response body — data

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentAssociated contract ID for the shift
created_atstringRequired within parentDate when the shift was created
Format: date-time
date_of_workstringRequired within parentDate when the shift takes place, in YYYY-MM-DD format
descriptionstringRequired within parentDescription of the shift
external_idstringRequired within parentID specified by the client for uniquely identifying the shift
metaModelOptionalExpand Get Shift details — 200 response body — data meta
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
shift_reference_idstringOptionalExternal ID of the original shift this one references (set on correction shifts).
Maximum length: 48
Minimum length: 8
shift_typestringRequired within parentType of the shift
Known values: REGULAR, CORRECTION_ABSOLUTE, CORRECTION_DELTA, TIME_OFF_QUALIFYING
summaryModelOptionalExpand Get Shift details — 200 response body — data summary
updated_atstringRequired within parentDate when the shift was last updated
Format: date-time

Referenced models: Get Shift details — 200 response body — data meta, Get Shift details — 200 response body — data payroll cycle ref, Get Shift details — 200 response body — data summary

Get Shift details — 200 response body — data meta

FieldTypePresenceDescription and constraints
$objectRoot
approval_datestringOptionalApproval date for the shift, in ISO format
breaksarrayOptional
breaks[]ModelEach itemExpand Get Shift details — 200 response body — data meta breaks item
endModelRequired within parentExpand Get Shift details — 200 response body — data meta end
startModelRequired within parentExpand Get Shift details — 200 response body — data meta start

Referenced models: Get Shift details — 200 response body — data meta breaks item, Get Shift details — 200 response body — data meta end, Get Shift details — 200 response body — data meta start

Get Shift details — 200 response body — data meta breaks item

FieldTypePresenceDescription and constraints
$objectRoot
endModelRequired within parentExpand Get Shift details — 200 response body — data meta breaks item end
is_paidbooleanOptionalIndicates if the break is paid
startModelRequired within parentExpand Get Shift details — 200 response body — data meta breaks item start

Referenced models: Get Shift details — 200 response body — data meta breaks item end, Get Shift details — 200 response body — data meta breaks item start

Get Shift details — 200 response body — data meta breaks item end

FieldTypePresenceDescription and constraints
$objectRoot
datestringRequired within parentBreak end date
timestringRequired within parentBreak end time in HH:mm format

Get Shift details — 200 response body — data meta breaks item start

FieldTypePresenceDescription and constraints
$objectRoot
datestringRequired within parentBreak start date
timestringRequired within parentBreak start time in HH:mm format

Get Shift details — 200 response body — data meta end

FieldTypePresenceDescription and constraints
$objectRoot
datestringRequired within parentShift end date
is_public_holidaybooleanRequired within parentIndicates if it is a public holiday
is_rest_daybooleanRequired within parentIndicates if it is a rest day
timestringRequired within parentShift end time in HH:mm format

Get Shift details — 200 response body — data meta start

FieldTypePresenceDescription and constraints
$objectRoot
datestringRequired within parentShift start date
is_public_holidaybooleanRequired within parentIndicates if it is a public holiday
is_rest_daybooleanRequired within parentIndicates if it is a rest day
timestringRequired within parentShift start time in HH:mm format

Get Shift details — 200 response body — data payroll cycle ref

FieldTypePresenceDescription and constraints
$objectRootPayroll cycle reference
datestringRequired within parentdate in ISO
Format: date-time

Get Shift details — 200 response body — data summary

FieldTypePresenceDescription and constraints
$objectRoot
payable_break_hoursJSONOptional
payable_break_hours (anyOf 1)numberAlternativeBreak hours that are payable
Format: double
payable_break_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shift_duration_hoursJSONOptional
shift_duration_hours (anyOf 1)numberAlternativeTotal duration of the shift in hours
Format: double
shift_duration_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shift_rate_external_idstringRequired within parentExternal ID of the shift rate associated with this shift
time_amountJSONOptional
time_amount (anyOf 1)numberAlternativeThe amount of time for the shift
Format: double
Minimum: 0
time_amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
time_unitstringOptionalThe unit of time for the shift (DAY, HOUR, MONTH, WEEK)
Known values: DAY, HOUR, MONTH, WEEK
total_break_hoursJSONOptional
total_break_hours (anyOf 1)numberAlternativeTotal break duration in hours
Format: double
total_break_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total_payable_hoursJSONOptional
total_payable_hours (anyOf 1)numberAlternativeTotal payable working hours after break deductions
Format: double
total_payable_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get a shift by ID — 201 response body

FieldTypePresenceDescription and constraints
$objectRoot
dataModelRequired within parentExpand Get a shift by ID — 201 response body — data
A shift recorded on a contract.

Referenced models: Get a shift by ID — 201 response body — data

Get a shift by ID — 201 response body — data

FieldTypePresenceDescription and constraints
$objectRootA shift recorded on a contract.
break_hoursJSONRequired within parent
break_hours (anyOf 1)numberAlternativeHours spent on breaks.
Format: double
break_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
breaksarrayRequired within parentBreaks inside the shift; empty when there are none.
breaks[]ModelEach itemExpand Get a shift by ID — 201 response body — data breaks item
call_outsarrayRequired within parentCall-outs inside an ON_CALL shift; empty for other types.
call_outs[]ModelEach itemExpand Get a shift by ID — 201 response body — data call outs item
contract_idstringRequired within parentDeel contract the shift is recorded on.
created_atstringRequired within parentWhen the shift was created, in UTC.
Format: date-time
datestringRequired within parentShift day, the local date the shift belongs to.
Format: date
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeWhat the worker did; null when none.
description (anyOf 2)nullAlternativeWhat the worker did; null when none.
endJSONRequired within parent
end (anyOf 1)stringAlternativeShift end as local clock time, without a UTC offset; null for duration-only and DAY_TRACKING shifts.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
end (anyOf 2)nullAlternativeShift end as local clock time, without a UTC offset; null for duration-only and DAY_TRACKING shifts.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
idstringRequired within parentDeel ID of the shift; the shift_id path parameter.
Format: uuid
is_half_daybooleanOptionalWhether a DAY_TRACKING shift counts as half a day. Present only on DAY_TRACKING shifts.
is_meal_break_waivedbooleanRequired within parentWhether the worker waived the meal break.
originstringRequired within parentChannel the shift was entered through. PLATFORM is the Deel web app, ADMIN is Deel staff, AUTO_SUBMIT is automatic submission, INTERNAL_INTEGRATION is another Deel product, EXTERNAL_INTEGRATION is this API; null when the channel was not recorded.
Known values: PLATFORM, MOBILE, ADMIN, AUTO_SUBMIT, INTERNAL_INTEGRATION, EXTERNAL_INTEGRATION, SLACK
project_idJSONRequired within parent
project_id (anyOf 1)stringAlternativeProject the time was spent on; null when none.
Format: uuid
project_id (anyOf 2)nullAlternativeProject the time was spent on; null when none.
Format: uuid
startJSONRequired within parent
start (anyOf 1)stringAlternativeShift start as local clock time, without a UTC offset; null for duration-only and DAY_TRACKING shifts.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
start (anyOf 2)nullAlternativeShift start as local clock time, without a UTC offset; null for duration-only and DAY_TRACKING shifts.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
statusstringRequired within parentApproval status of the shift. On a pay-as-you-go contract it follows the hourly report: APPROVED also covers hourly reports being processed, paid or marked not payable.
Known values: PENDING, APPROVED, REJECTED
timezoneJSONRequired within parent
timezone (anyOf 1)stringAlternativeIANA time zone the shift was worked in: as sent, or filled from the requester's profile when it was not sent; null when neither had one.
timezone (anyOf 2)nullAlternativeIANA time zone the shift was worked in: as sent, or filled from the requester's profile when it was not sent; null when neither had one.
total_hoursJSONRequired within parent
total_hours (anyOf 1)numberAlternativeHours from start to end, breaks included.
Format: double
total_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
typestringRequired within parentKind of time the shift records. Which types a contract accepts depends on its time tracking policy.
Known values: REGULAR, OVERTIME, ON_CALL, KEEP_IN_TOUCH, DAY_TRACKING
updated_atstringRequired within parentWhen the shift last changed, in UTC.
Format: date-time
worked_hoursJSONRequired within parent
worked_hours (anyOf 1)numberAlternativeHours worked, total hours minus break hours.
Format: double
worked_hours (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get a shift by ID — 201 response body — data breaks item, Get a shift by ID — 201 response body — data call outs item

Get a shift by ID — 201 response body — data breaks item

FieldTypePresenceDescription and constraints
$objectRootA break taken inside the shift.
endstringRequired within parentBreak end, local time (no UTC offset). After start and not after the shift end.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
startstringRequired within parentBreak start, local time where the work happened (no UTC offset).
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
typestringRequired within parentKind of break. BREAK is a generic break; use MEAL_BREAK or REST_BREAK when known, and LACTATION_BREAK where the time tracking policy offers it.
Known values: BREAK, MEAL_BREAK, REST_BREAK, LACTATION_BREAK

Get a shift by ID — 201 response body — data call outs item

FieldTypePresenceDescription and constraints
$objectRootA period inside an on-call shift when the worker was called out to work.
endstringRequired within parentCall-out end, local time (no UTC offset). After start and not after the shift end.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
startstringRequired within parentCall-out start, local time where the work happened (no UTC offset).
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$

List of shifts — 200 response body

FieldTypePresenceDescription and constraints
$objectRootShifts response
dataarrayRequired within parent
data[]ModelEach itemExpand Get Shift details — 200 response body — data
pageModelRequired within parentExpand List of shifts — 200 response body — page

Referenced models: Get Shift details — 200 response body — data, List of shifts — 200 response body — page

List of shifts — 200 response body — page

FieldTypePresenceDescription and constraints
$objectRoot
items_per_pageJSONRequired within parent
items_per_page (anyOf 1)numberAlternativeNumber of shifts per page
Format: double
items_per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
offsetJSONRequired within parent
offset (anyOf 1)numberAlternativeOffset for pagination
Format: double
offset (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total_rowsJSONRequired within parent
total_rows (anyOf 1)numberAlternativeTotal number of shifts
Format: double
total_rows (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

List shifts in an organization — 200 response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentShifts in this page.
data[]ModelEach itemExpand Get a shift by ID — 201 response body — data
has_morebooleanRequired within parentWhether to fetch another page with next_cursor. A full page sets it, so the page after it can be empty.
next_cursorJSONRequired within parent
next_cursor (anyOf 1)stringAlternativeCursor for the next page; null on the last page.
next_cursor (anyOf 2)nullAlternativeCursor for the next page; null on the last page.

Referenced models: Get a shift by ID — 201 response body — data

Update a shift — time Tracking Shifts update Shift — request body — body data

FieldTypePresenceDescription and constraints
$objectRootFields to change. Fields not sent keep their value; breaks and call_outs, when sent, replace the whole list.
breaksarrayOptionalBreaks inside the shift, without overlaps. Not accepted on duration-only shifts.
breaks[]ModelEach itemExpand Create a shift for a contract — request body — body data breaks item
call_outsarrayOptionalCall-outs inside an ON_CALL shift, without overlaps. Accepted only on ON_CALL shifts.
call_outs[]ModelEach itemExpand Get a shift by ID — 201 response body — data call outs item
datestringOptionalShift day, the local date the shift belongs to. Required for duration-only and DAY_TRACKING shifts; taken from start when omitted otherwise.
Format: date
descriptionstring or nullOptionalWhat the worker did. Required when the time tracking policy requires a work description.
Maximum length: 30000
endstring or nullOptionalShift end as the local clock time where the work happened, without a UTC offset. Send with start; after start.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
is_half_daybooleanOptionalWhether a DAY_TRACKING shift counts as half a day. Accepted only on DAY_TRACKING shifts.
is_meal_break_waivedbooleanOptionalWhether the worker waived the meal break. Accepted only when the time tracking policy allows waiving.
project_idstring or nullOptionalProject the time was spent on. Must belong to the contract.
Format: uuid
startstring or nullOptionalShift start as the local clock time where the work happened, without a UTC offset (not UTC). Send with end; null or omitted for duration-only and DAY_TRACKING shifts. Stored as sent.
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
statusstringOptionalApproval status to set. PENDING sends the shift to approval. APPROVED is accepted from organization tokens only; worker tokens get 403.
One of: PENDING, APPROVED
timezonestring or nullOptionalIANA time zone the shift was worked in, stored as sent and not checked. When omitted or null, it is filled from the requester's profile, as in the app. Start and end are never converted to it.
Maximum length: 255
typestringOptionalKind of time the shift records. Which types a contract accepts depends on its time tracking policy.
One of: REGULAR, OVERTIME, ON_CALL, KEEP_IN_TOUCH, DAY_TRACKING
worked_hoursnumberOptionalHours worked. Required for duration-only shifts (no start or end); not accepted when start and end are sent, as Deel calculates it.
Greater than: 0
Format: double
Maximum: 24

Referenced models: Get a shift by ID — 201 response body — data call outs item, Create a shift for a contract — request body — body data breaks item

Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
date_of_workstringOptionalThe updated date of the shift, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
descriptionstringOptionalThe updated description of the shift.
Maximum length: 30000
Minimum length: 1
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
summaryModelOptionalExpand Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data summary

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data summary

Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data summary

FieldTypePresenceDescription and constraints
$objectRoot
payable_break_hoursnumberOptionalBreak hours that are payable. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
shift_duration_hoursnumberOptionalTotal duration of the shift in hours. Part of the hours-based summary group, used when the shift rate is PER_HOUR_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `time_amount`/`time_unit` — do not send both groups.
Greater than: 0
Format: double
shift_rate_external_idstringOptionalExternal ID of the shift rate associated with this shift. Its type (PER_UNIT_FLAT_RATE, PER_HOUR_FLAT_RATE, or MULTIPLIER_PERCENTAGE) determines which of the two field groups below is required — see the group descriptions.
Maximum length: 48
Minimum length: 8
time_amountnumberOptionalThe amount of time for the shift. Part of the unit-amount summary group, required when the shift rate is PER_UNIT_FLAT_RATE (or MULTIPLIER_PERCENTAGE/omitted, where either group is accepted). Mutually exclusive with `shift_duration_hours`/`total_break_hours`/`payable_break_hours`/`total_payable_hours` — do not send both groups.
Greater than: 0
Format: double
total_break_hoursnumberOptionalTotal break duration in hours. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double
total_payable_hoursnumberOptionalTotal payable working hours after break deductions. Part of the hours-based summary group (see `shift_duration_hours`).
Greater than: 0
Format: double

Update multiple shifts — 200 response body

FieldTypePresenceDescription and constraints
$objectRootThe updated shifts, in the order they were sent
dataarrayRequired within parent
data[]ModelEach itemExpand Get Shift details — 200 response body — data

Referenced models: Get Shift details — 200 response body — data

Update multiple shifts — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
contract_idstringRequired within parentThe unique identifier of the employee contract. Every shift in the request must belong to this contract.
shiftsarrayRequired within parent
shifts[]ModelEach itemExpand Update multiple shifts — request body — body data shifts item

Referenced models: Update multiple shifts — request body — body data shifts item

Update multiple shifts — request body — body data shifts item

FieldTypePresenceDescription and constraints
$objectRoot
date_of_workstringOptionalThe updated date of the shift, in YYYY-MM-DD format.
Pattern: ^\d{4}-\d{2}-\d{2}$
descriptionstringOptionalThe updated description of the shift.
Maximum length: 30000
Minimum length: 1
external_idstringRequired within parentExternal ID of the shift to update.
Maximum length: 48
Minimum length: 8
payroll_cycle_refModelOptionalExpand Get Shift details — 200 response body — data payroll cycle ref
Payroll cycle reference
summaryModelOptionalExpand Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data summary

Referenced models: Get Shift details — 200 response body — data payroll cycle ref, Update a shift — time Tracking Shifts update Time Tracking Shift By External Id — request body — body data summary

Report an issue with this page

Necessary

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

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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