Services
Pricing
About DLT Registration Blog Contact
Call 9003051520 Start Free Trial
Developer-First REST API

Send SMS With
4 Lines of Code.

A simple REST API with JSON responses, DLT template support, real-time delivery reports, and webhooks. Built for developers — works with PHP, Python, Java, Node.js, C#, and Ruby.

send_sms.php
$url = "https://api.ping4sms.com/v3/send"; $data = array( "api_key" => "YOUR_API_KEY", "sender_id" => "PING4S", "number" => "91XXXXXXXXXX", "message" => "Your OTP is 4521", "template_id" => "DLT_TEMPLATE_ID" ); $response = curl_post($url, $data); echo $response; // {"status":"success"...}
REST API
JSON Request/Response
<200ms
Avg. API Response Time
200 RPS
Rate Limit (Standard)
99.9%
API Uptime
24/7
Developer Support
How It Works

From Signup to First SMS in Minutes

No lengthy onboarding or sales calls required — generate your API key and start sending in your sandbox immediately.

1

Create a Free Account

Sign up on the PING4SMS dashboard and your unique API key is generated instantly under API Settings — no setup fee, no waiting period.

2

Register Your DLT Template

Submit your message template for TRAI's DLT approval — PING4SMS offers free assistance, and most templates are approved within 24-48 hours.

3

Make Your First API Call

Send a simple HTTP POST request with your API key, sender ID, recipient number, message, and DLT template ID — using any language that supports HTTP.

4

Track Delivery in Real-Time

Get an instant JSON response with a message ID, then poll the status endpoint or configure a webhook to receive delivery reports automatically.

API Reference

Core API Endpoints

A handful of clean, predictable endpoints cover everything from sending a single SMS to checking your account balance.

POST
/v3/send

Send a single SMS or bulk SMS to multiple recipients in one request. Accepts sender ID, message, DLT template ID, and an array of numbers.

POST
/v3/send-bulk

Submit a CSV or JSON array of personalized messages for large campaigns — supports up to 50,000 recipients per request.

GET
/v3/status/{message_id}

Check the delivery status of a sent message using its unique message ID — returns DELIVRD, FAILED, or PENDING.

GET
/v3/balance

Retrieve your current SMS credit balance and active plan details programmatically — useful for low-balance alerts.

POST
/v3/templates

Submit a new DLT template for approval or fetch the list of your already-approved template IDs.

POST
/v3/webhook

Register a webhook URL to automatically receive delivery receipts and inbound SMS replies in real-time.

Multi-Language Support

Code Samples in Your Language

PHP Python Java Node.js C# Ruby cURL
Response Reference

Delivery Status Codes

Every API call returns a clear JSON response — store these status codes to power retries and reporting dashboards.

Status Code
Meaning
Recommended Action
DELIVRD
Message successfully delivered to handset
No action needed
PENDING
Message accepted, awaiting operator confirmation
Poll status after 5–10 seconds
UNDELIV
Message could not be delivered to handset
Verify number, retry once
EXPIRED
Message expired before delivery (handset off/unreachable)
Log and notify user via alternate channel
REJECTD
Rejected by operator — usually DLT template mismatch
Check template ID and content match
Ready-Made Integrations

Works With Your Existing Stack

Skip custom code entirely with plugins for popular platforms, or use our SDKs for full programmatic control.

WordPress
WooCommerce
Shopify
Magento
CRM / Salesforce
Zapier
Laravel
Google Sheets
Webhooks
Android SDK
Tally / ERP
+ More
Simple Pricing

API Access Pricing

API access is included free with every SMS credit plan — no separate developer fee.

Credits Never Expire
Silver
10,000 SMS
1,699
+18% GST
Full API Access Included
  • Lifetime Validity
  • REST API + Webhooks
  • All Language SDKs
  • Free White Label Panel
Get API Key
Most Popular
Gold
50,000 SMS
7,499
+18% GST
Priority Rate Limit (500 RPS)
  • Lifetime Validity
  • Higher Rate Limits
  • Priority Support Queue
  • Free White Label Panel
Get API Key
Diamond
1,00,000 SMS
13,999
+18% GST
Dedicated IP Available
  • Lifetime Validity
  • Custom Rate Limits
  • Dedicated Account Manager
  • Free White Label Panel
Get API Key
Enterprise
Custom Volume
Custom
Volume-based pricing
SLA & Custom Endpoints
  • Lifetime Validity
  • Custom SLA Agreement
  • Dedicated Account Manager
  • Custom API Endpoints
Talk to Sales

Need higher rate limits or a custom endpoint?

For high-volume integrations or specific compliance needs, talk to our developer support team.

Common Questions

Bulk SMS API — FAQ

Everything you need to know before your first integration.

Sign up for a free PING4SMS account, verify your business details, and your API key is generated instantly in the dashboard under API Settings. No setup fee is required to get started.
The PING4SMS REST API works with any language that can make HTTP requests, including PHP, Python, Java, Node.js, C#, and Ruby. We provide ready-to-use code samples for all major languages.
Yes, TRAI requires DLT-approved templates for all transactional and promotional SMS sent in India. You pass your approved template ID as a parameter in the API call, and PING4SMS offers free assistance with DLT registration.
Standard plans support up to 200 requests per second (RPS). Gold and Diamond plans get higher limits, and Enterprise customers can request custom rate limits based on their integration needs.
Yes, register a webhook URL via the /v3/webhook endpoint and PING4SMS will POST delivery status updates to your server automatically as they happen.

Need Integration Help?

Our developer support team can help you go live faster.

Call 9003051520 WhatsApp Us

Related Services

Explore our other SMS and communication services.

Start in Under 5 Minutes

Ready to start
building with our API?

Join thousands of developers across India using the PING4SMS API to power their apps, websites, and platforms.

Lifetime Validity Zero Setup Fee Free SDK & Docs 24/7 Dev Support Free White Label
1

PING4SMS AI

Online — replies instantly
✨ PING4SMS AI
👋 Hi! Questions about API integration or rate limits?