API and technical documentation

8 articles available

Overview of the EnvoiSMS.ma SMS API

Our REST API allows you to integrate the sending of SMS, OTP and WhatsApp messages directly into your site, application or software.

API keys and authentication

Go to Settings > API > API Keys to generate a new key.

Send a message via API (example request)

curl -X POST https://api.envoisms.ma/v1/messages \

Webhooks and delivery status callbacks (DLR)

Webhooks allow you to receive real-time status updates for your messages, without having to poll the API.

Rate Limits, Restrictions, and API Errors

By default, standard accounts are limited to a certain number of requests per second (displayed in Settings > API > Limits). Beyond that, the API returns a...

Bulk sending via API

To send to many recipients simultaneously, use the bulk endpoint rather than calling the unit endpoint in a loop.

Number validation and lookup API (EnvoiSMS Lookup)

Our number validation API (EnvoiSMS Lookup) allows you to clean your contact database and validate numbers before sending.

Integrate EnvoiSMS with your CRM and No-Code tools

EnvoiSMS.ma easily integrates with your business tools and no-code automation platforms without requiring complex developments.