Send a message to initiate a conversation with a contact
templateName - The approved WhatsApp message templatelanguage - Language code (e.g., “en_US”)bodyParameters - Parameters to fill template placeholdersmessage - The text message to sendBearer token authentication using your API key
The ID of your bot integration
Contact's phone number in international format
"1234567890"
Name of the WhatsApp message template (WhatsApp only)
"hello_world"
Language code for the template (WhatsApp only)
"en_US"
Parameters to fill template placeholders (WhatsApp only)
The message text to send (SMS/Twilio only)
"Hello! I'm here to help you schedule an appointment."
Contact's email address
"john@example.com"
Contact's first name
"John"
Contact's last name
"Doe"
Contact's full name
"John Doe"
Contact's timezone
"America/New_York"
Custom key-value pairs to store with the contact
{
"source": "website",
"campaign": "summer2024"
}ID of calendar integration to use for this conversation
123
Message sent successfully
The response is of type integer.
201