MultiLayerLLM
Receive 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
post/multilayer-llm/whatsapp/message
Request
- Base URL: https://api.platform.v1.aureo.io
- URL: https://api.platform.v1.aureo.io/multilayer-llm/whatsapp/message
- Auth: none declared
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.