---
title: "Edit a notification channel"
method: PATCH
path: "/notifications/{id}"
tags: ["notifications"]
---

# Edit a notification channel

`PATCH /notifications/{id}`

## Path parameters

- `id` string, required

## Request body

- union
  - EmailNotification
    - `notificationName` string, required
    - `type` 'email', required
    - `address` string, email, required
    - `homeserverUrl` union
      - string
      - ''
    - `roomId` union
      - string
      - ''
    - `accessToken` union
      - string
      - ''
  - WebhookNotification
    - `notificationName` string, required
    - `type` 'webhook', required
    - `address` string, uri, required
    - `homeserverUrl` union
      - string
      - ''
    - `roomId` union
      - string
      - ''
    - `accessToken` union
      - string
      - ''
  - RocketChatNotification
    - `notificationName` string, required
    - `type` 'rocket_chat', required
    - `address` string, uri, required
  - SlackNotification
    - `notificationName` string, required
    - `type` 'slack', required
    - `address` string, uri, required
    - `homeserverUrl` union
      - string
      - ''
    - `roomId` union
      - string
      - ''
    - `accessToken` union
      - string
      - ''
  - DiscordNotification
    - `notificationName` string, required
    - `type` 'discord', required
    - `address` string, uri, required
    - `homeserverUrl` union
      - string
      - ''
    - `roomId` union
      - string
      - ''
    - `accessToken` union
      - string
      - ''
  - PagerDutyNotification
    - `notificationName` string, required
    - `type` 'pager_duty', required
    - `address` string, required
    - `homeserverUrl` union
      - string
      - ''
    - `roomId` union
      - string
      - ''
    - `accessToken` union
      - string
      - ''
  - MatrixNotification
    - `notificationName` string, required
    - `type` 'matrix', required
    - `address` union
      - string
      - ''
    - `homeserverUrl` string, uri, required
    - `roomId` string, required
    - `accessToken` string, required
  - TeamsNotification
    - `notificationName` string, required
    - `type` 'teams', required
    - `address` string, uri, required
  - TelegramNotification
    - `notificationName` string, required
    - `type` 'telegram', required
    - `address` string, required
    - `accessToken` string, required
  - PushoverNotification
    - `notificationName` string, required
    - `type` 'pushover', required
    - `address` string, required
    - `accessToken` string, required
  - TwilioNotification
    - `notificationName` string, required
    - `type` 'twilio', required
    - `accountSid` string, required
    - `accessToken` string, required
    - `phone` string, required
    - `twilioPhoneNumber` string, required
  - NtfyNotification
    - `notificationName` string, required
    - `type` 'ntfy', required
    - `address` string, uri, required
    - `topic` string, required

## Response `200`

OK

- object
  - `success` true, required
  - `msg` string, required
  - `data` unknown

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.net/bluewave-labs/apis/checkmate-api.md) · [All operations](https://skmtc.net/bluewave-labs/apis/checkmate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluewave-labs/checkmate-api/versions/eae6c896648e/schema)
