Dashboard Overview
Dialog SMS
0
Hutch SMS
0
User Accounts
0
Total Balance (LKR)
0.00
Live SMS Catch Log
Configurations
Quick Seeds
Dialog user: nimal / Admin#67!
Hutch user: abc@example.com / abc@123
| Time | Provider | User | Mask | Recipient | Message | Cost (LKR) | Tx ID | Status |
|---|
Create User Account
Top Up Balance
Associate SMS Mask
Registered Accounts
Dialog eSMS API Spec
http://localhost:3000 | Actual Host: https://e-sms.dialog.lk
1. OAuth Authentication
Simulated: POST http://localhost:3000/api/v2/user/login
Actual: POST https://e-sms.dialog.lk/api/v2/user/login
curl -X POST http://localhost:3000/api/v2/user/login \
-H "Content-Type: application/json" \
-d '{
"username": "nimal",
"password": "Admin#67!"
}'
2. Send Bulk/Single SMS
Simulated: POST http://localhost:3000/api/v2/sms
Actual: POST https://e-sms.dialog.lk/api/v2/sms
curl -X POST http://localhost:3000/api/v2/sms \
-H "Authorization: Bearer <accessToken>" \
-H "Content-Type: application/json" \
-d '{
"msisdn": [
{ "mobile": "714551682" }
],
"sourceAddress": "TEST_MASK",
"message": "Hello from Dialog eSMS Clone!",
"transaction_id": 1001,
"push_notification_url": "http://httpbin.org/get"
}'
3. Check Transaction Status
Simulated: POST http://localhost:3000/api/v2/sms/check-transaction
Actual: POST https://e-sms.dialog.lk/api/v2/sms/check-transaction
curl -X POST http://localhost:3000/api/v2/sms/check-transaction \
-H "Authorization: Bearer <accessToken>" \
-H "Content-Type: application/json" \
-d '{
"transaction_id": 1001
}'
4. HTTP GET Send SMS
Simulated: GET http://localhost:3000/api/v1/message-via-url/create/url-campaign
Actual: GET https://e-sms.dialog.lk/api/v1/message-via-url/create/url-campaign
curl "http://localhost:3000/api/v1/message-via-url/create/url-campaign?esmsqk=dialog_nimal_esmsqk_key_123&list=714551682&source_address=TEST_MASK&message=Hello+from+GET+Url&push_notification_url=http://httpbin.org/get"
Hutch Bulk SMS API Spec
http://localhost:3000 | Actual Host: https://bsms.hutch.lk
1. OAuth Authentication
Simulated: POST http://localhost:3000/api/login
Actual: POST https://bsms.hutch.lk/api/login
curl -X POST http://localhost:3000/api/login \
-H "Content-Type: application/json" \
-d '{
"username": "abc@example.com",
"password": "abc@123"
}'
2. Access Token Renew
Simulated: GET http://localhost:3000/api/token/accessToken
Actual: GET https://bsms.hutch.lk/api/token/accessToken
curl -X GET http://localhost:3000/api/token/accessToken \
-H "Authorization: Bearer <refreshToken>"
3. Send SMS Campaign
Simulated: POST http://localhost:3000/api/sendsms
Actual: POST https://bsms.hutch.lk/api/sendsms
curl -X POST http://localhost:3000/api/sendsms \
-H "Authorization: Bearer <accessToken>" \
-H "Content-Type: application/json" \
-d '{
"campaignName": "Test Hutch Campaign",
"mask": "Test",
"numbers": "94780000000",
"content": "Hello from Hutch Clone!"
}'
Add Administrator
Active Admin Accounts
| Email Address | Created At | Action |
|---|