List project notification channels
curl --request GET \
--url https://api.sazabi.com/v1/notification-channelsimport requests
url = "https://api.sazabi.com/v1/notification-channels"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sazabi.com/v1/notification-channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sazabi.com/v1/notification-channels",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sazabi.com/v1/notification-channels"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sazabi.com/v1/notification-channels")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sazabi.com/v1/notification-channels")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"channelCards": [
{
"channel": "in_app",
"name": "<string>",
"description": "<string>",
"scope": "personal",
"enabled": true,
"preferenceId": "<string>",
"prerequisite": {
"status": "ready",
"statusLabel": "<string>",
"message": "<string>"
},
"action": {
"label": "<string>",
"href": "<string>"
},
"destinations": [
{
"id": "<string>",
"label": "<string>",
"status": "active",
"statusLabel": "<string>",
"message": "<string>"
}
],
"destinationManagement": "none",
"canCreateDestinations": true,
"supportedNotificationTypes": [
"security_alert"
]
}
],
"channels": [
{
"channel": "slack_channel",
"enabled": true,
"preferenceId": "<string>"
}
],
"notificationTypePreferences": [
{
"channel": "slack_channel",
"notificationType": "security_alert",
"enabled": true,
"preferenceId": "<string>"
}
],
"issueNotificationMinSeverity": "low"
}Notification channels
List project notification channels
List a project’s notification channels with preferences, prerequisites, connection state, configured destinations, and supported notification types. The personal channel cards (in-app, email, SMS, and Slack) describe the signed-in user, so a session, OAuth, or MCP token shows that user’s own state within its project and organization. A secret key is not a person: it sees the personal cards as unavailable, with no destinations.
GET
https://api.sazabi.com/v1
/
notification-channels
List project notification channels
curl --request GET \
--url https://api.sazabi.com/v1/notification-channelsimport requests
url = "https://api.sazabi.com/v1/notification-channels"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sazabi.com/v1/notification-channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sazabi.com/v1/notification-channels",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sazabi.com/v1/notification-channels"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sazabi.com/v1/notification-channels")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sazabi.com/v1/notification-channels")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"channelCards": [
{
"channel": "in_app",
"name": "<string>",
"description": "<string>",
"scope": "personal",
"enabled": true,
"preferenceId": "<string>",
"prerequisite": {
"status": "ready",
"statusLabel": "<string>",
"message": "<string>"
},
"action": {
"label": "<string>",
"href": "<string>"
},
"destinations": [
{
"id": "<string>",
"label": "<string>",
"status": "active",
"statusLabel": "<string>",
"message": "<string>"
}
],
"destinationManagement": "none",
"canCreateDestinations": true,
"supportedNotificationTypes": [
"security_alert"
]
}
],
"channels": [
{
"channel": "slack_channel",
"enabled": true,
"preferenceId": "<string>"
}
],
"notificationTypePreferences": [
{
"channel": "slack_channel",
"notificationType": "security_alert",
"enabled": true,
"preferenceId": "<string>"
}
],
"issueNotificationMinSeverity": "low"
}Query Parameters
Project to inspect. Auto-filled from CLI and SDK context when omitted.
Response
200 - application/json
OK