Skip to content
DSolve Connect

Developers

A small, predictable SMS API.

JSON over HTTPS, one Bearer key per integration, and the same DLT checks as the dashboard. Full reference docs are inside your account.

Authentication

Create a key under Developer → API keys. Send it in the Authorization header on every request. Keys are shown once — store them in a secret manager, never in front-end code.

  • Scopes per key: sms:send, sms:status, balance:read, templates:read
  • Optional IP allow-list (IPv4, IPv6 or CIDR)
  • Keys never work in a query string — header only
HTTP header
Authorization: Bearer dsc_live_xxxxxxxxxxxxxxxx
Accept: application/json
Content-Type: application/json

Endpoints

Base URL https://www.sms.dsolve.co.in/api/v1

MethodPathScopeDescription
POST /api/v1/sms/send sms:send Send one message to up to 1,000 numbers using an approved DLT template.
GET /api/v1/sms/{message_id} sms:status Current status and delivery report of one message.
GET /api/v1/balance balance:read Wallet balance (₹), SMS credits and subscription end date.
GET /api/v1/templates templates:read Your approved DLT templates and sender IDs.

Send an SMS

Pass the DLT template ID and the values for each {#var#} in order. We build the message from your approved template, so the text always matches what DLT expects.

sender_idstring, required
Your approved 6-character header, e.g. KAVERI.
template_idstring, required
The 19-digit DLT template ID.
numbersarray, required
Up to 1,000 Indian mobile numbers (10 digits, +91 optional).
variablesarray
Values for {#var#} placeholders, in order.
client_refstring, optional
Your own reference (max 64), returned in webhooks.
schedule_atISO 8601, optional
Send later, e.g. 2026-12-01T10:30:00+05:30.
curl -X POST https://www.sms.dsolve.co.in/api/v1/sms/send \
  -H "Authorization: Bearer dsc_live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "sender_id": "KAVERI",
    "template_id": "1707161234567890123",
    "numbers": ["9876543210", "9123456780"],
    "variables": ["482913"]
  }'
Example response · 202 Accepted
{
  "success": true,
  "data": {
    "status": "queued",
    "campaign_id": "01JD8X4M6Q3T9V2B7N5K0R1C8D",
    "message_ids": ["01JD8X4M6Q3T9V2B7N5K0R1C8E", "01JD8X4M6Q3T9V2B7N5K0R1C8F"],
    "parts": 2,
    "credits_used": 2,
    "cost": "0.00",
    "cost_paise": 0,
    "encoding": "gsm7",
    "invalid": [],
    "dnd_count": 0,
    "is_test": false
  },
  "request_id": "01JD8X4M6Q3T9V2B7N5K0R1C8G"
}

Delivery report webhooks

Add an HTTPS endpoint in your account and we will POST each delivery report as JSON. Every request is signed so you can verify it came from us.

  • X-DSC-Signature: sha256=… — HMAC-SHA256 of the raw body with your webhook secret
  • X-DSC-Timestamp — reject requests older than 5 minutes
  • Up to 5 retries with back-off if your endpoint does not return 2xx
Webhook payload
{
  "event": "dlr",
  "message_id": "01JD8X4M6Q3T9V2B7N5K0R1C8E",
  "client_ref": "order-10482",
  "mobile": "9876543210",
  "status": "delivered",
  "error_code": null,
  "parts": 1,
  "submitted_at": "2026-11-21T10:30:02+05:30",
  "delivered_at": "2026-11-21T10:30:05+05:30"
}

Rate limits & errors

Each key is limited by your plan’s throughput (messages per second), with a minimum of 60 requests per minute. Errors use standard HTTP status codes and a JSON body: {"success": false, "error": {"code", "message"}, "request_id"}. Platform rejections are refunded to your wallet automatically.

HTTPCodeMeaning
401 UNAUTHENTICATED Missing, malformed or revoked API key.
403 INSUFFICIENT_SCOPE The key does not have the scope this endpoint needs.
403 IP_NOT_ALLOWED The request IP is not on the key’s allow-list.
422 TEMPLATE_MISMATCH The message does not match the approved DLT template.
422 SENDER_TEMPLATE_MISMATCH The template is not linked to this sender ID on DLT.
422 VARIABLE_COUNT_MISMATCH The number of variables does not match the template’s {#var#} placeholders.
422 PROMO_WINDOW_CLOSED Promotional SMS can only be sent between 10 AM and 9 PM IST.
422 TOO_MANY_RECIPIENTS More than 1,000 numbers in one request.
402 INSUFFICIENT_BALANCE Not enough credits or wallet balance for this request.
402 SUBSCRIPTION_EXPIRED Your plan has expired. Renew to continue sending.
429 — Too many requests for your plan. Retry after the seconds in the Retry-After header.

Ready to integrate?

Create an account, register a template and get your API key. Trial keys can send to your own verified number.