External Channels -

Server-to-server inbound: SMS gateway, VoIP recorder, ticket system, XMPP bridge, or any other external channel pushes messages into per-channel chat.html groups via /chat.ashx?op=external-inject.

Checking sign-in…

Admin sign-in required

External-channels configuration requires an OIDC session with admin, superadmin, or superuser role.

Shared secret

External systems present this in the X-CodeB-External-Inject-Secret header on every POST. Rotate whenever it may be compromised.

Current: (not set)

Channels

Each channel maps to a chat group prefixed gc-<channel>-<remoteId>. Every inbound message on a channel fans out to that channel's routing users. Channel names must match [a-z0-9-]{1,32}.

Usage — POST /chat.ashx?op=external-inject

Example curl for an integration. Replace <secret> with the value above.

Loading…

Response: {ok: true, groupId, messageId} on success, {ok: false, error} on failure. Duplicate sourceMsgId is dropped (returns messageId: "(dedup)").