Docs
/
/

Channels Management API reference

Complete reference documentation for the Channels resource.

Channels

#

Channels are the delivery mechanisms for your notifications.

List channels

#

Returns a paginated list of channels. Note: the list of channels is across the entire account, not scoped to an environment.

Endpoint

GET/v1/channels

Query parameters

id
string(uuid)

A channel id to filter the results by.

after
string

The cursor to fetch entries after.

before
string

The cursor to fetch entries before.

limit
integer

The number of entries to fetch per-page.

Returns

PaginatedChannelResponse

A paginated list of Channel. Contains a list of entries and page information.

entries

A list of entries.

archived_at
string(date-time)

The timestamp of when the channel was deleted.

created_at
string(date-time)
Required

The timestamp of when the channel was created.

custom_icon_url
string

Optional URL to a custom icon for the channel. Only used for display purposes in the dashboard.

description
string

Optional description of the channel's purpose or usage.

id
string
Required

The unique identifier for the channel.

key
string
Required

Unique identifier for the channel within a project (immutable once created).

name
string
Required

The human-readable name of the channel.

provider
string
Required

The ID of the provider that this channel uses to deliver messages. Learn more about the providers available in our documentation.

type
enum(string)
Required

The type of channel, determining what kind of messages it can send.

emailin_appin_app_feedin_app_guidesmspushchathttp
updated_at
string(date-time)
Required

The timestamp of when the channel was last updated.

page_info

The information about a paginated result.

after
string

The cursor to fetch entries after. Will only be present if there are more entries to fetch.

before
string

The cursor to fetch entries before. Will only be present if there are more entries to fetch before the current page.

page_size
integer

The number of entries to fetch per-page.

Channel

#

A configured channel, which is a way to route messages to a provider.

Attributes

archived_at
string(date-time)

The timestamp of when the channel was deleted.

created_at
string(date-time)

The timestamp of when the channel was created.

custom_icon_url
string

Optional URL to a custom icon for the channel. Only used for display purposes in the dashboard.

description
string

Optional description of the channel's purpose or usage.

id
string

The unique identifier for the channel.

key
string

Unique identifier for the channel within a project (immutable once created).

name
string

The human-readable name of the channel.

provider
string

The ID of the provider that this channel uses to deliver messages. Learn more about the providers available in our documentation.

type
enum(string)

The type of channel, determining what kind of messages it can send.

emailin_appin_app_feedin_app_guidesmspushchathttp
updated_at
string(date-time)

The timestamp of when the channel was last updated.

ChatChannelSettings

#

Chat channel settings. Only used as configuration as part of a workflow channel step.

Attributes

email_based_user_id_resolution
boolean

Whether to resolve chat provider user IDs using a Knock user's email address. Only relevant for Slack channels for the time being.

link_tracking
boolean

Whether to track link clicks on chat notifications.

EmailChannelSettings

#

Email channel settings. Only used as configuration as part of a workflow channel step.

Attributes

bcc_address
string

The BCC address on email notifications. Supports liquid.

cc_address
string

The CC address on email notifications. Supports liquid.

from_address
string

The email address from which this channel will send. Supports liquid.

from_name
string

The name from which this channel will send. Supports liquid.

json_overrides
string

A JSON template for any custom overrides to merge into the API payload that is sent to the email provider. Supports liquid.

link_tracking
boolean

Whether to track link clicks on email notifications.

open_tracking
boolean

Whether to track opens on email notifications.

reply_to_address
string

The Reply-to address on email notifications. Supports liquid.

to_address
string

The email address to which this channel will send. Defaults to recipient.email. Supports liquid.

PushChannelSettings

#

Push channel settings. Only used as configuration as part of a workflow channel step.

Attributes

token_deregistration
boolean

Whether to deregister a push-token when a push send hard bounces. This is to prevent the same token from being used for future pushes.

SmsChannelSettings

#

SMS channel settings. Only used as configuration as part of a workflow channel step.

Attributes

link_tracking
boolean

Whether to track link clicks on SMS notifications.

InAppFeedChannelSettings

#

In-app feed channel settings. Only used as configuration as part of a workflow channel step.

Attributes

link_tracking
boolean

Whether to track link clicks on in-app feed notifications.

New chat