OpenMeter Notifications

Get notification channel

Changed on

Pre-release Endpoint This endpoint is currently in beta and is subject to change.

Get a notification channel by id.

get/v3/openmeter/notification/channels/{notificationChannelId}

Request

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

Path parameters

notificationChannelId, string required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Response

NotificationChannel response.

BillingNotificationChannel required

A notification channel delivers notification events, such as entitlement balance threshold crossings, to an external system. Today the only supported channel type is a webhook delivered via Svix.

id, string required

ULID (Universally Unique Lexicographically Sortable Identifier).

name, string required

Display name of the resource.

Between 1 and 256 characters.

labels, Labels

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity last update date.

deleted_at, string date-time

An ISO-8601 timestamp representation of entity deletion date.

type, 'webhook' required

The type of the channel. Immutable after creation.

disabled, boolean

Whether the channel is disabled. Disabled channels do not receive notification events.

url, string required

The URL that webhook notification events are delivered to.

custom_headers, object

Custom HTTP headers to include on every webhook delivery request, keyed by header name.

signing_secret, string

Secret used to sign outgoing webhook payloads so recipients can verify their authenticity. If omitted on create, a secret is generated automatically by the delivery provider. This is a sensitive credential returned in responses (unlike most secrets) specifically so clients can retrieve a server-generated value and verify webhook signatures; handle it with the same care as any other credential.

Example response

{
  "id": "01G65Z755AFWAKHE12NY0CQ9FH",
  "labels": {
    "env": "test"
  },
  "created_at": "2023-01-01T01:01:01.001Z",
  "updated_at": "2023-01-01T01:01:01.001Z",
  "deleted_at": "2023-01-01T01:01:01.001Z"
}

Changes

    • info

      api operation id get-notification-channel removed and replaced with get-billing-notification-channel

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    1 more change in this revision