---
title: "Creates alert channel"
method: POST
path: "/v1/enterprise/{enterprise_id}/alertchannels/"
tags: ["esper_cloud_api_Alerts"]
---

# Creates alert channel

`POST /v1/enterprise/{enterprise_id}/alertchannels/`

Creates a new alert channel in the enterprise, defining a notification destination to be used when alarm rules are triggered. Alert channels are prerequisites for alarm rules — a channel must exist before it can be linked to any rule. Currently, email is the supported delivery type.

**Workflow**

Create an alert channel using this endpoint → receive a channel id in the response

Use that id when creating or updating an alarm rule via POST /v1/enterprise/{enterprise_id}/alarmrules/ to link the channel as a notification destination

**Common use cases**

Setting up a new email destination for device or fleet alert notifications

Creating dedicated channels for different teams (e.g., a channel for ops, another for IT support) so alarm rules can target the appropriate recipients

Programmatically provisioning notification infrastructure as part of an enterprise onboarding workflow

**Best practices**

Use a descriptive name that makes the channel's purpose and recipient clear (e.g., "IT Ops - Device Offline Alerts") — this is how channels are identified in the Console and when auditing via GET /alertchannels/

Store the integer id from the 201 response — it is required for all subsequent operations on this channel and for linking it to alarm rules

A channel can be linked to multiple alarm rules; create shared channels for common recipients rather than duplicating channels per rule

## Path parameters

- `enterprise_id` string, required

## Request body

- EsperCloudApiUpdateAlertChannelsV1
  - `id` integer
  - `properties` object
    - `to_address` string, email
  - `name` string
  - `type` string — format of alert. e.g. email
  - `created_on` string, date-time
  - `updated_on` string, date-time
  - `enterprise` string, uuid

## Response `201`

successful operation

- EsperCloudApiAlertChannelsV1
  - `id` integer
  - `properties` object
    - `to_address` string, email
  - `name` string
  - `type` string — format of alert. e.g. email
  - `created_on` string, date-time
  - `updated_on` string, date-time
  - `enterprise` string, uuid
  - `linked_alerts` string[]

## Other responses

- `400` — Bad request
- `401` — Authorization information is missing or invalid.
- `403` — Forbidden, no permission to perform this action.
- `500` — Internal server error

---

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