---
title: "Play siren"
method: POST
path: "/v1/sirens/{id}/play"
tags: ["Siren information & management"]
---

# Play siren

`POST /v1/sirens/{id}/play`

## 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/sirens/{id}/play`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ubiquiti/apis/unifi-protect-api/docs/v1/sirens/:id/play/post.ts> (a function with typed inputs; its response is checked against the schema)

Activate the siren alarm for the specified duration. The siren status will be tracked and can be stopped early using the stop endpoint.

## Path parameters

- `id` string, required: The primary key of siren

## Request body

- object
  - `duration` union: Duration of the siren activation in seconds.
    - 5
    - 10
    - 20
    - 30

## Response `204`

The siren was activated successfully.

## Other responses

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