SMSLocal
Developer Hub

Send your first message in five minutes.

REST and XML APIs, webhook-driven delivery reports, and a sandbox mode with ₹60 free credit. Everything an engineer needs to go from curl to production.

Signed webhooks
Idempotency built-in
Versioned API
Real-time DLRs
zsh — smslocalsandbox
$ curl -X POST https://api.smslocal.in/v1/sms/send \
  -H "Authorization: Bearer sk_test_•••••••••" \
  -d '{"to":"+919876543210","body":"Hello India"}'

{
  "id": "msg_4f6c72",
  "status": "queued",
  "to": "+919876543210",
  "operator": "JIO",
  "template_id": "1307161234567890123",
  "route": "transactional-priority",
  "segments": 1,
  "price": { "amount": 0.21, "currency": "INR" }
}

# delivery webhook fires in ~0.6s
Popular endpoints

Copy, paste, ship.

Four endpoints cover 90% of integrations. Bring your API key and you're done.

POST/v1/sms/send

Send a single DLT-compliant SMS to one recipient.

curl -X POST https://api.smslocal.in/v1/sms/send \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+919876543210",
    "sender_id": "SMSLOC",
    "template_id": "1307161234567890123",
    "body": "Your order #4821 is confirmed. Tracking in our app."
  }'
POST/v1/otp/send

Dispatch an OTP on a dedicated priority route with retry logic.

curl -X POST https://api.smslocal.in/v1/otp/send \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 2f9b6c1e-…" \
  -d '{
    "to": "+919876543210",
    "code_length": 6,
    "expires_in": 300,
    "channel": "sms"
  }'
POST/v1/whatsapp/send

Send a WhatsApp Business template message with variables and buttons.

curl -X POST https://api.smslocal.in/v1/whatsapp/send \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+919876543210",
    "template_name": "order_shipped_en",
    "language": "en",
    "variables": ["4821", "25 Apr", "https://smsl.in/t/4821"]
  }'
POST/v1/campaigns/bulk

Launch a bulk SMS campaign across a large recipient list with throttling.

curl -X POST https://api.smslocal.in/v1/campaigns/bulk \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Diwali Sale — Delhi NCR",
    "template_id": "1307161234567890124",
    "recipients_list_id": "lst_8d2a41",
    "schedule_at": "2026-10-28T19:00:00+05:30"
  }'

Sandbox access

Test the full API against a sandbox phone number. No credits consumed, no DLT template required — ideal for CI pipelines and PR previews.

Get API key₹60 free credit on first top-up

The fastest path from curl to production.

REST, XML, webhooks, signed events, idempotency, sandbox — everything your platform team will audit for, already built.