Skip to navigation

List policies

Returns the time-off policies assigned to a worker, with the rules of each policy and whether a request under it needs an attachment, a description or custom field answers. Use it before creating a time-off request to know what the request must include; for the balances of the worker use GET /rest/time_offs/profile/{hris_profile_id}/entitlements.

Token scopes: time-off: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/

Path parameters

hris_profile_idstringRequiredformat: "uuid"
hrisProfileId id.

Query parameters

policy_type_nameenumOptional
Policy type name.
policy_type_idstringOptionalformat: "uuid"
policy type id

Response

Successful operation.
policieslist of objectsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error