post
https://api.platform.v1.aureo.io/multilayer-llm/whatsapp/message
Receive and process incoming WhatsApp messages via Twilio webhook.
This endpoint handles incoming WhatsApp messages sent through Twilio's API.
It processes different message types (text, audio, images) and integrates
with the Multi Layer LLM system for AI responses. Audio messages are transcribed
using OpenAI's Whisper model.
Parameters:
- request: HTTP request object containing the Twilio webhook payload
- background_tasks: FastAPI background tasks for processing messages asynchronously
Returns:
- XML response in TwiML format for Twilio webhook acknowledgment
Raises:
- HTTPException: If integration not found, not enabled, or message processing fails
Note:
- Supports text messages, voice messages (transcribed), and images
- Voice messages are processed using OpenAI Whisper for transcription
- Images receive a standard response asking for text input
- All messages are processed asynchronously in the background
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
