SMS API — send from your own app
A simple HTTP API for OTPs, order updates and campaigns. Works with PHP, Laravel, WordPress, Node.js, Python and anything that can make a web request.
Placeholder documentation. Replace the endpoint, parameters and credentials below with those of your SMS gateway before publishing.
Quick start
1. Create an account and add balance. 2. Copy your API key from the dashboard. 3. Send a request like the example below.
Send an SMS (cURL)
curl -X POST "https://api.ictfair.com/sms/send" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d "to=8801XXXXXXXXX" \ -d "sender=YourBrand" \ -d "message=Your OTP is 482913"
PHP example
$ch = curl_init('https://api.ictfair.com/sms/send');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
CURLOPT_POSTFIELDS => ['to' => '8801XXXXXXXXX', 'sender' => 'YourBrand', 'message' => 'Hello from ICT Fair'],
]);
echo curl_exec($ch);Endpoints
| Action | Method | Path |
|---|---|---|
| Send SMS | POST | /sms/send |
| Bulk send | POST | /sms/bulk |
| Check balance | GET | /account/balance |
| Delivery report | GET | /sms/report/{id} |
What you can build
OTP login
Verify phone numbers in your sign-up flow.
Order notifications
Trigger SMS when an order is placed, shipped or delivered.
Campaign tools
Send to lists and track delivery from your CRM.