# Notification destinations Object

> Source: https://truto.one/docs/api-reference/admin/notification-destinations/

Schema for the `Notification destinations` resource in **Admin API**.

## Properties

- **`id`** _(string)_
  The ID of the notification destination.
- **`environment_id`** _(string)_
- **`type`** _(string)_
  Allowed: `slack`, `email`
- **`label`** _(string)_
- **`config`** _(object)_
  The destination's settings. The shape depends on `type`.
  _One of:_
  - **Slack**
    - **`webhook_url`** _(string)_
      A Slack incoming webhook URL. Returned masked as `********`. A `PATCH` that sends `********` back, or leaves the field out, keeps the stored URL.
    - **`ignored_status_codes`** _(array<number>)_
      For `api_errors` events, HTTP status codes not to notify about.
  - **Email**
    - **`to`** _(array<string>)_
    - **`cc`** _(array<string>)_
    - **`bcc`** _(array<string>)_
    - **`subject_prefix`** _(string)_
- **`is_active`** _(boolean)_
  Whether notifications are sent to this destination.
- **`event_types`** _(array<string>)_
  The notification event types this destination receives.
- **`created_at`** _(string)_
- **`updated_at`** _(string)_

## Methods

- [GET /notification-destination](/docs/api-reference/admin/notification-destinations/list) — List notification destinations
- [POST /notification-destination](/docs/api-reference/admin/notification-destinations/create) — Create notification destination
- [GET /notification-destination/{id}](/docs/api-reference/admin/notification-destinations/get) — Get notification destination
- [PATCH /notification-destination/{id}](/docs/api-reference/admin/notification-destinations/update) — Update notification destination
- [DELETE /notification-destination/{id}](/docs/api-reference/admin/notification-destinations/delete) — Delete notification destination
- [POST /notification-destination/test](/docs/api-reference/admin/notification-destinations/test) — Send a test notification
