Developer Hub · Omni API · Webhooks

One API for Omnichannel Conversations.

Connect your applications to WhatsApp, RCS, SMS, and Voice with a single, unified REST API designed for speed and reliability.

Illustrative API Examples — Production base URL & Bearer credentials are issued upon account onboarding
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);
}

Send your first message in minutes

Grab an API key, pick your language, and fire a request. The same payload works across every channel.

Unified Payload

Switch between channels (SMS, WhatsApp, RCS) by simply changing a single field in your API request.

Real-time Webhooks

Receive instant delivery reports, read receipts, and incoming message notifications via high-speed webhooks.

API Authentication

Secure your requests with Bearer Token authentication and IP whitelisting for enterprise-grade protection.

Carrier-Grade Uptime

Our distributed cloud architecture ensures your business communication stays online during peak campaigns.

Global Endpoints

Low-latency API endpoints optimized for developers in India and globally through our edge network.

Postman Collection

Jumpstart your integration with our verified Postman environment and pre-configured API requests.

Core endpoints

POST

/v1/messages/send

Dispatch WhatsApp template or session messages with dynamic parameters.

POST

/v1/rcs/send

Send Google-verified RCS rich cards & carousels with SMS fallback.

POST

/v1/sms/send

High-throughput DLT SMS endpoint for OTPs, transactional & promotional alerts.

GET

/v1/wallet/balance

Check live credit balance and active route status programmatically.

Subscribe to real-time events

message.delivered

Fires when handset carrier or WhatsApp confirms delivery.

rcs.cta_clicked

Fires with customer mobile number when an RCS button is tapped.

missed_call.received

Fires in <500ms when a prospect dials your virtual DID.