cURL
curl --request GET \
--url https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug} \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"notifier": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"discard": true,
"email": {
"html": "<string>",
"text": "<string>",
"to": "<string>"
},
"ops_genie": {
"api_key": "<string>",
"api_url": "https://api.opsgenie.com/",
"description": "<string>",
"details": {},
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message": "<string>",
"note": "<string>",
"priority": "<string>",
"responders": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
],
"source": "<string>",
"tags": "<string>"
},
"pagerduty": {
"class": "<string>",
"client": "<string>",
"client_url": "<string>",
"component": "<string>",
"description": "<string>",
"details": {},
"group": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"images": [
{
"alt": "<string>",
"href": "<string>",
"src": "<string>"
}
],
"links": [
{
"href": "<string>",
"text": "<string>"
}
],
"routing_key": "<string>",
"service_key": "<string>",
"severity": "<string>",
"url": "<string>"
},
"skip_resolved": true,
"slack": {
"actions": [
{
"confirm_field": {
"dismiss_text": "<string>",
"ok_text": "<string>",
"text": "<string>",
"title": "<string>"
},
"name": "<string>",
"style": "<string>",
"text": "<string>",
"type": "<string>",
"url": "<string>",
"value": "<string>"
}
],
"api_url": "<string>",
"callback_id": "<string>",
"channel": "<string>",
"color": "<string>",
"fallback": "<string>",
"fields": [
{
"short": true,
"title": "<string>",
"value": "<string>"
}
],
"footer": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"icon_emoji": "<string>",
"icon_url": "<string>",
"image_url": "<string>",
"link_names": true,
"mrkdwn_in": [
"<string>"
],
"pretext": "<string>",
"short_fields": true,
"text": "<string>",
"thumb_url": "<string>",
"title": "<string>",
"title_link": "<string>",
"username": "<string>"
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"victor_ops": {
"api_key": "<string>",
"api_url": "<string>",
"custom_fields": {},
"entity_display_name": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message_type": "<string>",
"monitoring_tool": "<string>",
"routing_key": "<string>",
"state_message": "<string>"
},
"webhook": {
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"url": "<string>"
}
}
}{
"message": "<string>"
}{
"message": "<string>"
}{}GET
/
api
/
v1
/
config
/
notifiers
/
{slug}
cURL
curl --request GET \
--url https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug} \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{tenant}.chronosphere.io/api/v1/config/notifiers/{slug}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"notifier": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"discard": true,
"email": {
"html": "<string>",
"text": "<string>",
"to": "<string>"
},
"ops_genie": {
"api_key": "<string>",
"api_url": "https://api.opsgenie.com/",
"description": "<string>",
"details": {},
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message": "<string>",
"note": "<string>",
"priority": "<string>",
"responders": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>"
}
],
"source": "<string>",
"tags": "<string>"
},
"pagerduty": {
"class": "<string>",
"client": "<string>",
"client_url": "<string>",
"component": "<string>",
"description": "<string>",
"details": {},
"group": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"images": [
{
"alt": "<string>",
"href": "<string>",
"src": "<string>"
}
],
"links": [
{
"href": "<string>",
"text": "<string>"
}
],
"routing_key": "<string>",
"service_key": "<string>",
"severity": "<string>",
"url": "<string>"
},
"skip_resolved": true,
"slack": {
"actions": [
{
"confirm_field": {
"dismiss_text": "<string>",
"ok_text": "<string>",
"text": "<string>",
"title": "<string>"
},
"name": "<string>",
"style": "<string>",
"text": "<string>",
"type": "<string>",
"url": "<string>",
"value": "<string>"
}
],
"api_url": "<string>",
"callback_id": "<string>",
"channel": "<string>",
"color": "<string>",
"fallback": "<string>",
"fields": [
{
"short": true,
"title": "<string>",
"value": "<string>"
}
],
"footer": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"icon_emoji": "<string>",
"icon_url": "<string>",
"image_url": "<string>",
"link_names": true,
"mrkdwn_in": [
"<string>"
],
"pretext": "<string>",
"short_fields": true,
"text": "<string>",
"thumb_url": "<string>",
"title": "<string>",
"title_link": "<string>",
"username": "<string>"
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"victor_ops": {
"api_key": "<string>",
"api_url": "<string>",
"custom_fields": {},
"entity_display_name": "<string>",
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"message_type": "<string>",
"monitoring_tool": "<string>",
"routing_key": "<string>",
"state_message": "<string>"
},
"webhook": {
"http_config": {
"basic_auth": {
"password": "<string>",
"username": "<string>"
},
"bearer_token": "<string>",
"proxy_url": "<string>",
"tls_config": {
"insecure_skip_verify": true
}
},
"url": "<string>"
}
}
}{
"message": "<string>"
}{
"message": "<string>"
}{}⌘I

