Integrate SMS Into Your Applications
Connect your CRM, ERP, website, or mobile app backend to our SMS gateway with our REST API. There is no SDK to install: it is plain HTTPS + JSON, with code samples for every major platform.
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
Get API Key
Create an account at whitelabled.securesmsc.com/register and create a key under API & Integrations → API Management. Add your server's IP address to the key before the first call. Verified businesses get 100 free SMS after registration and DLT mapping.
Make API Call
POST JSON with sender_id, recipient and message to /sms/send, with your key in the Authorization: Bearer header. The text must match an approved DLT template.
Go Live
There is no sandbox: every call sends a real SMS, so test with your own number and check the delivery status, then go live. For lists, the bulk endpoint takes up to 1,000 numbers per call.
Sample API Request
curl -X POST https://whitelabled.securesmsc.com/api/v2/sms/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"sender_id": "ACMEIN",
"recipient": "9876543210",
"message": "Your OTP for login is 482913. It is valid for 10 minutes. -Acme",
"route": "transactional"
}'
Response (HTTP 200):
{
"success": true,
"message": "SMS queued successfully",
"data": {
"message_id": 123,
"queue_id": 123,
"status": "queued",
"estimated_delivery": "2026-11-07T09:32:00.000000Z"
}
}
A wrong key returns HTTP 401 {"success":false,"error":"Unauthorized","message":"Invalid API key"}. Each key is locked to the first IP address that uses it, so add your server IPs under API & Integrations → API Management → IP Whitelisting first; GET calls (balance, status) stay off until you tick "Allow GET Method" for the key. All endpoints and error codes are in the API documentation.
📊 Delivery Webhooks
On the Business and Enterprise plans, the platform calls your URL when each message reaches its final status, such as delivered or failed. On every plan you can also check status with the API or in the web panel.
🔐 OTP SMS
Generate the code in your app, send it with /sms/send on the transactional route, and check it on your server. No separate OTP endpoint is needed. See the OTP SMS API guide.
📦 Bulk API
Send the same text to up to 1,000 numbers per call with /sms/send-bulk. You get a broadcast ID and a result for every number.
Start Integrating SMS Today
Read every endpoint, field and error code in the API documentation, or build a request in the API playground.
Read the API Documentation