Skip to content

Gateway Config Reference

Gateway config lives in profile config.json under gateway.

FieldDefaultPurpose
bind127.0.0.1:0Local listener bind address. Callback channels usually need stable bind.
channels{}Map of channel name to channel config.
FieldDefaultPurpose
enabledtrueStart this channel with Gateway service.
transportunsetChannel transport mode.
api_baseunsetPlatform API base URL or bridge base URL.
allowed_users[]Allowed sender ids.
allowed_chats[]Allowed chat, room, group, channel, thread, or resource ids.
homeunsetOptional default outbound target.
extra{}Channel-specific non-secret settings.
typing.enabledtrueEnable typing/status refresh when supported.
typing.refresh_seconds4Typing refresh interval.
media.max_download_bytes26214400Inbound media download limit.
media.allow_voicetrueAllow voice/audio media handoff where supported.
approval.modenative_with_command_fallbackApproval prompt behavior.
access.dm_policyopenDirect-message access policy.
access.group_policyopenGroup/channel access policy.
access.require_mentiontrueMention or wake-pattern gating where supported.

Secrets belong in profile auth.json.