---
title: "Webhook events test"
method: POST
path: "/alarms/{alarm_id}/events/tests"
tags: ["Alarms"]
---

# Webhook events test

`POST /alarms/{alarm_id}/events/tests`

## Path parameters

- `alarm_id` string, required

## Request body

- union
  - object
    - `event_type` 'alarm.status.canceled', required
    - `canceled_by` object
      - `phone` string, required
  - object
    - `event_type` 'alarm.psap_contacted', required
  - object
    - `event_type` 'alarm.closed', required

## Response `201`

Created

---

[API](https://skmtc.net/noonlight/apis/dispatch-api.md) · [All operations](https://skmtc.net/noonlight/apis/dispatch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/noonlight/dispatch-api/revisions/5b0597c14df6/schema)
