🔌 API Integration

Integrate SMS Into Your Applications

Connect your CRM, ERP, website, or mobile app with our SMS gateway using our powerful REST API. Get started in under 5 minutes with code samples for every major platform.

Try API Playground View Docs
🐘

PHP

Laravel, CodeIgniter, WordPress, Drupal

🐍

Python

Django, Flask, FastAPI, Celery

🟢

Node.js

Express, NestJS, Next.js, React

☕

JavaScript

Frontend & Backend integration

Quick Start — Send SMS in 3 Steps

1

Get API Key

Sign up for a free account and generate your API key from the dashboard. Instant activation with 500 free SMS credits upon successful registration and DLT mapping.

2

Make API Call

Send a simple HTTP POST request with your API key, recipient number, and message. JSON request/response format.

3

Go Live

Test with our sandbox, verify delivery, then switch to production. Scale from 10 to 10 million SMS without code changes.

Sample API Request

curl -X POST https://api.onlinesmsservice.com/v1/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "919876543210",
    "message": "Your OTP is 123456. Valid for 5 minutes.",
    "sender": "VERIFY",
    "type": "transactional"
  }'

// Response
{
  "status": "success",
  "message_id": "msg_abc123",
  "credits_used": 1,
  "balance": 499
}

📊 Delivery Webhooks

Real-time delivery status callbacks to your server. Track sent, delivered, failed, and read status for every message.

🔐 OTP API

Dedicated OTP endpoint with auto-generate, verify, and auto-expire. Built-in rate limiting and retry logic.

📦 Bulk API

Send up to 50,000 messages per API call. Async processing with batch status tracking and completion webhooks.

Start Integrating SMS Today

Free API key with 500 free SMS credits upon successful registration and DLT mapping with an approved telemarketer.

Get Free API Key