---
title: "Fetch controller relay connections"
method: GET
path: "/controller_relay_connections"
tags: ["Controller Relay Connections"]
---

# Fetch controller relay connections

`GET /controller_relay_connections`

## Query parameters

- `controller_id` integer, required

## Response `200`

OK

- union[]
  - union
    - object
      - `id` integer, required — The ID of the controller relay connection
      - `created_at` string, date-time, required — When the controller relay connection was created
      - `updated_at` string, date-time, required — When the controller relay connection was updated
      - `name` string, nullable, required — The name of the controller relay connection
      - `duration` number, float, required — The duration of the relay
      - `type` 'lock', required
      - `controller_relay_id` integer, required — The controller_relay ID of the controller relay connection. Must not be aux.
      - `controller_relay` object, required — The controller_relay of the controller relay connection
        - `id` integer, required — The ID of the controller relay
        - `channel` number, required — The channel of the controller relay
        - `name` string, required — The name of the controller relay
      - `lock_id` integer, required — The lock ID of the controller relay connection
      - `lock` object, required — The lock of the controller relay 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 relay connection
      - `created_at` string, date-time, required — When the controller relay connection was created
      - `updated_at` string, date-time, required — When the controller relay connection was updated
      - `name` string, nullable, required — The name of the controller relay connection
      - `duration` number, float, required — The duration of the relay
      - `type` 'elevator_stop', required
      - `controller_relay_id` integer, required — The controller_relay ID of the controller relay connection. Must not be aux.
      - `controller_relay` object, required — The controller_relay of the controller relay connection
        - `id` integer, required — The ID of the controller relay
        - `channel` number, required — The channel of the controller relay
        - `name` string, required — The name of the controller relay
      - `elevator_stop_id` integer, required — The elevator_stop ID of the controller relay connection
      - `elevator_stop` object, required — The elevator_stop of the controller relay connection
        - `id` integer, required — The ID of the elevator stop
        - `name` string, required — The name of the elevator stop
    - object
      - `id` integer, required — The ID of the controller relay connection
      - `created_at` string, date-time, required — When the controller relay connection was created
      - `updated_at` string, date-time, required — When the controller relay connection was updated
      - `name` string, nullable, required — The name of the controller relay connection
      - `type` 'siren', required
      - `controller_relay_id` integer, required — The controller_relay ID of the controller relay connection. It must be aux if the controller has an aux relay and belong to zone controller.
      - `controller_relay` object, required — The controller_relay of the controller relay connection
        - `id` integer, required — The ID of the controller relay
        - `channel` number, required — The channel of the controller relay
        - `name` string, required — The name of the controller relay
      - `zone_id` integer, required — The zone ID of the controller relay connection
      - `zone` object, required — The zone of the controller relay connection
        - `id` integer, required — The ID of the zone
        - `name` string, required — The name of the zone
    - object
      - `id` integer, required — The ID of the controller relay connection
      - `created_at` string, date-time, required — When the controller relay connection was created
      - `updated_at` string, date-time, required — When the controller relay connection was updated
      - `name` string, nullable, required — The name of the controller relay connection
      - `duration_for_away_mode` number, float, nullable, required — The duration of the relay used for changing the zone to away mode
      - `duration_for_stay_mode` number, float, nullable, required — The duration of the relay used for changing the zone to stay mode
      - `type` 'third_party_alarm', required
      - `controller_relay_id` integer, required — The controller_relay ID of the controller relay connection. It must be aux if the controller has an aux relay and belong to zone controller.
      - `controller_relay` object, required — The controller_relay of the controller relay connection
        - `id` integer, required — The ID of the controller relay
        - `channel` number, required — The channel of the controller relay
        - `name` string, required — The name of the controller relay
      - `zone_id` integer, required — The zone ID of the controller relay connection
      - `zone` object, required — The zone of the controller relay connection
        - `id` integer, required — The ID of the zone
        - `name` string, required — The name of the zone

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