Developer guide

The practical guide to SMS & WhatsApp APIs in Morocco.

Use this guide to understand local routing, API integration, OTP design, delivery reporting and cost control for Moroccan numbers.

morocco sms apisms gateway moroccomorocco a2p sms

Local routing and operators

Moroccan messaging requires +212 normalization, awareness of local operator context, and operational support aligned to local teams.

REST integration path

Start with one message endpoint, add OTP verification, register signed webhooks and monitor delivery rates before scaling campaigns.

Cost control without false channels

Current production sends SMS by default. WhatsApp should stay disabled for customers until WhatsApp provider credentials are configured and the instance is authorized.