---
title: "Add a notification target"
method: POST
path: "/notifications"
tags: ["Notifications"]
---

# Add a notification target

`POST /notifications`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/notifications`
- Auth: API key in header `X-API-Key`

Adds a notification target and events according to the specified parameters

## Request body

- NotificationTargetAndSubscriptions
  - `name` string
  - `description` string
  - `notificationId` string
  - `notificationTargetType` 'SLACK' | 'WEBHOOK' | 'EMAIL'
  - `notificationTarget` string
  - `subscribedEvents` string[]

## Response `200`

successful operation

- NotificationTargetAndSubscriptions
  - `name` string
  - `description` string
  - `notificationId` string
  - `notificationTargetType` 'SLACK' | 'WEBHOOK' | 'EMAIL'
  - `notificationTarget` string
  - `subscribedEvents` string[]

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
