Skip to main content

Interface Parameters

Pass one of agent, team, or workflow to the Whatsapp constructor.

Endpoints

Available at the /whatsapp prefix (customizable with prefix).

GET {prefix}/status

Returns {"status": "available"}. Use for health checks.

GET {prefix}/webhook

Handles WhatsApp webhook verification during setup.

POST {prefix}/webhook

Receives all WhatsApp webhook events. Processing happens in the background so Meta gets a response within their timeout window.

Built-in Message Handling

Outgoing Media

Agent responses containing media are automatically uploaded to Meta’s media API and sent to the user.

Developer Resources

WhatsApp Guide

Setup, code examples, media handling, and troubleshooting.

WhatsAppTools Reference

Toolkit parameters and methods for interactive messages, media, and locations.