notification-channels

Get a notification channel

Changed on

Returns one of the organization's notification channels. If the organization has no notification channel with this identifier, or the identifier isn't a valid UUID, the request fails with 404.

get/v1/ai-cost-management/notification-channels/{channelId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

channelId, string uuid required

The id of the notification channel.

Response

The notification channel.

union required

A notification channel is a destination for budget alerts: a list of email addresses or a Slack incoming webhook. A budget's notification rule sends its alerts to the channels it lists, and one channel can serve many rules.

type tells the two kinds apart. An email channel carries its settings in email, and a Slack channel carries them in slack.

AICostEmailNotificationChannel required

A notification channel that emails each message to its recipients through Konnect's email service.

OR
AICostSlackNotificationChannel required

A notification channel that posts each message to a Slack incoming webhook the organization created in its own workspace.

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "labels": {
    "env": "test"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes