Create an Alert Notification Channel

Create an Alert Notification Channel.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

organizationIdstringRequired
The ID of the Organization to which the Notification Channel will belong.

Request

This endpoint expects an object.
Create Dag Trigger Notification Channel RequestobjectRequired
OR
Create Email Notification Channel RequestobjectRequired
OR
Create Opsgenie Notification Channel RequestobjectRequired
OR
Create Pager Duty Notification Channel RequestobjectRequired
OR
Create Slack Notification Channel RequestobjectRequired

Response

OK
createdAtdatetime

The time when the alert was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

createdByobject
definitionany
entityIdstring
The entity ID the notification channel is scoped to.
entityTypestring
The type of entity the notification channel is scoped to.
idstring
The notification channel's ID.
isSharedboolean
When entity type is scoped to ORGANIZATION or WORKSPACE, this determines if child entities can access this notification channel.
namestring
The notification channel's name.
organizationIdstring
The organization ID the notification channel is scoped to.
typestring
The notification channel's type.
updatedAtdatetime

The time when the alert was updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.

updatedByobject
deploymentIdstring
The deployment ID the notification channel is scoped to.
entityNamestring
The name of the entity the notification channel is scoped to.
workspaceIdstring
The workspace ID the notification channel is scoped to.

Errors

400
Create Notification Channel Body Bad Request Error
401
Create Notification Channel Body Unauthorized Error
403
Create Notification Channel Body Forbidden Error
404
Create Notification Channel Body Not Found Error
500
Create Notification Channel Body Internal Server Error