Skip to navigation

List of shifts

Retrieve a paginated list of shifts with details such as start and end times, breaks, metadata, and summary metrics. Supports pagination through limit and offset query parameters and filtering by contractId, date range (fromDate and toDate).

Token scopes: time-tracking:read

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Query parameters

limitintegerOptional<=200
Limit the number of results
offsetintegerOptional>=0
Offset for pagination
from_datestringOptionalformat: "^\d{4}-\d{2}-\d{2}$"

Filter shifts from this date (YYYY-MM-DD)

to_datestringOptionalformat: "^\d{4}-\d{2}-\d{2}$"

Filter shifts until this date (YYYY-MM-DD)

contract_idlist of stringsOptional
Filter shifts by one or more contract IDs
contract_id[]list of stringsOptional
Filter shifts by one or more contract IDs.

Response

Successful response with paginated shifts.
datalist of objects
pageobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error