Send a one-time verification code by SMS to your user's phone at sign-up, at login or to confirm an action. One HTTP request from your website or app sends the message, and it shows your company name.

A one-time password (OTP), or verification code, is a short number sent to a user's phone and used once, to confirm that the phone number belongs to them. Websites and apps use it at sign-up, at login and to confirm important actions.

Verification codes go straight to Bahrain's three networks, with nothing in between.

Verify your site's users with a one-time code by SMS, and send verification codes and notifications from your app through the SMS API.

See the status of each message in your account.
At every step where you need to confirm that a phone number belongs to its owner.
Confirm a new user's phone number with a code sent by SMS.
Add a second verification step with a code sent to the user's phone at login.
Send a code that confirms the user before a password change.
Ask for a verification code before an important action or order goes through.
Confirm a new number with a code before saving it to the account.
Send notifications from your app through the same SMS API.
Put the code in the message text and send it with a simple HTTP request, from your favourite programming language.

# illustrative example curl -X POST "https://YOUR-API-URL/send" \ -d "apikey=YOUR_API_KEY" \ -d "sender=YourBrand" \ -d "to=9733XXXXXXX" \ -d "text=Your code is 482913"
// illustrative example $ch = curl_init("https://YOUR-API-URL/send"); curl_setopt($ch, CURLOPT_POSTFIELDS, [ "apikey" => "YOUR_API_KEY", "sender" => "YourBrand", "to" => "9733XXXXXXX", "text" => "Your code is 482913", ]); curl_exec($ch);
// illustrative example await fetch("https://YOUR-API-URL/send", { method: "POST", body: new URLSearchParams({ apikey: "YOUR_API_KEY", sender: "YourBrand", to: "9733XXXXXXX", text: "Your code is 482913", }), });
# illustrative example import requests requests.post("https://YOUR-API-URL/send", data={ "apikey": "YOUR_API_KEY", "sender": "YourBrand", "to": "9733XXXXXXX", "text": "Your code is 482913", })
Illustrative only. The exact API address, parameters and your key are in the control panel.

Start a free trial from the portal, or message us and we will set it up with you.
The API address, parameters and your key are in the control panel. Plug them into your site or app.
Send the verification code, then follow every message in the delivery reports.
Did not find your question? Message us on WhatsApp and we will answer.

Through a simple HTTP API. One request sends the message that carries the code, and it works from any language such as PHP, Node.js or Python.
Yes. You can use your company name as the sender for API messages, and the number of sender IDs is unlimited.
We are connected directly to Bahrain's three operators: stc, Batelco and Zain.
Your account shows a detailed delivery report for each message, which you can view and export.
Yes. Open a trial account from the portal and try sending for free. If you prefer, message us on WhatsApp and we will set the account up with you.
One HTTP request sends the message, from any language such as PHP, Node.js or Python.
SMS API for BahrainPricing depends on your sending volume, and we send a quote that fits your needs.
SMS pricing in BahrainAll BahrainSMS business services from one account: verification, notifications and campaigns.
BahrainSMS home page
Open a trial account, or talk to our team and we will set it up with you.