Channels
Messaging Channels
Connect a Telegram bot or a WhatsApp Business number and let Humane handle inbound messages directly. Each channel is a verified, per-integration webhook — forged requests are rejected, real messages run through the same Brain pipeline your /process calls use.
How it works
You register a channel (a Telegram bot or a WhatsApp Business phone number) either from Dashboard → Channels or via the SDK. Humane returns a webhook URL like/api/ingress/{provider}/{integration_id}and a one-shot secret (Telegram's secret_tokenor WhatsApp's verify_token). You hand the URL + secret to the provider once — after that, every inbound message is authenticated and dispatched through your engines, policies, and memory like any other interaction.
Pick a channel
Talk to @BotFather, paste the bot token, and you're live. Webhook is verified with the X-Telegram-Bot-Api-Secret-Token header.
Phone number ID + System User access token + App Secret. HMAC-SHA256 over the raw body protects the endpoint.
What routes through the Brain
Once a message hits the ingress endpoint and passes verification, it's parsed into an EndUser interaction with thechannel field set to "telegram"or "whatsapp", then handed to the sameprocess_interaction pipeline your SDK calls use. Mood, energy, safety gating, memory recall, policy rules, and proactive triggers all apply identically. Analytics can filter bychannel to compare cohorts.
200 {status: "ignored"} so neither Telegram nor Meta retries them. Only actual messages create interactions.