---
title: "Create Alert"
method: POST
path: "/v0/alert"
tags: ["Alerts"]
---

# Create Alert

`POST /v0/alert`

Create a new alert.

## Request body

- object — Arguments to the POST /alert endpoint
  - `event` union, required
    - object
      - `event_type` 'HUMAN_DETECTED' | 'MISSION_INCOMPLETE' | 'DOCK_ERROR' | 'SCHEDULED_MISSION_FAILED_TAKEOFF' | 'FLIGHT_STATUS' | 'ONLINE_STATUS' | 'MEDIA_FILE_AVAILABLE' | 'MEDIA_AVAILABLE_FOR_SCAN' | 'TELEMETRY_AVAILABLE' | 'WAYPOINT_PROGRESS' | 'LIVE_STREAM_STATUS_CHANGED', required — Type of event that triggers the alert
      - `org_wide` boolean, required — If True, the alert is applied to all possible targets in the organization and the targets field will be ignored
      - `targets` object[] — Devices that the alert should trigger on. When set, org_wide cannot be True
        - `identifier` string, required — Device serial if type is VEHICLE or DOCK
        - `type` 'DOCK' | 'VEHICLE', required
    - object
      - `event_type` 'HUMAN_DETECTED' | 'MISSION_INCOMPLETE' | 'DOCK_ERROR' | 'SCHEDULED_MISSION_FAILED_TAKEOFF' | 'FLIGHT_STATUS' | 'ONLINE_STATUS' | 'MEDIA_FILE_AVAILABLE' | 'MEDIA_AVAILABLE_FOR_SCAN' | 'TELEMETRY_AVAILABLE' | 'WAYPOINT_PROGRESS' | 'LIVE_STREAM_STATUS_CHANGED', required — Type of event that triggers the alert
      - `org_wide` boolean — If True, the alert is applied to all possible targets in the organization and the targets field will be ignored
      - `targets` object[], required — Devices that the alert should trigger on. When set, org_wide cannot be True
        - `identifier` string, required — Device serial if type is VEHICLE or DOCK
        - `type` 'DOCK' | 'VEHICLE', required
  - `name` string, required

## Response `200`

Single alert configuration object returned

- object
  - `data` object, required — Single alert configuration object returned
    - `alert_config` object, required
      - `actions` object, required
        - `recipient_counts` object — Counts of recipients by notification type
          - `email_count` integer, required — Number of recipients who will receive email notifications
          - `sms_count` integer, required — Number of recipients who will receive SMS notifications
        - `recipients` object[] — Recipients configured to receive notifications for this alert
          - `email` string, email — Email address of the recipient (if applicable)
          - `id` string, uuid, required — Unique identifier for the recipient (user, external contact, or distribution list)
          - `name` string — Name of the recipient
          - `phone` string — Phone number of the recipient (if applicable)
          - `send_email` boolean, required — Whether to send email notifications to this recipient
          - `send_sms` boolean, required — Whether to send SMS notifications to this recipient
          - `type` 'user' | 'external_contact' | 'distribution_list', required — Type of recipient
        - `user_emails` string[] — Emails of users to notify when the event occurs (deprecated, use recipients instead)
        - `webhook_ids` string[] — Webhooks to trigger when the event occurs (maximum 1)
      - `event` object, required
        - `event_type` 'HUMAN_DETECTED' | 'MISSION_INCOMPLETE' | 'DOCK_ERROR' | 'SCHEDULED_MISSION_FAILED_TAKEOFF' | 'FLIGHT_STATUS' | 'ONLINE_STATUS' | 'MEDIA_FILE_AVAILABLE' | 'MEDIA_AVAILABLE_FOR_SCAN' | 'TELEMETRY_AVAILABLE' | 'WAYPOINT_PROGRESS' | 'LIVE_STREAM_STATUS_CHANGED', required — Type of event that triggers the alert
        - `org_wide` boolean, required — If True, the alert is applied to all possible targets in the organization and the targets field will be ignored
        - `targets` object[], required — Devices that the alert should trigger on. When set, org_wide cannot be True
          - `identifier` string, required — Device serial if type is VEHICLE or DOCK
          - `type` 'DOCK' | 'VEHICLE', required
      - `id` string, uuid, required
      - `name` string, required
  - `error_message` string
  - `meta` object, required
    - `time` number
  - `skydio_error_code` integer, required
  - `status_code` integer, required

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/skydio/apis/skydio-cloud-api.md) · [All operations](https://skmtc.net/skydio/apis/skydio-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skydio/skydio-cloud-api/revisions/0f746b116483/schema)
