Logo

Channel

What is a Channel?

Channels are destinations that describe where and how to send notifications to. A channel is used by one or more Notification Rule to specify which Events to send to this Channel.

Channel types

To support the flexible adoption of OpenMeter, the API is designed to support multiple channel types.

WebHook channels

Right now, the only implemented channel type is WEBHOOK, which creates a POST HTTP request to a predefined URL, with a payload defined by the Rule.

When creating a channel, additional HTTP headers can be provided if the backend requires them when receiving the callback.

To test WebHook channels, we strongly recommend using the Svix Playground, which provides an URL to receive the Events.

To consume webhooks in your application, you need to verify the webhook signature and process the payload. Check out the Consuming Webhooks guide for more details.