Technical Documentation
Unlock the power of WhatsApp Business API for seamless Messaging, Automation, and Customer Engagement
Sendinai © 2026
Sendinai is a powerful WhatsApp Business API solution designed to simplify marketing and enhance customer engagement seamlessly.
"Seamlessly integrating innovation and efficiency to help you connect, engage, and grow like never before."
WhatsApp Broadcast Messaging
WhatsApp Live Chat
Automate responses based on user behavior
WhatsApp AI Chatbots
Customize chatbot behavior for platform needs
Organize & track conversations & preferences
Sendinai © 2026
Configure your application to communicate with the Sendinai universal gateway. All requests should be directed to the following secure endpoint.
Base URL
https://api.sendinai.com/sender.php
HTTP Method
All API interactions use the POST method to ensure secure payload transmission.
Sendinai © 2026
Sendinai provides a comprehensive suite of 9 standardized message templates, covering everything from simple text to rich media and interactive buttons.
"Standardized templates ensure consistency, compliance, and higher engagement rates across all your marketing campaigns."
3.1 Text Message
3.2 Text with PDF
3.3 Text with Image
3.4 Text with Video
3.5 Text with Dynamic Button
3.6 Text with PDF & Button
3.7 Text with Image & Button
3.8 Text with Video & Button
3.9 Authentication OTP Messages
Sendinai © 2026
The most fundamental communication unit. This template sends a standard text-based notification using a predefined WhatsApp template structure.
"Sends a simple text message... The template and language are defined in the request."
token
Secure authorization key
phone
Recipient number with country code (e.g., 91900...)
template_name
Unique ID of the message template (e.g., "hello_world")
{
"token":
"********************************************",
"phone":
"91900XXXXXXX",
"template_name":
"hello_world",
"template_language":
"en_US"
}
{
"status":
"success",
"message_id":
82936,
"message_wamid":
"wamid.HBgMOT0NDE2FQIAERgSMkFGMEM1RTNFRkM4NjYyNTJEAA=="
}
Sendinai © 2026
Enhance your communication by attaching PDF documents directly to your WhatsApp messages. Ideal for sending invoices, brochures, or reports alongside personalized text.
"Sends a message with a PDF attachment. It includes a personalized message and allows for a clickable file name."
header
Direct URL to the PDF file
file_name
The display name for the PDF file
text1
Variable for personalized message text
{
"token":
"******************************************",
"phone":
"91900XXXXXXX",
"template_name":
"test_doc",
"template_language":
"en",
"header":
"https://example.com/path/to/file.pdf",
"file_name":
"samples",
"text1":
"123456"
}
{
"status":
"success",
"message_id":
542150,
"message_wamid":
"wamid.HBgMOTE5MDIzFQIAERgSOTRG..."
}
Sendinai © 2026
Designed for high engagement, this template includes a static image header alongside text. It is ideal for lead demos, product showcases, or onboarding flows where visual context is key.
"The header contains a static image URL... displayed at the top of the message to visually support the demo invitation."
header
Direct URL to the image file (jpg/png)
template_name
E.g., "lead_demo_signup_flows"
type
Specific flow type (e.g., "flow")
{
"token":
"******************************************",
"phone":
"91900XXXXXXX",
"template_name":
"lead_demo_signup_flows",
"template_language":
"en",
"header":
"https://example.com/path/to/yourfile.jpg",
"type":
"flow"
}
{
"status":
"success",
"message_id":
42650,
"message_wamid":
"wamid.HBgMOTE5zMzzFQIAERgSOTRGNDEzMzAzQzlCQTE0RDE5AA=="
}
Sendinai © 2026
Captivate your audience with dynamic video content. This template places a video player at the top of the message, perfect for product demos, announcements, or rich visual storytelling.
"Sends a WhatsApp message with a video header... Dynamic text content can be personalized based on the sender's message."
header
Direct URL to the video file (mp4 recommended)
text1
Dynamic variable for personalization (e.g., Sender Name)
template_name
Must be set to "send_text_with_video"
{
"token":
"****************************************",
"phone":
"91900XXXXXXX",
"template_name":
"send_text_with_video",
"template_language":
"en",
"header":
"https://example.com/path/to/yourfile.mp4",
"text1":
"Brij Negi"
}
{
"status":
"success",
"message_id":
542650,
"message_wamid":
"wamid.HBgMOTEFQIAERgSOTRGNDEzMzAzQzlCQTE0RDE5AA=="
}
Sendinai © 2026
Enhance user engagement by including interactive buttons. This template sends a message with a dynamic button linked to a specific URL or action.
"The button is linked to a URL for user interaction, with personalized message content."
text1
Personalized variable for message body (e.g., "123456")
buttonURL1
Dynamic URL suffix or value linked to the button
phone
Recipient number
{
"token":
"*****************************************",
"phone":
"91900XXXXXXX",
"template_name":
"test_event",
"template_language":
"en",
"text1":
"123456",
"buttonURL1":
"7860"
}
{
"status":
"success",
"message_id":
955678,
"message_wamid":
"wamid.HBgMOTE5MDAzMSNkIyNjgxRDBDMjY1REExMUIwAA=="
}
Sendinai © 2026
This powerful template combines document sharing with actionable engagement. It delivers a PDF attachment alongside a personalized message and a dynamic button that links to a specific URL, perfect for sending invoices, reports, or brochures with a call-to-action.
"Sends a message with both a PDF attachment and a dynamic button. The button allows quick access to a URL linked to the message."
header
Direct URL to the PDF file
file_name
Display name for the attachment
text1
Variable for message personalization
buttonURL1
Dynamic suffix/ID for the button link
{
"token":
"*****************************************",
"phone":
"9190XXXXXXXX",
"template_name":
"send_text_with_pdf_and_dynamic_button",
"template_language":
"en",
"header":
"https://example.com/path/to/yourfile.pdf",
"file_name":
"Sample",
"text1":
"Brij Negi",
"buttonURL1":
"3125"
}
{
"status":
"success",
"message_id":
955678,
"message_wamid":
"wamid.HBgMOTE5MDAzMzU0IyNjgxRDBDMjY1REExMUIwAA=="
}
Sendinai © 2026
Designed for high engagement, this template combines a visual header (image) with dynamic text and an interactive button. It is commonly used for product inquiries, notifications, or welcome messages where visual context is crucial.
"Sends a message with an image header and a dynamic button. It includes dynamic text to personalize the message for the recipient."
header
URL of the image displayed at the top
file_name
Label for the referenced file/media
text1
Sender identity or personalized name (e.g., "Brij Negi")
text2
Product or service context (e.g., "Software")
{
"token":
"*********************************************",
"phone":
"9190XXXXXXXX",
"template_name":
"indiamart_enquire_whatsapp_notification",
"template_language":
"en",
"header":
"https://example.com/path/to/yourfile.jpg",
"file_name":
"Sample",
"text1":
"Brij Negi",
"text2":
"Software"
}
{
"status":
"success",
"message_id":
955678,
"message_wamid":
"wamid.HBgMOTE5MDAzMzU0MSNkIyNjgxRDBDMjY1REExMUIwAA=="
}
Sendinai © 2026
Maximize engagement by combining high-impact video content with actionable buttons. This template is perfect for product demos, tutorials, or promotional content where visual storytelling drives user interaction.
"The video enhances engagement, and the button provides easy interaction... allowing quick interaction or redirection."
header
URL of the video file (mp4) displayed at the top
text1, text2
Dynamic content variables (e.g., Name, Product)
Action Button
Interactive element for quick user response
{
"token":
"***************************************",
"phone":
"9190XXXXXXXX",
"template_name":
"send_text_with_video_and_button",
"template_language":
"en",
"header":
"https://example.com/path/to/yourfile.mp4",
"text1":
"Brij Negi",
"text2":
"Software"
}
{
"status":
"success",
"message_id":
955678,
"message_wamid":
"wamid.HBgMOTE5MDAzMzU0MTIzFQIABDMjY1REExMUIwAA=="
}
Sendinai © 2026
Designed for high-priority security flows. This payload sends a One-Time Password with a dedicated "Copy Code" button to streamline user verification.
"Sends an authentication OTP message... includes the OTP code, a support number, and a button for quick action."
text1
The One-Time Password (OTP) code (e.g., "123456")
text2
Support phone number included in message footer
buttonURL1
Value copied to clipboard when button is clicked
{
"token":
"****************************************",
"phone":
"9190XXXXXXXX",
"template_name":
"copy_code_otp",
"template_language":
"en_US",
"text1":
"123456",
"text2":
"1800-1111-1234",
"buttonURL1":
"123456"
}
{
"status":
"success",
"message_id":
955678,
"message_wamid":
"wamid.HBgMOTE5MDAzMzU0MTINjgxRDBDMjY1REExMUIwAA=="
}
Sendinai © 2026
Your gateway to seamless WhatsApp Business automation and engagement.
Effortlessly connect marketing & support systems.
Engage thousands instantly with rich media templates.
Real-time live chat and AI-driven chatbot responses.
Safe OTP flows and comprehensive conversation tracking.
Set up your authentication token and approved templates in the Sendinai dashboard.
Use the provided JSON payloads to test each message type (Text, Media, Buttons).
Track delivery via
message_id
and
wamid
responses.
Seamlessly integrating innovation and efficiency to help you connect, engage, and grow like never before.
Sendinai © 2026