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'
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Query parameters
limit
Limit the number of results
offset
Offset for pagination
from_date
Filter shifts from this date (YYYY-MM-DD)
to_date
Filter shifts until this date (YYYY-MM-DD)
contract_id
Filter shifts by one or more contract IDs
contract_id[]
Filter shifts by one or more contract IDs.
Response
Successful response with paginated shifts.
data
page
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error