channels

Create channel

Create a notification channel and validate its provider configuration.

Required permission: channels.manage.

post/v1/projects/{project_id}/channels

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/channels
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Request body

typestring required

Channel type, such as webhook. The channel types endpoint lists the available types.

namestring required
configobject required

Type-specific settings, using the configuration fields the channel types endpoint lists for the type.

subscribed_eventsstring[]

Notification event types to send to this channel, such as build_failed or judge_score_low.

enabledboolean

Whether the channel receives deliveries.

Response

Successful Response

idstring uuid required
project_idstring uuid required

Project the channel belongs to.

typestring required

Channel type, such as webhook, datadog or otlp.

namestring required
configobject required

Type-specific settings. Secret values are masked as **** followed by their last four characters.

subscribed_eventsstring[]

Notification event types sent to this channel.

enabledboolean required

Whether the channel receives deliveries.

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.