---
title: "Fetch controller input connections"
method: GET
path: "/controller_input_connections"
tags: ["Controller Input Connections"]
---

# Fetch controller input connections

`GET /controller_input_connections`

## Query parameters

- `controller_id` integer, required

## Response `200`

OK

- union[]
  - union
    - object
      - `id` integer, required — The ID of the controller input connection
      - `created_at` string, date-time, required — When the controller input connection was created
      - `updated_at` string, date-time, required — When the controller input connection was updated
      - `name` string, nullable, required — The name of the controller input connection
      - `controller_input_id` integer, required — The controller_input ID of the controller input connection
      - `controller_input` object, required — The controller_input of the controller input connection
        - `id` integer, required — The ID of the controller input
        - `channel` number, required — The channel of the controller input
        - `name` string, required — The name of the controller input
      - `lock_id` integer, required — The lock ID of the controller input connection
      - `lock` object, required — The lock of the controller input 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
      - `type` 'contact_sensor', required
      - `enabled` boolean, required — Whether the input is enabled
      - `duration` number, float, required — The duration of the input
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable, required — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable, required
      - `end_of_line_second_resistor` integer, nullable, required
    - object
      - `id` integer, required — The ID of the controller input connection
      - `created_at` string, date-time, required — When the controller input connection was created
      - `updated_at` string, date-time, required — When the controller input connection was updated
      - `name` string, nullable, required — The name of the controller input connection
      - `controller_input_id` integer, required — The controller_input ID of the controller input connection
      - `controller_input` object, required — The controller_input of the controller input connection
        - `id` integer, required — The ID of the controller input
        - `channel` number, required — The channel of the controller input
        - `name` string, required — The name of the controller input
      - `lock_id` integer, required — The lock ID of the controller input connection
      - `lock` object, required — The lock of the controller input 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
      - `type` 'request_to_exit', required
      - `enabled` boolean, required — Whether the input is enabled
      - `duration` number, float, required — The duration of the input
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable, required — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable, required
      - `end_of_line_second_resistor` integer, nullable, required
      - `action` 'last_to_leave' | 'last_to_unlock' | 'unlock' | 'none', required — The action of the input
    - object
      - `id` integer, required — The ID of the controller input connection
      - `created_at` string, date-time, required — When the controller input connection was created
      - `updated_at` string, date-time, required — When the controller input connection was updated
      - `name` string, nullable, required — The name of the controller input connection
      - `controller_input_id` integer, required — The controller_input ID of the controller input connection
      - `controller_input` object, required — The controller_input of the controller input connection
        - `id` integer, required — The ID of the controller input
        - `channel` number, required — The channel of the controller input
        - `name` string, required — The name of the controller input
      - `zone_id` integer, required — The zone ID of the controller input connection
      - `zone` object, required — The zone of the controller input connection
        - `id` integer, required — The ID of the zone
        - `name` string, required — The name of the zone
      - `type` 'third_party_alarm', required
      - `action` 'away' | 'stay' | 'disarmed' | 'violated', required — The action of the input
    - object
      - `id` integer, required — The ID of the controller input connection
      - `created_at` string, date-time, required — When the controller input connection was created
      - `updated_at` string, date-time, required — When the controller input connection was updated
      - `name` string, nullable, required — The name of the controller input connection
      - `controller_input_id` integer, required — The controller_input ID of the controller input connection
      - `controller_input` object, required — The controller_input of the controller input connection
        - `id` integer, required — The ID of the controller input
        - `channel` number, required — The channel of the controller input
        - `name` string, required — The name of the controller input
      - `type` 'tamper_detection', required
      - `enabled` boolean, required — Whether the input is enabled
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable, required — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable, required
      - `end_of_line_second_resistor` integer, nullable, required

## 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)
