Skip to main content
curl -X POST /v1/sms/send \
  -H "Authorization: Bearer API_KEY" \
  -d '{
    "to": "+919876543210",
    "sender_id": "SPREDG",
    "message": "Your OTP is 4829"
  }'

// 200 OK
{
  "status": "success",
  "message_id": "msg_a1b2c3d4"
}

SpringEdge APIs follow standard REST conventions — JSON request/response format, HTTP status codes, and Bearer token authentication. Every API endpoint is accessible over HTTPS and returns structured responses with message IDs, delivery status, and credit usage.

SDKs are available for PHP, Python, Java, Node.js, Ruby, Go, and C#/.NET. For platforms without an SDK, any HTTP client (cURL, Postman, or your language's built-in library) works out of the box.

RESTful JSON API

Standard HTTP methods, JSON payloads, and predictable URL structure

API Key Authentication

Bearer token auth — generate and manage keys from your dashboard

Webhook Callbacks

Real-time delivery reports and incoming message events pushed to your server

Available APIs

Each API handles a specific communication channel. All APIs share the same authentication, response format, and webhook structure.

SMS API

Send transactional SMS, OTP codes, and promotional bulk campaigns. Supports Unicode, scheduled delivery, DLT templates, and DND filtering.

RCS API

Send rich cards, image carousels, suggested replies, and action buttons. Includes automatic SMS fallback for non-RCS devices.

Voice API

Automated voice broadcasting with text-to-speech in 15+ languages. Build IVR menus, collect DTMF input, and schedule calls.

WhatsApp API

Official WhatsApp Business API for template messages, rich media, interactive buttons, and automated chatbot conversations.

// Send SMS — cURL example
curl -X POST https://api.springedge.com/v1/sms/send \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "to": "+919876543210",
    "sender_id": "SPREDG",
    "message": "Your OTP is 482910",
    "type": "transactional"
  }'

// Response
{
  "status": "success",
  "message_id": "msg_a1b2c3d4",
  "credits_used": 1
}

SMS API

Send an SMS with One API Call

The SMS API accepts a POST request with the recipient number, sender ID, message body, and message type (transactional or promotional). The API validates DLT template compliance, selects the optimal delivery route, and returns a message ID for tracking.

Delivery status is available via polling (GET request with the message ID) or automatically pushed to your webhook endpoint within seconds of delivery.

WHATSAPP API

Send WhatsApp Messages via API

The WhatsApp API sends pre-approved template messages with dynamic parameters. Templates support text, images, documents, videos, and interactive buttons (quick reply, call-to-action, URL). Each template must be approved by Meta before use.

Session messages (replies within 24 hours of a user-initiated conversation) support free-form text and media without template restrictions.

// Send WhatsApp template message
curl -X POST https://api.springedge.com/v1/whatsapp/send \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "to": "+919876543210",
    "template": "order_confirmation",
    "params": {
      "order_id": "ORD-78542",
      "amount": "2,499",
      "delivery": "Feb 28, 2026"
    }
  }'

// Response
{
  "status": "success",
  "message_id": "wa_x9y8z7w6"
}

Developer Tools & Infrastructure

Everything you need to integrate, test, and monitor messaging in production.

SDKs & Libraries

Official libraries for PHP, Python, Node.js, Java, Ruby, Go, and C#/.NET. Install via pip, npm, composer, or Maven and start sending in minutes.

Sandbox Environment

Test your integration without sending real messages or using credits. Full API parity with production — same endpoints, same response format.

Webhooks & Events

Receive delivery reports, read receipts, and incoming messages as HTTP POST callbacks to your server in real time.

Analytics Dashboard

Track delivery rates, message latency, channel-wise usage, and credit consumption from a single dashboard with exportable reports.

Rate Limiting & Throttling

Configurable rate limits per API key. Default limits handle most use cases — contact support for higher throughput requirements.

Request Logging

Every API request and response is logged and accessible from your dashboard for debugging, auditing, and compliance purposes.

# Python example
import springedge

client = springedge.Client("YOUR_API_KEY")

response = client.sms.send(
    to="+919876543210",
    sender_id="SPREDG",
    message="Your OTP is 482910",
    msg_type="transactional"
)

print(response.message_id)
# "msg_a1b2c3d4"

SDKs

Native Libraries for Every Stack

Our SDKs wrap the REST API into language-native classes and methods. Handle authentication, request construction, error handling, and response parsing automatically — so you can focus on building your application logic.

Available for PHP (Composer), Python (pip), Node.js (npm), Java (Maven), Ruby (gem), Go (module), and C#/.NET (NuGet). Each SDK includes typed models, async support, and retry logic built in.