WhatsApp integration uses the Meta Cloud API for both inbound and outbound messaging.
- Create a Meta App at developers.facebook.com
- Add the WhatsApp product to your app
- In WhatsApp > Getting Started, note your Phone Number ID and generate a Permanent Access Token
- Configure the webhook in Meta’s dashboard:
- Callback URL: Your KinBot webhook endpoint for WhatsApp
- Verify Token: A secret string you choose (stored in KinBot’s vault)
- Subscribe to the
messageswebhook field
- In KinBot, add a WhatsApp channel with the access token, phone number ID, and verify token
Configuration
Section titled “Configuration”| Field | Required | Description |
|---|---|---|
| Access Token | ✅ | Permanent access token (stored encrypted) |
| Phone Number ID | ✅ | Your WhatsApp business phone number ID |
| Verify Token | ✅ | Webhook verification token (stored encrypted) |
How It Works
Section titled “How It Works”- Inbound: Meta sends webhook events to KinBot. The adapter verifies the token, extracts message content and media, and routes to the Kin.
- Outbound: Messages are sent via the Graph API (
/messagesendpoint). Long messages (>4,096 chars) are split. Images are sent as media messages, other files as documents.
Features
Section titled “Features”- Text messages
- Image, document, audio, and video attachments
- Automatic message chunking
- Webhook verification
Requirements
Section titled “Requirements”- A Meta Business account with WhatsApp API access
- Your KinBot instance must be publicly reachable for webhooks
- Configure
PUBLIC_URLin your KinBot environment - The webhook URL must be configured manually in Meta’s developer console