Get Slack notification settings
curl --request GET \
--url https://api.interchange.io/api/v2/notification-delivery-preferences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/notification-delivery-preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/notification-delivery-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"adapter": "slack",
"destination": {
"id": "<string>",
"name": "<string>",
"isPrimary": true
},
"configurable": true,
"preferences": [
{
"stream": "product_updates",
"enabled": true
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Account
Get Slack notification settings
Get Product Updates and source outage alert settings for the account’s primary Murph Slack channel. If the account has no connected channel, destination is null and configurable is false.
GET
/
notification-delivery-preferences
Get Slack notification settings
curl --request GET \
--url https://api.interchange.io/api/v2/notification-delivery-preferences \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/notification-delivery-preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/notification-delivery-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"adapter": "slack",
"destination": {
"id": "<string>",
"name": "<string>",
"isPrimary": true
},
"configurable": true,
"preferences": [
{
"stream": "product_updates",
"enabled": true
}
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token