Mattermost
Integrate Mattermost with Enbbox for chat notifications. Send notifications to Mattermost channels using incoming webhooks.
Overview
Mattermost is a self-hosted, open-source team messaging platform.
Setup
- In Mattermost, go to Integrations → Incoming Webhooks → Add Incoming Webhook
- Select a channel and create the webhook
- Copy the Webhook URL
- In Enbbox: Integrations → Add Provider → Chat → Mattermost
- Activate the integration
- Store per-subscriber webhook URLs in credentials:
import { SubscriberCredentialsApi, Configuration } from "@enbbox/api";
const config = new Configuration({ accessToken: "your-api-key" });
const credentialsApi = new SubscriberCredentialsApi(config);
await credentialsApi.setCredentials("subscriber-123", "mattermost", {
credentials: { webhook_url: "https://your-mattermost.com/hooks/xxx" },
});