Send a free-form WhatsApp session message
Sends a free-form text message inside an active WhatsApp conversation (the 24h customer-care window), without using a template. Target the recipient with “contact_id” or “phone”. Only official WhatsApp API numbers are supported; WhatsApp rejects messages sent outside the 24h window.
Headers
API key needed to authorize the request
Body
The session message payload
Free-form text body to send inside the active 24h session
1Vambe contact id to send the message to
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Recipient phone number, used when contact_id is not provided. Keep an explicit "+" for numbers in a different country than the sender
Provider message id to quote when replying
Business WhatsApp number to send from. Required when targeting by "phone" and the account has more than one WhatsApp number
Message type. Only "text" is supported for now
text Pause the AI assistant for this contact (human handoff)
Response
Message accepted for delivery.
