---
title: "Fetch controller wiegand connections"
method: GET
path: "/controller_wiegand_connections"
tags: ["Controller Wiegand Connections"]
---

# Fetch controller wiegand connections

`GET /controller_wiegand_connections`

## Query parameters

- `controller_id` integer, required

## Response `200`

OK

- union[]
  - union
    - object
      - `id` integer, required — The ID of the controller wiegand connection
      - `created_at` string, date-time, required — When the controller wiegand connection was created
      - `updated_at` string, date-time, required — When the controller wiegand connection was updated
      - `name` string, nullable, required — The name of the controller wiegand connection
      - `controller_wiegand_id` integer, required — The controller_wiegand ID of the controller wiegand connection
      - `controller_wiegand` object, required — The controller_wiegand of the controller wiegand connection
        - `id` integer, required — The ID of the controller wiegand
        - `channel` number, required — The channel of the controller wiegand
        - `name` string, required — The name of the controller wiegand
      - `type` 'legacy_reader', required
      - `lock_id` integer, nullable, required — The lock ID of the controller wiegand connection
      - `lock` object — The lock of the controller wiegand connection
        - `id` integer, required — The ID of the lock
        - `resource_type` 'Lock', required — The resource type of the lock
        - `name` string, required — The name of the lock
      - `elevator_id` integer, nullable, required — The elevator ID of the controller wiegand connection
      - `elevator` object — The elevator of the controller wiegand connection
        - `id` integer, required — The ID of the elevator
        - `resource_type` 'Elevator', required — The resource type of the elevator
        - `name` string, required — The name of the elevator
    - object
      - `id` integer, required — The ID of the controller wiegand connection
      - `created_at` string, date-time, required — When the controller wiegand connection was created
      - `updated_at` string, date-time, required — When the controller wiegand connection was updated
      - `name` string, nullable, required — The name of the controller wiegand connection
      - `controller_wiegand_id` integer, required — The controller_wiegand ID of the controller wiegand connection
      - `controller_wiegand` object, required — The controller_wiegand of the controller wiegand connection
        - `id` integer, required — The ID of the controller wiegand
        - `channel` number, required — The channel of the controller wiegand
        - `name` string, required — The name of the controller wiegand
      - `type` 'legacy_controller', required
      - `virtual_card_format_name` 'null' | 'hid_h10301' | 'hid_h10302' | 'hid_h10304' | 'em_410x_26' | 'em_410x_32_34' | 'keyscan_c15001' | 'hid_d10202', nullable, required — The format of the virtual card.
      - `virtual_card_card_number` integer, nullable, required — The card number of the virtual card.
      - `virtual_card_card_id` integer, nullable, required — The card id of the virtual card. Only applies to `EM_410X_32_34` cards.
      - `virtual_card_oem` integer, nullable, required — The oem of the virtual card. Only applies to `KEYSCAN_C15001` cards.
      - `virtual_card_facility_code` integer, nullable, required — The facility code of the virtual card.
      - `virtual_card_uid` string, nullable, required — The uid of the virtual card.
      - `virtual_card_length` integer, nullable, required — The bit length of the virtual card's uid.
      - `lock_id` integer, required — The lock ID of the controller wiegand connection
      - `lock` object, required — The lock of the controller wiegand connection
        - `id` integer, required — The ID of the lock
        - `resource_type` 'Lock', required — The resource type of the lock
        - `name` string, required — The name of the lock
    - object
      - `id` integer, required — The ID of the controller wiegand connection
      - `created_at` string, date-time, required — When the controller wiegand connection was created
      - `updated_at` string, date-time, required — When the controller wiegand connection was updated
      - `name` string, nullable, required — The name of the controller wiegand connection
      - `controller_wiegand_id` integer, required — The controller_wiegand ID of the controller wiegand connection
      - `controller_wiegand` object, required — The controller_wiegand of the controller wiegand connection
        - `id` integer, required — The ID of the controller wiegand
        - `channel` number, required — The channel of the controller wiegand
        - `name` string, required — The name of the controller wiegand
      - `type` 'legacy_keypad_reader', required
      - `master_pin_code` string, nullable, required — The master pin code of the legacy keypad reader connection.
      - `facility_code` integer, nullable, required — The facility code of the keypad reader.
      - `keypad_type` 'single_key_wiegand_6_bit_rosslare_format' | 'single_key_wiegand_8_bit_nibbles_complemented' | 'four_keys_binary_plus_facility_code_wiegand_26_bit' | 'one_to_five_keys_plus_facility_code_wiegand_26_bit' | 'single_key_wiegand_4_bit', required — The type of keypad connected to the wiegand channel.
      - `two_factor_enabled` boolean, required — Whether two factor authentication is enabled
      - `lock_id` integer, nullable, required — The lock ID of the controller wiegand connection
      - `lock` object — The lock of the controller wiegand connection
        - `id` integer, required — The ID of the lock
        - `resource_type` 'Lock', required — The resource type of the lock
        - `name` string, required — The name of the lock
      - `elevator_id` integer, nullable, required — The elevator ID of the controller wiegand connection
      - `elevator` object — The elevator of the controller wiegand connection
        - `id` integer, required — The ID of the elevator
        - `resource_type` 'Elevator', required — The resource type of the elevator
        - `name` string, required — The name of the elevator

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/kisi/apis/kisi-api.md) · [All operations](https://skmtc.dev/kisi/apis/kisi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kisi/kisi-api/revisions/998700ffff5a/schema)
