Alert Channel

APIs to manage Alert Channels

Tenant Id can be retrieved from the UI as listed here

List all alert channels

GET https://demo.backend.telm.ai/{tenant}/configuration/alert_channels

Path Parameters

NameTypeDescription

tenant*

String

Tenant

Headers

NameTypeDescription

Authorization*

String

Bearer {token}

[
    {
        "name": "<channel-name>",
        "type": "<channel-type>",
        "addresses": [
            "<recepient-email>"
        ]
    }
]

Add a new alert channel

POST https://demo.backend.telm.ai/{tenant}/configuration/alert_channels

Path Parameters

NameTypeDescription

tenant*

String

Tenant Id

Headers

NameTypeDescription

Authorization*

String

Bearer <token>

Request Body

NameTypeDescription

name*

String

Name of the alert channel

type*

String

Type of Alert channel. Supported alert channels listed here

addresses*

Array

Comma separated list of email address

{
    "name": "<name>",
    "type": "<type>",
    "addresses": [
        "<email1>",
        "<email2>"
    ]
}

Get details of an existing alert channel

GET https://demo.backend.telm.ai/{tenant}/configuration/alert_channels/{alert_channel_name}

Path Parameters

NameTypeDescription

tenant*

String

Tenant Id

alert_channel_name*

String

Name of the alert channel

Headers

NameTypeDescription

Authorization*

String

Bearer {token}

{
    "name": "<name>",
    "type": "<type>",
    "addresses": [
        "<emails>"
    ]
}

Update an existing alert channel

PUT https://demo.backend.telm.ai/{tenant}/configuration/alert_channels//{alert_channel_name}

Path Parameters

NameTypeDescription

tenant*

String

Tenant Id

alert_channel_name*

String

Name of the alert channel to update

Headers

NameTypeDescription

Authorization*

String

Bearer {token}

Request Body

NameTypeDescription

type*

String

Updated or original type of channel

addresses*

Json

Updated comma separated list of email addresses

{
    "name": "<name>",
    "type": "<type>",
    "addresses": [
        "<emails>"
    ]
}

Delete an alert channel

DELETE https://demo.backend.telm.ai/{tenant}/configuration/alert_channels//{alert_channel_name}

Path Parameters

NameTypeDescription

tenant*

String

Tenant id

alert_channel_name*

String

Name of alert channel to delete

Headers

NameTypeDescription

Authorization*

String

Bearer {token}

{
    "message": "Alert channel successfully deleted"
}

Last updated