Overview
OpenSRE’s WhatsApp integration delivers investigation findings to any WhatsApp number via Twilio’s Messaging API. Delivery-only — no gateway or pairing.This integration uses Twilio as the WhatsApp provider. SMS is a separate integration — see Twilio SMS.
Prerequisites
- A Twilio account: Sign up
- Twilio WhatsApp Sandbox (for demos) or a production WhatsApp-enabled sender
Setup
Option 1: CLI wizard (recommended)
- Twilio Account SID (starts with
AC...) - Twilio Auth Token
- Twilio WhatsApp From number (for example
whatsapp:+14155238886) - Default recipient phone number (optional)
Option 2: Environment variables
Credentials
- Create or open a Twilio account.
- Enable WhatsApp Sandbox or a production WhatsApp sender.
- Copy Account SID and Auth Token from the Twilio Console.
- Set
TWILIO_WHATSAPP_FROMto your WhatsApp-enabled sender. - Set
WHATSAPP_DEFAULT_TOfor automatic delivery after investigations.
whatsapp: in delivery.
Investigation tools
No WhatsApp-specific investigation tools are registered. Delivery happens when an investigation finishes and WhatsApp is configured as a notify channel / default recipient.Test with an investigation
Verify
Troubleshooting
Security
- Treat Twilio auth tokens like passwords.
- Prefer a dedicated Twilio project for OpenSRE.
- Store credentials in
.envor your secret manager — not in source control.