Developers are granted access to integrate Botify functionality into their operations, enabling them to:
• Send and Receive Messages
• Send OTP
• Send Transactional Messages
• Share Media
The API Access can be used by Financial Institutions, Real Estate Companies, Tech Companies, and Logistics/Delivery Companies
[http] Endpoint
Supports GET and POST
Required Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| messageType |
string
|
Type of message to send | text | image | video | audio | document | location |
| requestType |
string
|
HTTP method | GET or POST |
| token |
string
|
Authentication token | “your_api_token_here” |
| from |
string
|
Sender phone with country code | “1234567890” |
| to |
string
|
Recipient phone with country code | “9876543210” |
Message Type Parameters (6types)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| text |
string
|
Required
|
Text to send | “Hello!” |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| imageUrl |
string (URL)
|
Required
|
Public image URL | “https://example.com/image.jpg” |
| caption |
string
|
Optional
|
Caption (optional) | “Check this out” |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| videoUrl |
string (URL)
|
Required
|
Public video URL | “https://example.com/video.mp4” |
| caption |
string
|
Optional
|
Optional caption | “Watch this” |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| aacUrl |
string (URL)
|
Required
|
Public AAC audio URL | “https://example.com/audio.aac” |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| docUrl |
string (URL)
|
Required
|
Public document URL | “https://example.com/doc.pdf” |
| caption |
string
|
Optional
|
Document caption | “See attached” |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| lat |
number
|
Required
|
Latitude | 37.7749 |
| long |
number
|
Required
|
Longitude | -122.4194 |
| title |
string
|
Optional
|
Location title | “San Francisco” |

cURL Example
curl -X POST https://app.chatentra.com/api/qr/rest/send_message \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_token" \
-d '{
"messageType": "text",
"requestType": "POST",
"token": "your_api_token",
"from": "+1234567890",
"to": "+9876543210",
"text": "Hello from the WhatsApp API!"
}'
Responses
{
"success": true,
"message": "Sent",
"data": {
"messageId": "ABGFlh4sVgAHEwkSJQZk",
"timestamp": "2023-05-15T12:34:56Z",
"recipient": "+1234567890",
"messageType": "text",
"contentPreview": "Hello world..."
}
}
{
"success": false,
"message": "Message not sent",
"solution": "Check your token and parameters"
}
