Marketplace

live-whatsapp

Other

WhatsApp Cloud API channel for togo live agents — inbound + outbound. A live.Channel driver for togo-framework/live.

togo-framework
bash
togo install togo-framework/live-whatsapp

Install

bash
togo install togo-framework/live-whatsapp

Blank-import the package to activate it; the live plugin picks up the registered whatsapp channel automatically.

go
import _ "github.com/togo-framework/live-whatsapp"

What it does

  • Egress — delivers an agent's reply out to a WhatsApp thread via the WhatsApp Cloud (Graph) API. The recipient is the conversation's external_ref (the customer's wa_id / msisdn).
  • Ingress — mounts a Meta webhook that verifies the subscription handshake and ingests inbound text messages as user prompts on the matching conversation.

Configuration

Env
Required
Default
Description
WHATSAPP_TOKENyesGraph API bearer token
WHATSAPP_PHONE_IDyesSender phone number id
WHATSAPP_APInohttps://graph.facebook.com/v21.0Graph API base URL
WHATSAPP_VERIFY_TOKENyes (ingress)Webhook verification handshake secret
Rows per page
1–4 of 4
Page 1 of 1

If WHATSAPP_TOKEN / WHATSAPP_PHONE_ID are empty, delivery is a no-op.

Webhook URLs

Point your Meta app's WhatsApp webhook at:

Method
Path
Purpose
GET/api/live/channels/whatsapp/webhookMeta verification handshake
POST/api/live/channels/whatsapp/webhookInbound message delivery
Rows per page
1–2 of 2
Page 1 of 1

<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>