Chat Webhook
Set up custom chat webhook integration in Enbbox. Send notifications to any chat platform via configurable webhook URLs.
Overview
The Chat Webhook provider lets you send chat notifications to any HTTP endpoint. Use this when your chat platform isn't natively supported.
Setup
- Set up an HTTP endpoint that accepts
POSTrequests with a JSON body - In Enbbox: Integrations → Add Provider → Chat → Chat Webhook
- Enter the Webhook URL and optional Secret for HMAC verification
- Click Test Connection → Activate
- 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", "chat-webhook", {
credentials: { webhook_url: "https://your-endpoint.com/chat" },
});Request Format
{
"to": "subscriber-123",
"content": "You have a new notification"
}