Integrate automated WhatsApp notifications, customer support workflows, and contact management directly into your CRM, ERP, or web application.
https://whatsappapi.sengarinfotech.com/api
Every request to a vendor endpoint requires your unique Vendor API Access Token. You can find or regenerate your token in your Dashboard under Settings > API Access & Webhook.
Authorization: Bearer YOUR_API_ACCESS_TOKEN
?token=YOUR_API_ACCESS_TOKEN
Send an instant WhatsApp text message to any customer phone number.
POST https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/send-message
| Parameter | Type | Status | Description |
|---|---|---|---|
phone_number | string | Required | Recipient phone number with country code without + or 0 (e.g. 919876543210). |
message_body | string | Required | The message text. Supports formatting and emojis. |
from_phone_number_id | string | Optional | WhatsApp Phone ID (defaults to active account number). |
curl -X POST "https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/send-message" \
-H "Authorization: Bearer YOUR_API_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"phone_number": "919876543210",
"message_body": "Hello from Sengar Infotech! Your account is active."
}'
{
"reaction_code": 1,
"result": "success",
"message": "Message has been sent successfully."
}
Send images, documents (PDF, DOCX), audio, or videos to WhatsApp contacts.
POST https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/send-media-message
| Parameter | Type | Status | Description |
|---|---|---|---|
phone_number | string | Required | Recipient phone number with country code. |
media_type | string | Required | One of: image, video, audio, document. |
media_url | string | Required* | Direct URL to the file (*or upload as file in multipart). |
caption | string | Optional | Text caption for the media item. |
curl -X POST "https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/send-media-message" \
-H "Authorization: Bearer YOUR_API_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "919876543210",
"media_type": "image",
"media_url": "https://example.com/sample-receipt.jpg",
"caption": "Your payment receipt from Sengar Infotech."
}'
Send approved WhatsApp Cloud API notification templates with personalized variables.
POST https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/send-template-message
| Parameter | Type | Status | Description |
|---|---|---|---|
phone_number | string | Required | Recipient phone number. |
template_name | string | Required | Exact template name as approved in Meta WhatsApp Manager. |
template_language | string | Required | Template language code (e.g., en, hi, en_US). |
field_1, field_2... | string | Optional | Dynamic body variable values mapping to {{1}}, {{2}}, etc. |
header_image / header_document | string | Optional | Media URL for template headers. |
Register a new contact in your database.
POST https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/create
curl -X POST "https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/create" \
-H "Authorization: Bearer YOUR_API_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "919876543210",
"first_name": "Rahul",
"last_name": "Kumar",
"email": "rahul@example.com",
"country": "India"
}'
Update details for an existing contact identified by phone number.
POST https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/update/{phoneNumber}
curl -X POST "https://whatsappapi.sengarinfotech.com/api/{vendorUid}/contact/update/919876543210" \
-H "Authorization: Bearer YOUR_API_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Rahul",
"last_name": "Singh",
"email": "rahul.singh@example.com"
}'
When enabled, any inbound WhatsApp message from customers is forwarded to your webhook endpoint in real-time.
{
"contact": {
"phone_number": "919876543210",
"first_name": "Rahul",
"last_name": "Kumar",
"email": "rahul@example.com"
},
"message": {
"whatsapp_message_id": "wamid.HBgMOTE5OD...",
"body": "Hello, I need assistance with my order.",
"is_new_message": true
}
}
Our engineering team provides direct integration assistance, custom webhook endpoints, and volume setup.