Buk

Buk Time Off Leaves API

The Time Off Leaves API from Buk — 1 operation(s) for time off leaves.

Business capability
HR Operations Management BC-300.70

Operations 1

GET /absences List unexcused absences #

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/buk-time-off-leaves-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

buk-time-off-leaves-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: '# Buk Data Access API.


    To use the API, you need to obtain an **API Key**.

    You can manage access within the platform, in **Settings => API Access.**


    Once an API Key is created, you must send the value as a header in the HTTP request, in the `auth_token` field.


    ## For more details, you can review the article "How to integrate with Buk through an API"


    # Endpoints'
  title: Buk Time Off Leaves API
servers:
- url: https://demo.buk.cl/api/v1/brasil
tags:
- name: Time Off Leaves
paths:
  /absences:
    get:
      summary: List unexcused absences
      description: 'Displays the unexcused absence of each type registered in the system within a date range (optional).

        The unexcused absences types are:


        - leave: Para una leave Médica

        - absence: For an unexcused absence

        - leave: For an unpaid absence request

        - paid_leave: For a paid absence request


        Dates must be in YYYYY-MM-DD format.

        Filters by type and date are optional.


        **Permisos requeridos para utilizar este endpoint:**

        * Attendance permissions en: ''Lectura'' o ''Lectura y Modificación''.'
      tags:
      - Time Off Leaves
      deprecated: true
      parameters:
      - name: from
        description: Start date of the range in YYYY-MM-DD format.
        in: query
        schema:
          type: string
          format: date
      - name: to
        description: End date of the range in YYYY-MM-DD format.
        in: query
        schema:
          type: string
          format: date
      - name: type
        description: Unexcused absence type
        in: query
        schema:
          type: string
          enum:
          - licence
          - absence
          - leave
          - paid_leave
      - name: page_size
        in: query
        description: (OPTIONAL) Number of answers per page. By default it has a value of 25 and must be within a range of [25 - 100]
        schema:
          type: integer
      responses:
        '200':
          description: As a response, we receive an array (data) with unexcused absences.
          name: data
          content:
            application/json:
              schema:
                properties:
                  pagination:
                    $ref: '#/components/schemas/Pagination'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Absence__Response'
            application/pdf:
              schema:
                properties:
                  pagination:
                    $ref: '#/components/schemas/Pagination'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Absence__Response'
      operationId: getAbsences
      x-operation-id-source: derived
components:
  schemas:
    Pagination:
      properties:
        next:
          type: string
        previous:
          type: string
        count:
          type: integer
        total_pages:
          type: integer
    Absence__Response:
      properties:
        id:
          type: integer
        start_date:
          type: string
          format: date
        end_date:
          type: string
          format: date
        days_count:
          type: integer
        day_percent:
          type: number
          format: float
        contribution_days:
          type: number
          format: float
        workday_stage:
          type: string
        application_date:
          type: string
          format: date
        application_end_date:
          type: string
          format: date
        justification:
          type: string
        employee_id:
          type: integer
        status:
          type: string
        created_at:
          type: string
          format: date
        updated_at:
          type: string
          format: date
      required:
      - start_date
      - days_count
  securitySchemes:
    auth_token:
      type: apiKey
      name: auth_token
      in: header