EnvoiSMS
SMS API & CampaignsTransactional alerts and bulk SMS campaignsWhatsApp BusinessOfficial notifications and WABA AI botOTP Verification2FA security codes and SMS authenticationVirtual NumbersDedicated lines for WhatsApp Business
Pricing
API DocumentationIntegration guides with cURL, Node, PHPOpenAPI ConsoleInteractive API reference and endpoint testerWhatsApp Link & QRFree wa.me link and QR code generatorSegment CalculatorCharacter counter and Unicode detectorMorocco Validator (+212)Format checking and carrier detectionSender ID & OMPIC GuideBrand name registration procedureNetwork StatusReal-time gateway uptime and statusBlogPractical guides and telecom news
Contact
Log inFree trial
Pricing→
Contact→
Language
Log inFree trial
INTEGRATION GUIDE & ARCHITECTURE

Bring WhatsApp into your business with Meta's official WhatsApp Business API

EnvoiSMS.ma, a Meta Tech Provider, connects your business to Meta's WhatsApp Business Cloud API (WABA): guided connection of your account, Meta-approved templates, freeform replies within the 24-hour window, through the same REST API as your SMS.

Guided connection of your WhatsApp Business account
Meta's official API
Approved templates + freeform replies within 24h
Nouveau : Numéro Virtuel WhatsApp Marocain (+212)
Obtenez une ligne officielle 100% Cloud sur eSIM 07 sans smartphone à gérer et avec un risque de bannissement bien plus faible.
Découvrir l'offre →
Start with WhatsApp →Read API Documentation →
OFFICIAL META INFRASTRUCTURE

WhatsApp Business API (WABA)

Meta's WhatsApp Business Cloud API

Meta's official route for sending and receiving WhatsApp messages from your applications: approved templates, replies within the 24-hour window, and the option to request the Official Business Account (blue checkmark) badge.

Délai d’activation :Depends on Meta Business Verification
Smartphone physique :Number dedicated to the API (Mobile app disabled)
Validation Templates :Pre-approved templates mandatory
Fenêtre de session :Strict 24-hour customer care session window

Points forts WABA :

  • Same REST API and signed webhooks as your SMS
  • Eligible to request the Official Business Account badge (blue checkmark, granted by Meta)
  • Far lower risk of line suspension or blocking than unofficial apps
  • Consents and STOP requests recorded, in line with Law 09-08

Mandatory WABA constraints to note:

  • •Pre-approval required by Meta for every outbound message template.
  • •Cannot use the standard mobile WhatsApp app simultaneously on this number.
  • •Freeform outbound messaging locked after 24 hours of client inactivity.
  • •Meta pricing per message, by category (Marketing, Utility, Authentication, Service).
USE CASES

What businesses use it for

Four common uses of the official WhatsApp API, and the message type each one relies on.

Utility template

E-commerce Store & COD Confirmation in Morocco

You confirm COD orders, verify delivery addresses, and share the courier's number.

An approved utility template goes out with every order; once the customer replies, the 24-hour window lets you chat freely.

Authentication template

Verification Codes (OTP)

You verify your users' phone numbers at signup or login.

The Verify API sends the code as a WhatsApp authentication template and falls back to SMS if Meta refuses the WhatsApp send.

Inbound messages

Customer Support & Sales Team

Customers write to you on WhatsApp and your team replies.

Inbound messages land in the EnvoiSMS inbox and on your webhooks; you reply freely for 24 hours.

Marketing template

Marketing Campaigns

You send promotions to customers who agreed to receive them.

Meta-approved marketing templates sent to consenting contacts; STOP requests are recorded automatically.

REST API INTEGRATION

API Request Example

Sending an approved WhatsApp template through the same REST API as your SMS.

WABA Payload (Official Template)
POST /v1/messages
// WhatsApp Business API (WABA officiel)
// Envoi avec template pré-approuvé par Meta
const response = await fetch("https://api.envoisms.ma/v1/messages", {
  method: "POST",
  headers: {
    "Authorization": "Bearer smr_YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    channel: "whatsapp",
    to: "+212612345678",
    template: {
      name: "order_confirmation_v2",
      language: "fr",
      components: [
        {
          type: "body",
          parameters: [
            { type: "text", text: "Amine" },
            { type: "text", text: "#94820" },
            { type: "text", text: "Casablanca" }
          ]
        }
      ]
    }
  })
});
const data = await response.json();
FAQ

Frequently Asked Questions

Yes, provided it is registered on Meta's WhatsApp Business API. A number used in the WhatsApp app generally has to be removed from the app before registration; we guide you through the connection. You can also use a dedicated number, such as our Moroccan virtual number (+212).

Ready to automate your WhatsApp communications?

Create your account in 2 minutes. Enjoy 5 MAD free credit to test the API.

Create free account →Open Dashboard
EnvoiSMS.mav2

Moroccan SMS & WhatsApp Business CPaaS platform directly connected to local carriers (IAM, Orange, Inwi). Built for high-deliverability, real-time priority, and sovereign CNDP & ANRT compliance.

CONTACT SALES
[email protected]
CONTACT SUPPORT
[email protected]
PHONE
+212 708 789 095

PRODUCT

FeaturesPricing & PlansInternational RatesSMS API & WebhooksIntegrations & PluginsLive Network StatusMorocco SMS API (IAM · Orange · inwi)

SOLUTIONS

OTP & 2FA SMSTransactional SMSPromotional SMSBulk SMS GatewayWhatsApp Marketing MoroccoWhatsApp Cloud API IntegrationWhatsApp Business (AI Bot)COD Anti-RefusalClick-to-WhatsApp AdsAI Support & Shared InboxHybrid WhatsApp & SMS OTPE-Commerce Order AutomationE-commerce Use Cases

RESOURCES & TOOLS

REST API ReferenceWhatsApp Link GeneratorMorocco Phone LookupSMS Segment CalculatorOMPIC Trademark GuideMorocco SMS Pricing ComparisonMorocco SMS benchmarkWhatsApp Morocco BenchmarkBlog & InsightsHelp Center & Docs

COMPANY

About UsPress Kit & MediaContact SupportFAQ & SupportLegal NoticePrivacy PolicyCNDP Compliance
EnvoiSMS MarocB035, Main Street · Casablanca, Maroc 🇲🇦
© 2026 EnvoiSMS.ma · All rights reserved.

WhatsApp and Meta are registered trademarks of Meta Platforms, Inc. EnvoiSMS.ma is an authorized technology provider using official Meta Cloud APIs.