List notification channels
curl --request GET \
--url https://api.hebeat.com/notification-channels \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebeat.com/notification-channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hebeat.com/notification-channels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"channels": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"enabled": true,
"events": {
"alert": true,
"recovery": true,
"degraded": true
},
"broken": {
"reason": "<string>",
"since": "2023-11-07T05:31:56Z"
},
"monitor_count": 1,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": "email",
"config": {
"address": "<string>"
},
"address_status": "member"
}
]
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}Notification channels
List notification channels
GET
/
notification-channels
List notification channels
curl --request GET \
--url https://api.hebeat.com/notification-channels \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebeat.com/notification-channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hebeat.com/notification-channels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"channels": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"enabled": true,
"events": {
"alert": true,
"recovery": true,
"degraded": true
},
"broken": {
"reason": "<string>",
"since": "2023-11-07T05:31:56Z"
},
"monitor_count": 1,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": "email",
"config": {
"address": "<string>"
},
"address_status": "member"
}
]
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}{
"error": {
"code": "<string>",
"issues": [
{
"path": "<string>",
"code": "<string>",
"message": "<string>",
"params": {}
}
],
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_count": 123,
"kind": "shared"
}
]
}
}Headers
Was this page helpful?