ZendSMS integration guide
Hooks + REST APIConnect WordPress to ZendSMS.
Send OTP, form confirmations, account alerts and service updates from a WordPress website through a secure server-side connection.
We received your request. Our team will contact you shortly.
✓ DeliveredCommon workflows
What you can send from WordPress.
Use WordPress hooks or a small server-side connector to turn website events into trackable SMS.
Form confirmations
Acknowledge enquiries, bookings and applications as soon as they are submitted.
Account OTP
Verify sign-up, login or sensitive account actions with a one-time code.
Member alerts
Send renewal, status and service notices to registered users.
Admin notifications
Alert your team when a high-priority website event needs attention.
Verified API pattern
From one business event to one trackable SMS.
This request uses the fields in the current ZendSMS Send SMS reference. Keep the API key in a secret store, attach a unique client_ref and save the message_id from the accepted response.
- 01
Define the workflow
Choose the event, recipient and message that should be sent.
- 02
Connect securely
Keep the API key on the server and make the request over HTTPS.
- 03
Map the template
Map the approved sender ID, recipient, message and client reference.
- 04
Test and launch
Check the result, segment count and delivery state before production.
{
"recipient": "8801700000000",
"sender_id": "YOURBRAND",
"message": "We received your request. Our team will contact you shortly.",
"client_ref": "wp-form-2048"
}Included in the workflow
Build a production-ready flow, not just a send button.
Event-driven SMS
Send only when a selected business event occurs.
Every core SMS type
Use OTP, Masking or Non-Masking SMS for the approved use case.
References you can track
Keep your own client reference and the returned message ID.
Bangla and Unicode
Send Bangla, English or Unicode content for the customer journey.
WordPress FAQ
Answers to review before production.
A concise guide to security, SMS types, delivery reconciliation and testing.
Should the WordPress integration call the API from a browser?
No. A secret API key must never be placed in browser code or public JavaScript. Send requests from a trusted server, backend function or protected connector.
Which SMS types can WordPress send?
You can use OTP, Masking and Non-Masking SMS for an approved use case. Sender ID and template activation remain subject to KYC, documents and applicable operator or regulatory approval.
How do I reconcile delivery results?
Attach a unique client_ref to each request and store the message_id returned in the accepted response. Reconcile delivery status using the current API documentation.
What should be tested before launch?
Test event mapping, recipient format, Bangla/Unicode segments, duplicate prevention, error handling and delivery results. Complete consent and compliance review before production.
Ready to connect?
