---
title: "Trigger alarm hub output"
method: POST
path: "/v1/alarm-hubs/{id}/outputs/{outputId}/trigger"
tags: ["Alarm hub information & management"]
---

# Trigger alarm hub output

`POST /v1/alarm-hubs/{id}/outputs/{outputId}/trigger`

## Request

- Base URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration`
- URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration/v1/alarm-hubs/{id}/outputs/{outputId}/trigger`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-protect-api/docs/v1/alarm-hubs/:id/outputs/:outputId/trigger/post.ts> (a function with typed inputs; its response is checked against the schema)

Trigger an alarm hub output channel. Can be used to turn on/off connected devices like sirens, lights, or other actuators.

## Path parameters

- `id` string, required: The primary key of linkStation
- `outputId` integer, required: Output channel ID (0 or 1)

## Request body

- object: Trigger output request body
  - `enable` boolean: Set to true to turn on, false to turn off. If omitted, toggles the current state.
  - `delay` integer: Delay in milliseconds before the output activates
  - `duration` integer: Duration in milliseconds to keep the output active. 0 means indefinite until manually turned off.

## Response `204`

The output trigger was initiated successfully.

## Other responses

- `503`: The alarm hub is offline or not reachable.
- `default`: Error response

---

[API](https://skmtc.dev/ubiquiti/apis/unifi-protect-api.md) - [All operations](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/revisions/e341e1381db1?raw)
