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. Include your key in the HTTP header of each request:

Send a message via API (example request)

curl -X POST https://api.envoisms.ma/v1/messages \ "to": "+212661234567", "from": "ENVOISMS",

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

Each API key is limited to a number of requests per minute, according to your plan: Starter 60, Business 180, Pro 500, Enterprise 1,200 requests/minute. Be...

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 connects to your business tools and no-code automation platforms through the REST API and webhooks (HTTP requests). There is no native EnvoiSMS...