eSMSAfrique
Tarifs Connexion Démarrer
Morocco flag Verification

OTP SMS in Maroc

Verify phone numbers and secure logins in Morocco with OTPs that arrive in seconds. eSMS Africa delivers one-time passwords to Maroc Telecom, Orange & Inwi on priority routes, with a managed Verify API that handles generation, delivery, retries and checks.

Direct routes to 3 networks Delivery reports MAD 0.4358 per SMS
Networks in Morocco
Maroc TelecomOrangeInwi
Country code
+212
État
Production
Pourquoi eSMS Africa

OTP SMS in Morocco, done properly

Sub-second OTP delivery

One-time passwords to Morocco route on priority paths to Maroc Telecom, Orange, Inwi so users get their code in seconds, not minutes - the difference between a signup completed and abandoned.

Managed Verify API

Let eSMS Verify generate the code, send it, handle resends and check it for you - or send OTPs yourself over the SMS API. Both work across Morocco.

2FA & fraud controls

Add SMS two-factor authentication to logins and payments in Morocco, with rate limits and anti-fraud checks to block artificially inflated traffic.

Branded OTP sender IDs

Send OTPs from a recognizable sender ID in Morocco so users trust the code and phishing is harder.

Step by step

How to send an OTP in Morocco

  1. 1
    Enable Verify. Create an account and enable the eSMS Verify API.
  2. 2
    Start a verification. Call the start endpoint with the user's Morocco number (+212...).
  3. 3
    Deliver the code. eSMS Africa generates the one-time code and delivers it to Maroc Telecom, Orange & Inwi in seconds.
  4. 4
    Check the code. Ask the user for the code and call the check endpoint to verify it.
Integrate in minutes

Send your first SMS to Morocco

curl -X POST https://api.esmsafrica.io/v1/sms/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "212612345678",
    "from": "MyBrand",
    "message": "Your verification code is 123456"
  }'

Full REST reference, SMPP details and SDKs for Node, Python, PHP and Go in the API documentation.

Local pricing

OTP SMS pricing in Morocco

Données de base
MAD 0.5079
per SMS
Entreprises
MAD 0.4718
per SMS
Entreprise
MAD 0.4358
per SMS

Prices reflect live rates for Morocco. See the full pricing page or contact sales for volume rates.

FAQ

OTP SMS in Morocco: common questions

How fast do OTPs arrive in Morocco?

OTP SMS to Morocco route on priority paths to Maroc Telecom, Orange & Inwi, so codes typically arrive within seconds.

Do you offer a managed OTP service?

Yes - the eSMS Verify API generates the code, sends it, handles retries and verifies it. You call two endpoints: start and check.

Can I use this for 2FA?

Yes. Use SMS OTP as a second factor for logins, payments and sensitive actions for your users in Morocco.

Can I send OTPs from a branded sender ID?

Yes - register a sender ID for Morocco so your one-time passwords come from a name users recognize.

Is there a test mode?

Yes. Test OTP flows for Morocco free with test mode and test keys before you charge real credit.

Commencez

OTP SMS in Morocco, done right.

Direct routes to Maroc Telecom, Orange & Inwi, delivery reports and local support. Create a free account and start today.