Buk

Buk Unions API

The Unions API from Buk — 3 operation(s) for unions.

Business capability
Employee & Labour Relations BC-300.80

Operations 4

GET /unions/{id} Show union
GET /unions Show unions
POST /unions Create a union
PUT /unions/update Update union information

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-unions-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

buk-unions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Buk Unions API
  version: '1.0'
  description: 'Operations tagged Unions across 5 of this provider''s published API definitions: buk-data-access-api-brasil-openapi.yml, buk-data-access-api-chile-openapi.yml, buk-data-access-api-colombia-openapi.yml, buk-data-access-api-mexico-openapi.yml, buk-data-access-api-peru-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://demo.buk.cl/api/v1/chile
  description: Base URL declared by the provider in apis.yml (roadmap#122).
host: demo.buk.cl
tags:
- name: Unions
paths:
  /unions/{id}:
    get:
      summary: Show union
      description: 'We received the information related to the union whose ID we sent in the query.

        Este endpoint no requiere permisos especiales.'
      tags:
      - Unions
      parameters:
      - name: id
        in: path
        description: Union ID
        required: true
        type: integer
      responses:
        '200':
          description: As a response, we received the information corresponding to the queried union
          schema:
            $ref: '#/definitions/union'
  /unions:
    get:
      summary: Show unions
      description: 'We received information related to unions


        Este endpoint no requiere permisos especiales.'
      tags:
      - Unions
      parameters:
      - name: page_size
        in: query
        type: integer
        description: Page size
      - name: page
        in: query
        type: integer
        description: Page number
      responses:
        '200':
          description: As a response, we received the corresponding information for all unions.
          schema:
            $ref: '#/definitions/union'
    post:
      summary: Create a union
      description: "Create a new union in the system. The parameters are: \n\n - id : Union ID\n\n - name: Union name\n\n - rut: Union's RUT\n\nEste endpoint no requiere permisos especiales."
      tags:
      - Unions
      parameters:
      - name: union
        in: body
        description: Parameters of a union
        required: true
        schema:
          $ref: '#/definitions/approved_union'
      responses:
        '201':
          description: Response in case a union has been successfully created
          schema:
            properties:
              union:
                $ref: '#/definitions/union_detail'
        '400':
          description: There is an error with the data submitted
          schema:
            $ref: '#/definitions/bad_request'
  /unions/update:
    put:
      summary: Update union information
      description: 'Allows you to specify the new name and RUT of a union.


        Este endpoint no requiere permisos especiales.'
      tags:
      - Unions
      parameters:
      - name: union
        description: Union-type object
        in: body
        schema:
          $ref: '#/definitions/union_request'
      responses:
        '200':
          description: Response to union replacement
          schema:
            properties:
              message:
                type: string
              union:
                $ref: '#/definitions/union_response'
        '400':
          description: There is an error with the data submitted
          schema:
            $ref: '#/definitions/bad_request'
definitions:
  union_request:
    properties:
      id:
        type: integer
      name:
        type: string
      rut:
        type: string
    required:
    - id
    - name
    - rut
  union_response:
    properties:
      id:
        type: integer
      name:
        type: string
      rut:
        type: string
  bad_request:
    properties:
      errors:
        type: array
        items:
          type: string
  union_detail:
    properties:
      id:
        type: integer
      name:
        type: string
      rut:
        type: string
  union:
    properties:
      id:
        type: integer
      name:
        type: string
      rut:
        type: string
  approved_union:
    properties:
      id:
        type: integer
      name:
        type: string
      rut:
        type: string
    required:
    - id
    - name
    - rut
securityDefinitions:
  auth_token:
    type: apiKey
    name: auth_token
    in: header
x-refined-from:
- buk-data-access-api-brasil-openapi.yml
- buk-data-access-api-chile-openapi.yml
- buk-data-access-api-colombia-openapi.yml
- buk-data-access-api-mexico-openapi.yml
- buk-data-access-api-peru-openapi.yml