Transactional SMS
OTPs and alerts, sent the moment your app needs them
A single authenticated API call sends a message. Retries are safe, every status is reported, and failed messages are refunded per policy.
curl -X POST https://sms.marketian.net/api/v1/sms/send \
-H "Authorization: Bearer $MZSMS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-10234-otp" \
-d '{
"to": "+8801XXXXXXXXX",
"message": "Your verification code is 123456",
"sender_id": "YOURBRAND",
"type": "transactional"
}'What counts as transactional
Transactional messages are triggered by something the recipient did or needs to know about their account. They are not advertising. Keep them that way: mixing offers into transactional traffic can get it filtered.
OTP
Your verification code is 482913. It expires in 5 minutes.
Login verification
A sign-in was requested from a new device. Code: 118204.
Order confirmation
Order #10234 confirmed. Total BDT 2,450.
Payment notification
Payment of BDT 1,200 received. Thank you.
Delivery update
Your parcel is out for delivery today.
Account alert
Your password was changed. If this wasn't you, contact us.
Password reset
Use code 773019 to reset your password.
Appointment reminder
Reminder: appointment tomorrow at 11:00.
How a message travels
Step 1: Your application
Your backend decides a message is needed.
Step 2: MZ SMS API
Authenticated request, validated and priced.
Step 3: SMS platform
Queued, charged, dispatched with retries.
Step 4: Carrier / provider
Upstream provider routes to the operator.
Step 5: Customer
Delivered to the handset; report flows back.
The route from the platform to the mobile operator depends on the upstream SMS provider this platform is connected to. Delivery speed and delivery reports depend on that provider and on the operators; we report what they report, as it arrives.
Designed for reliability under real conditions
Idempotent requests
Send an Idempotency-Key; a network retry returns the first response instead of sending again.
Delivery webhooks
Get delivered and failed events pushed to your endpoint, signed and retried.
Clear rate limits
Limits are returned in response headers so your client can back off gracefully.
Least-privilege keys
Give each service its own key with only the scopes it needs.
Questions about transactional SMS
How fast are OTPs delivered?
The platform queues and dispatches API messages immediately. End-to-end speed depends on the upstream provider and the recipient's operator, so we do not publish a guaranteed delivery time. Delivery timestamps are visible per message.
Do opt-outs apply to transactional messages?
Opt-out filtering applies to promotional messages. Transactional messages such as OTPs are sent because the recipient requested or needs them. Do not use transactional traffic for marketing.
Can I use a branded sender ID for OTPs?
Yes, once the sender ID is approved. Until then you can send from the shared non-masking number.
Integrate in an afternoon
Create an account, generate a scoped key and send your first test message.