Check shared Slack availability
curl --request GET \
--url https://api.interchange.io/api/v2/messaging-apps/slack \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/messaging-apps/slack"
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/messaging-apps/slack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"installUrl": "<string>"
}{
"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
Check shared Slack availability
Read whether the shared Interchange Slack app can be installed right now, and its install URL if so. Unlike every other endpoint in this group, this is not gated behind the messaging-apps pilot enrollment: the shared Slack app is not a pilot feature, so any authenticated account member can read this.
GET
/
messaging-apps
/
slack
Check shared Slack availability
curl --request GET \
--url https://api.interchange.io/api/v2/messaging-apps/slack \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/messaging-apps/slack"
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/messaging-apps/slack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"installUrl": "<string>"
}{
"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": {}
}
}