Delivered inside WhatsApp
The code arrives as a WhatsApp authentication message, so users do not have to find it in an SMS inbox.
Send one-time passwords to +966 numbers as WhatsApp authentication messages. Your backend makes one GET request per code and receives Sent, Delivered and Read status by webhook, so you can verify users without building a messaging stack.
Jump to: Saudi Arabia rate · Template · API request · FAQ · Create a free account
Last updated:
For sign-up, login and checkout, the code has to reach the user while they are still on your screen. WhatsApp OTP delivers it inside an app they already use.
The code arrives as a WhatsApp authentication message, so users do not have to find it in an SMS inbox.
EazyOTP generates the code, sends it with a pre-approved template and returns it to your server in the API response.
Keep SMS as a second channel for users who are not on WhatsApp, and decide in your own code when to switch.
This is the current per-OTP rate for a WhatsApp authentication message to a Saudi (+966) number.
The rate comes from our live OTP rate card. Monthly volume, SMS fallback and billing currency are quoted by our team, so send an enquiry or message sales on WhatsApp for a written quote.
Saudi Arabia
Dialling code +966
WhatsApp only delivers one-time passwords inside an authentication template that Meta has approved. EazyOTP sends every WhatsApp OTP with a pre-approved authentication template, so you do not write or submit one. The documented template reads:
“Your verification code is {{1}}. This code is valid for 5 minutes. Do not share this OTP with anyone.”
ar) as a supported language for WhatsApp templates; the documented EazyOTP template is in EnglishCall the whatsappeazyotp endpoint from your server with the full international number (country code 966, then the mobile number without the leading 0). The response returns the code that was sent and a track_id. Store a hash of the code, then compare it when the user types it in.
Set a webhook in PingToChat to receive Sent, Delivered and Read status for each message. Before going live you can test in the sandbox, which sends to one test number.
WhatsApp OTP API reference · Webhooks · Verify OTPs securely (PHP example)
Request (from your server)
curl --location 'https://app.pingtochat.com/api/v1.0/{YOUR_API_KEY}/whatsappeazyotp?number=9665XXXXXXXX' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {YOUR_TOKEN}'Success response (example)
{
"status": "success",
"message": "WhatsApp OTP Sent Successfully",
"track_id": "76B9FBQR3",
"recipients": [
{ "mobile_number": "9665XXXXXXXX", "status": "sent" }
],
"otp": "392605"
} Any flow where you must confirm that the person holds the phone number they entered.
Verify customers and couriers when they sign up, and confirm deliveries with a one-time code at hand-over.
Ask for a code before password resets, new device logins, payouts or changes to bank details.
Confirm a member’s phone number before points, vouchers or account changes are applied.
Verify the number used to book a clinic visit, service appointment or reservation before it is confirmed.
Saudi Arabia has its own registration rules for SMS sender names, so SMS fallback needs more planning than WhatsApp. EazyOTP does not switch channels automatically: your backend decides when to resend a code by SMS.
Before you rely on SMS fallback for +966 numbers, ask our team which sender name Saudi users will see on the Global SMS route and what SMS costs for your volume.
Call whatsappeazyotp. If the API returns an error such as “Invalid WhatsApp number”, go straight to SMS.
If no Delivered status arrives within the time you choose, send the same code by SMS.
Call globalsmseazyotp with the same number. See the fallback guide.
Sign up at app.pingtochat.com and activate the WhatsApp Eazy OTP service. EazyOTP runs on the PingToChat messaging platform.
Decide whether your Saudi users should get the code in English or Arabic, and confirm availability with our team.
Send sandbox OTPs to one test number from the dashboard and check that they arrive.
Call whatsappeazyotp from your backend, store a hash of the code with an expiry, and log the track_id from each response.
Share your expected volume and use case. Our team replies by email with pricing for Saudi numbers and answers on Arabic templates and SMS fallback.
Prefer chat? Message sales on WhatsApp.
Can’t find your answer? Contact our team or read the EazyOTP API documentation.
The current per-OTP rate for +966 numbers is shown on this page and on the EazyOTP rate card. Pricing for your monthly volume is quoted by our team.
Meta supports Arabic for WhatsApp templates. The documented EazyOTP template is in English, so ask our team before launch whether an Arabic authentication template is available for your account.
No. EazyOTP sends the code with a pre-approved authentication template, and you call the API with the user’s number.
Your backend can resend the code with the Global SMS endpoint. Saudi Arabia regulates SMS sender names, so confirm the sender name and SMS rates with our team before launch.
Saudi Arabia’s Personal Data Protection Law (PDPL), supervised by SDAIA, covers personal data such as phone numbers. Review your own obligations with your legal adviser; EazyOTP does not provide legal advice.
Use the sandbox to send OTPs to one test number, check the API response and webhook, then switch to live sending.
Create a free account to test in the sandbox, or ask our team for Saudi volume pricing.
Chat With Us