Channels
SMS & WhatsApp
Global mobile message routing with automatic carrier failover and Twilio integration.
SMS & WhatsApp Messaging
Reach users on their mobile devices globally with automated routing across Twilio and secondary regional telecom aggregators.
1. Phone Number Format (E.164)
All mobile recipients must be formatted according to the international E.164 standard:
- Include country code with a leading
+sign. - Omit dashes, spaces, and leading zeros.
- Examples:
+14155552671(US),+442071838750(UK),+919876543210(India).
2. Dispatching an SMS
curl -X POST "https://api.gns.iitdeveloper.com/api/v1/notifications" \
-H "Authorization: Bearer gns_live_sk_..." \
-H "Content-Type: application/json" \
-d '{
"channel": "sms",
"recipient": "+14155552671",
"body": "Your Acme delivery will arrive today between 2:00 PM and 4:00 PM."
}'3. WhatsApp Business Messaging
For WhatsApp delivery, messages must reference an approved template:
curl -X POST "https://api.gns.iitdeveloper.com/api/v1/notifications" \
-H "Authorization: Bearer gns_live_sk_..." \
-H "Content-Type: application/json" \
-d '{
"channel": "whatsapp",
"recipient": "+14155552671",
"template_id": "shipping_update_v2",
"template_data": {
"customer_name": "Taylor",
"tracking_code": "TRK-98174"
}
}'