Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Endpoints & custom URL

Production API host: api.dnotifier.com (HTTPS / WSS).

The SDK connects to DNotifier’s production API by default. You normally do not need to configure endpoints.

What the SDK uses

Purpose
Transport
When

Authentication

HTTPS

Every connect()

Realtime messaging

WebSocket (wss://)

transport: "ws"

RPC-style APIs (AI, RAG, HTTP send, workflows)

HTTPS

transport: "http" and AI/document methods

Optional session logging (logs: true) and workflow observability (observability: true) also use the production API host. Exact paths are handled inside the SDK.

Custom WebSocket URL

Override the WebSocket URL only when DNotifier support has given you a dedicated endpoint:

const notifier = new DNotifier({
  appId: "your-app-id",
  secret: "your-app-secret",
  transport: "ws",
  userId: "user-123",
  url: "wss://YOUR_HOST", // only if provided by DNotifier
  WebSocketImpl: WebSocket,
});
final notifier = DNotifier(
  appId: appId,
  secret: secret,
  transport: 'ws',
  userId: userId,
  url: 'wss://YOUR_HOST', // only if provided by DNotifier
);
notifier = DNotifier(
    app_id=app_id,
    secret=secret,
    transport="ws",
    user_id=user_id,
    url="wss://YOUR_HOST",  # only if provided by DNotifier
)

Auth and HTTP RPC hosts are fixed in the published SDK. Contact DNotifier if you need a custom deployment.

MCP and A2A endpoints

Agents and workflows with the mcpServer or a2a capability are reachable at:

Protocol
Shared plan URL

MCP

https://api.dnotifier.com/rpc/v1/mcp

A2A

https://api.dnotifier.com/rpc/v1/a2a

Both use the header X-API-Key: <appId>:<userId>:<appSecret>. Enterprise on-premises and custom cloud deployments use the URLs provided with the deployment. See Serve agents over MCP and Agent-to-agent (A2A).

Firewall / CSP

Allow outbound TLS to the production host:

  • https://api.dnotifier.com

  • wss://api.dnotifier.com

See also

Last updated