Send a WhatsApp message (standalone)
Sends a new WhatsApp message without requiring a conversation ID. This endpoint automatically finds or creates a conversation based on the phone number and WhatsApp configuration.
Configuration Selection:
- If
whatsapp_config_idis provided, uses that specific configuration - If
customer_idis provided, uses the customer’s WhatsApp configuration - If neither is provided, uses the first available configuration for the project
Conversation Management:
- Automatically finds existing active conversations for the phone number
- Creates new conversations if none exist
- Updates conversation activity timestamps
- Creates WhatsApp contacts as needed
Message Types: Supports all message types including text, template, media, interactive, location, reaction, and contacts.
Agent Integration: Respects agent execution states and handoff rules. Messages are blocked when an agent execution is active and not in handoff, failed, or stopped state.
Documentation Index
Fetch the complete documentation index at: https://kapso-1adbad2d.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key required for all endpoints
Query Parameters
ID of the specific WhatsApp configuration to use
ID of the customer whose WhatsApp configuration to use
Phone number to send the message to (can also be provided in the message object)
Body
Response
Message created and sent successfully

