Skip to content

Panic

POST
/v1/{alarmId}/panic/{panicId}
curl --request POST \
--url https://api.openalarm.io/v1/k7m3x9q2f8d4w1b5/panic/d4q9m2k7x3f8w1b6 \
--header 'X-API-Key: <X-API-Key>'

Fire a panic button. Immediate and always-on - it bypasses the arming mode and the false-alarm window. Each panic button has its own id and its own response (for example medical, fire, intruder, or duress).

alarmId
required
string

The alarm’s identifier. The API key gates the call; this names which alarm it acts on.

Example
k7m3x9q2f8d4w1b5
panicId
required
string

The panic button’s identifier.

Example
d4q9m2k7x3f8w1b6

The API key is missing or invalid.

Unauthorized.

Alarm ID not found.

The event was accepted. Pre-release: the exact success status code and response body are being finalized and are not documented yet.