Notifications
The signed-in member's notification feed.
The Slack channels with the CRM notification types each takes, and the CRM's types (owner or admin)
GET/api/v1/notifications/slack-routes/
Response fields 2
channelsarray of objectcrm_eventsarray of object
curl "https://api.vivrecrm.com/api/v1/notifications/slack-routes/" \
-H "X-Api-Key: $VIVRE_API_KEY"
import os, requests
resp = requests.get(
"https://api.vivrecrm.com/api/v1/notifications/slack-routes/",
headers={"X-Api-Key": os.environ["VIVRE_API_KEY"]},
)
print(resp.json())
const resp = await fetch("https://api.vivrecrm.com/api/v1/notifications/slack-routes/", {
method: "GET",
headers: {
"X-Api-Key": process.env.VIVRE_API_KEY,
},
});
console.log(await resp.json());
{
"channels": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Kaveri Foods",
"is_active": true,
"crm_events": [],
"last_status": "",
"last_sent_at": "2026-10-17T09:30:00+05:30"
}
],
"crm_events": [
{
"key": "",
"label": "",
"group": "",
"group_label": ""
}
]
}
Choose which CRM notification types go to a Slack channel (owner or admin)
PATCH/api/v1/notifications/slack-routes/{channel_id}/
Parameters
channel_idpath, string (uuid)Required
Body
crm_eventsarray of stringRequired- Replaces the CRM's types only; the organization's are kept
Response fields 3
idstring (uuid)namestringcrm_eventsarray of string
curl -X PATCH "https://api.vivrecrm.com/api/v1/notifications/slack-routes/7c9e6679-7425-40de-944b-e07fc1f90ae7/" \
-H "X-Api-Key: $VIVRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"crm_events": [""]}'
import os, requests
resp = requests.patch(
"https://api.vivrecrm.com/api/v1/notifications/slack-routes/7c9e6679-7425-40de-944b-e07fc1f90ae7/",
headers={"X-Api-Key": os.environ["VIVRE_API_KEY"]},
json={
"crm_events": [
""
]
},
)
print(resp.json())
const resp = await fetch("https://api.vivrecrm.com/api/v1/notifications/slack-routes/7c9e6679-7425-40de-944b-e07fc1f90ae7/", {
method: "PATCH",
headers: {
"X-Api-Key": process.env.VIVRE_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"crm_events": [
""
]
}),
});
console.log(await resp.json());
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Kaveri Foods",
"crm_events": [
""
]
}