Connect your applications to WhatsApp, RCS, SMS, and Voice with a single, unified REST API designed for speed and reliability.
curl -X POST https://api.targetad.in/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel": "whatsapp",
"to": "+919374715384",
"template_id": "order_update",
"fallback_sms": true
}'
const res = await fetch('https://api.targetad.in/v1/messages', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
channel: 'rcs',
to: '+919374715384',
template_id: 'festive_showcase',
fallback_sms: true
})
});
console.log(await res.json());
import requests
resp = requests.post(
"https://api.targetad.in/v1/messages",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"channel": "sms",
"to": "+919374715384",
"sender": "TARGET",
"dlt_template_id": "1107160000000001",
"message": "Your verification OTP is 482910."
}
)
print(resp.json())
GET https://api.targetad.in/v1/wallet/balance
Authorization: Bearer YOUR_API_KEY
// Response (200 OK)
{
"status": "success",
"currency": "INR",
"sms_credits": 250000,
"rcs_credits": 100000
}
// Verify incoming DLR / CTA Click Webhook signature
const crypto = require('crypto');
const signature = req.headers['x-target-signature'];
const expected = crypto
.createHmac('sha256', process.env.WEBHOOK_SECRET)
.update(JSON.stringify(req.body))
.digest('hex');
if (signature === expected) {
console.log('Verified event:', req.body.event, req.body.mobile);
}
Grab an API key, pick your language, and fire a request. The same payload works across every channel.
Switch between channels (SMS, WhatsApp, RCS) by simply changing a single field in your API request.
Receive instant delivery reports, read receipts, and incoming message notifications via high-speed webhooks.
Secure your requests with Bearer Token authentication and IP whitelisting for enterprise-grade protection.
Our distributed cloud architecture ensures your business communication stays online during peak campaigns.
Low-latency API endpoints optimized for developers in India and globally through our edge network.
Jumpstart your integration with our verified Postman environment and pre-configured API requests.
Dispatch WhatsApp template or session messages with dynamic parameters.
Send Google-verified RCS rich cards & carousels with SMS fallback.
High-throughput DLT SMS endpoint for OTPs, transactional & promotional alerts.
Check live credit balance and active route status programmatically.
Fires when handset carrier or WhatsApp confirms delivery.
Fires with customer mobile number when an RCS button is tapped.
Fires in <500ms when a prospect dials your virtual DID.