Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
AgentsWhatsapp

Webhook

Handles incoming WhatsApp messages and status updates from Twilio.

POST /api/agents/whatsapp/webhook

Standard Twilio webhook payload (form-urlencoded or JSON).

ParameterTypeRequiredDescription
MessageSidstringYesUnique identifier for the message.
FromstringYesSender’s phone number (whatsapp:+…).
TostringYesReceiver’s phone number (whatsapp:+…).
BodystringYesContent of the message.
NumMediastringNoNumber of media attachments.

Response

Returns a 200 OK status and processes the message (text or media) asynchronously, triggering agent workflows or task creation.

Last updated on