Enbbox Docs

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

  1. Set up an HTTP endpoint that accepts POST requests with a JSON body
  2. In Enbbox: IntegrationsAdd ProviderChatChat Webhook
  3. Enter the Webhook URL and optional Secret for HMAC verification
  4. Click Test ConnectionActivate
  5. 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"
}

On this page