Skip to content

Notifications

The signed-in member's notification feed.

2 endpoints. Every request needs an X-Api-Key header.

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 object
crm_eventsarray of object
curl "https://api.vivrecrm.com/api/v1/notifications/slack-routes/" \
  -H "X-Api-Key: $VIVRE_API_KEY"
Response 200
{
  "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)
namestring
crm_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": [""]}'
Response 200
{
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "name": "Kaveri Foods",
  "crm_events": [
    ""
  ]
}