Developer API
First SMS
in 5 lines.
JSON-based REST API, no libraries needed. Webhook callback, retry queue, rate limiting — all built-in.
1
Generate API Key
One click from Dashboard → Settings → API Keys.
2
POST /api/v2/send
recipient, sender ID, message body — start with just three fields.
3
Status via Webhook
Delivery reports auto-POST to your URL — delivered, failed, expired.
একটি SMS পাঠান
cURL, Node.js ও PHP তে একই endpoint কল করার উদাহরণ।
curl -X POST "https://api.example.com/v1/messages" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+8801XXXXXXXXX",
"body": "Test message from API",
"route": "transactional"
}'Rate Limit
অতিরিক্ত চাপ এড়াতে সার্ভার সীমা।
· Default: 60 requests/sec
· Platinum: 300 requests/sec
· Enterprise: কাস্টম limit
Error Codes
সাধারণ HTTP status কোড।
· 401 — invalid API key
· 429 — rate limit exceeded
· 400 — validation error
· 503 — operator unreachable