Deel subpackage_timeOff API

The subpackage_timeOff API from Deel — 11 operation(s) for subpackage_timeoff.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deel-subpackage-timeoff-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deel-subpackage-timeoff-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Endpoints subpackage_timeOff API
  version: 1.0.0
servers:
- url: https://api.letsdeel.com/rest/v2
- url: https://api-staging.letsdeel.com/rest/v2
tags:
- name: subpackage_timeOff
paths:
  /time_offs/review:
    post:
      operationId: review-time-off-request
      summary: Approve/Reject time-off requests
      description: "Approve/Reject time-off requests in batch. The request body should contain a list of time-off IDs and the desired status (either APPROVED or REJECTED). The response will indicate which requests were successfully processed and which ones encountered errors.\n **Token scopes**: `time-off:write`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Review process completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_reviewTimeOffRequest_Response_201'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApproveRejectTimeOffRequests-v2026-01-01RequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/TimeOffsReviewPostRequestBodyContentApplicationJsonSchemaDataItems'
                  description: Array of time-offs to be reviewed
              required:
              - data
  /time_offs/{time_off_id}:
    delete:
      operationId: delete-time-off-request
      summary: Cancel time-off request
      description: "Cancels a time-off request regardless of its current status. This endpoint provides a simplified approach to time-off management by always setting the request status to CANCELED.\n **Token scopes**: `time-off:write`, `worker:write`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: time_off_id
        in: path
        description: Time off request id
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '204':
          description: time off deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_deleteTimeOffRequest_Response_204'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
    patch:
      operationId: update-time-off-request
      summary: Update time-off request
      description: "Update time-off request\n **Token scopes**: `time-off:write`, `worker:write`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: time_off_id
        in: path
        description: Time off request id
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Time off updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_updateTimeOffRequest_Response_200'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateTimeOffRequestRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        description: Time off update request data
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/TimeOffsTimeOffIdPatchRequestBodyContentApplicationJsonSchemaData'
                  description: Time off update request data
  /time_offs:
    post:
      operationId: create-time-off-request
      summary: Create time-off request
      description: "Create time-off request\n **Token scopes**: `time-off:write`, `worker:write`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Time off creation data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_createTimeOffRequest_Response_201'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTimeOffRequest-v2026-01-01RequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTimeOffRequest-v2026-01-01RequestForbiddenError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTimeOffRequest-v2026-01-01RequestNotFoundError'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        description: The time off request data
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/TimeOffsPostRequestBodyContentApplicationJsonSchemaData'
                  description: The time off request data
    get:
      operationId: list-time-off-requests-for-organization
      summary: List time-off requests for Organization
      description: "List time-off requests for Organization\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: status
        in: query
        description: Time off status
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/TimeOffsGetParametersStatusSchemaItems'
      - name: time_off_ids
        in: query
        description: Time off ids
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: start_date
        in: query
        description: Start date of time off
        required: false
        schema:
          type: string
          format: date-time
      - name: end_date
        in: query
        description: End date of time off
        required: false
        schema:
          type: string
          format: date-time
      - name: approval_start_date
        in: query
        description: Approval start date
        required: false
        schema:
          type: string
          format: date-time
      - name: approval_end_date
        in: query
        description: Approval end date
        required: false
        schema:
          type: string
          format: date-time
      - name: updated_start_date
        in: query
        description: Updated start date
        required: false
        schema:
          type: string
          format: date-time
      - name: updated_end_date
        in: query
        description: Updated end date
        required: false
        schema:
          type: string
          format: date-time
      - name: page_size
        in: query
        description: Page size
        required: false
        schema:
          type: integer
      - name: policy_types
        in: query
        description: Policy types
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: next
        in: query
        description: Next page
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation time offs returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Time Off_listTimeOffRequestsForOrganization_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/global-payroll/sync:
    post:
      operationId: sync-time-off-global-payroll
      summary: External HR Time Off Synchronization
      description: "Synchronize time off requests from an external HRIS to Deel. Only Global Payroll contracts are allowed for this operation. This endpoint can perform 2 different operations with the provided time off list: i) upsert - time off requests identified by an external ID will be either inserted or updated at Deel. ii) delete - existing time off requests identified by an external ID with the parameter 'deleted: true' will be deleted. Deel will identify the impacts of each operation on each payroll cycle.\n **Token scopes**: `time-off:write`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation time offs returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_syncTimeOffGlobalPayroll_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalHrTimeOffSynchronizationRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/TimeOffsGlobalPayrollSyncPostRequestBodyContentApplicationJsonSchemaData'
  /time_offs/profile/{hris_profile_id}/entitlements:
    get:
      operationId: get-time-off-entitlements
      summary: Get Profile Entitlements
      description: "List time-off entitlements.\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: hris_profile_id
        in: path
        description: HRIS profile ID
        required: true
        schema:
          type: string
          format: uuid
      - name: policy_type_name
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/TimeOffsProfileHrisProfileIdEntitlementsGetParametersPolicyTypeName'
      - name: tracking_period_date
        in: query
        description: Tracking period date
        required: false
        schema:
          type: string
          format: date
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffEntitlements_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/time-off-events:
    get:
      operationId: get-time-off-events
      summary: Get Time Off Events for Profile
      description: "List time off events for profile\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: hris_profile_id
        in: query
        description: Worker hris profile id
        required: true
        schema:
          type: string
          format: uuid
      - name: time_off_type_id
        in: query
        description: Time off type id
        required: false
        schema:
          type: string
          format: uuid
      - name: policy_id
        in: query
        description: Policy id
        required: false
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of time off events for the profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffEvents_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTimeOffEventsForProfileRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/dailies:
    get:
      operationId: get-time-off-dailies
      summary: Get Work Schedule and Holidays
      description: "Given a date range (start date, end date) gets the holidays, work schedule and time off dailies for a list of hrisProfileIds or countries.\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: start_date
        in: query
        description: Start date of non working days date range
        required: false
        schema:
          type: string
          format: date
      - name: end_date
        in: query
        description: End date of non working days date range
        required: false
        schema:
          type: string
          format: date
      - name: hris_profile_ids
        in: query
        description: HRIS profile ids
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: countries
        in: query
        description: List of countries to be fetched
        required: false
        schema:
          type: array
          items:
            type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffDailies_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkScheduleAndHolidaysRequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/profile/{hris_profile_id}/policies:
    get:
      operationId: get-time-off-policies
      summary: List policies
      description: "List policies for profile\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: hris_profile_id
        in: path
        description: hrisProfileId id.
        required: true
        schema:
          type: string
          format: uuid
      - name: policy_type_name
        in: query
        description: Policy type name.
        required: false
        schema:
          $ref: '#/components/schemas/TimeOffsProfileHrisProfileIdPoliciesGetParametersPolicyTypeName'
      - name: policy_type_id
        in: query
        description: policy type id
        required: false
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffPolicies_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Not Found - Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPoliciesRequestNotFoundError'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/profile/{hris_profile_id}:
    get:
      operationId: get-time-off-profile
      summary: List time-off requests
      description: "List time-off requests\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: hris_profile_id
        in: path
        description: HRIS profile id
        required: true
        schema:
          type: string
          format: uuid
      - name: status
        in: query
        description: Time off status
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/TimeOffsProfileHrisProfileIdGetParametersStatusSchemaItems'
      - name: time_off_ids
        in: query
        description: Time off ids
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: start_date
        in: query
        description: Start date of time off
        required: false
        schema:
          type: string
          format: date-time
      - name: end_date
        in: query
        description: End date of time off
        required: false
        schema:
          type: string
          format: date-time
      - name: approval_start_date
        in: query
        description: Approval start date
        required: false
        schema:
          type: string
          format: date-time
      - name: approval_end_date
        in: query
        description: Approval end date
        required: false
        schema:
          type: string
          format: date-time
      - name: updated_start_date
        in: query
        description: Updated start date
        required: false
        schema:
          type: string
          format: date-time
      - name: updated_end_date
        in: query
        description: Updated end date
        required: false
        schema:
          type: string
          format: date-time
      - name: page_size
        in: query
        description: Page size
        required: false
        schema:
          type: integer
      - name: policy_types
        in: query
        description: Policy types
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: next
        in: query
        description: Next page
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation time offs returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffProfile_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /time_offs/policy-validation-templates:
    get:
      operationId: get-time-off-policy-validation-templates
      summary: Retrieve policy validation templates
      description: "Retrieves policy validation templates and policy types based on the provided countries. Policy types are unique.\n **Token scopes**: `time-off:read`"
      tags:
      - subpackage_timeOff
      parameters:
      - name: countries
        in: query
        description: List of countries (ISO 3166-1 alpha-2 codes) to fetch policy templates and types for.
        required: true
        schema:
          type: array
          items:
            type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe 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.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/time-off_getTimeOffPolicyValidationTemplates_Response

# --- truncated at 32 KB (241 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/deel/refs/heads/main/openapi/deel-subpackage-timeoff-api-openapi.yml