GET
/api/channelsList notification channels
Query parameters
config_typestringFilter by type, e.g. webhook.
Responses
200 Channels
totalnumberrequiredchannelsChannel[]requiredconfig_idstringrequiredcreated_time_msnumberlast_updated_time_msnumberconfigobjectrequirednamestringrequireddescriptionstringconfig_typestringrequiredwebhook / slack / chime / microsoft_teams / email / smtp_account / sns …
is_enabledbooleancURL
curl -X GET https://osawebhook.defenderx.sentrixsolution.com/api/channels?config_type=stringJavaScript
const res = await fetch("https://osawebhook.defenderx.sentrixsolution.com/api/channels", {
method: "GET"
});
const data = await res.json();Response 200
{
"total": 0,
"channels": [
{
"config_id": "string",
"created_time_ms": 0,
"last_updated_time_ms": 0,
"config": {
"name": "string",
"description": "string",
"config_type": "string",
"is_enabled": true
}
}
]
}