Time & Attendance
Leave Policies
List Employee Leave Policies
Changed onList the leave policies for the current employee
Authentication
This endpoint requires the following token type:
- Employee-scoped access token (OAuth2Assertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant. See Authentication for partners.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage timeoffs (time_and_attendance) | View timeoffs (timeoff:read) | Manage timeoffs (timeoff:write) |
get/v1/employee/leave-policies
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/employee/leave-policies
- Auth: OAuth 2 (client credentials, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/employment.manage, timeoff:read, timeoff:write, time_and_attendance, all:write, all:read)
Response
Success
Example response
{
"data": [
{
"custom": true,
"leave_policy_variant_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Self-Care",
"uses_accrual_as_balance": false
}
]
}Changes
- info
added
subschema #2: ResponseTimeoffTypeto the//response propertyanyOflist for the response status - info
removed
subschema #2: TimeoffTypefrom the//response propertyanyOflist for the response status
- info