---
title: "Create alarm"
method: POST
path: "/alarms"
tags: ["Alarms"]
---

# Create alarm

`POST /alarms`

## Request body

- object
  - `name` string, required — Name of alarm owner
  - `phone` string, required — 15555555555
  - `pin` string — If provided, pin used to cancel the alarm.
  - `owner_id` string — ID associated with the owner of the alarm. Will be created if not provided.
  - `location` union, required — Either an address or coordinates must be provided
    - object
      - `details` object — Optional details about the location
        - `type` 'business' — Type of location. If provided, must be set to `business`.
        - `zone` string — Zone identifier within the business location
        - `name` string — Name of the location
      - `address` object
        - `line1` string, required
        - `line2` string
        - `city` string, required
        - `state` 'AL' | 'AK' | 'AZ' | 'AR' | 'AA' | 'AE' | 'AP' | 'CA' | 'CO' | 'CT' | 'DE' | 'DC' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY', required
        - `zip` string, required
    - object
      - `details` object — Optional details about the location
        - `type` 'business' — Type of location. If provided, must be set to `business`.
        - `zone` string — Zone identifier within the business location
        - `name` string — Name of the location
      - `coordinates` object
        - `lat` number, required
        - `lng` number, required
        - `accuracy` integer, required
  - `workflow` object — Optional workflow ID. This will be provided to you by the Noonlight team for certain use cases.
    - `id` string, required
  - `instructions` object — Instructions relayed to the dispatchers. Currently, the only allowed type is entry.
    - `entry` string, required — Information needed to access the location of the alarm ex. gate code

## Response `201`

Created

- object
  - `id` string
  - `status` string
  - `created_at` string, date
  - `owner_id` string

---

[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/versions/5b0597c14df6/schema)
