When submitting an SMS via the API, the status `HTTP 200 OK` absolutely does not mean that the client received the message. It simply means that the EnvoiSMS platform has accepted your request.
To find out what's happening "on the ground" (was the SMS blocked by IAM? Is the number out of service? Is the phone turned off?), you need to listen to the network. This is the critical role of the Delivery Report (DLR).
Rather than polling the platform in a loop to ask for status (Polling) – a cumbersome and inefficient practice – the modern method consists of using a Webhook. Our server "pushes" the result to yours as soon as the Moroccan operator responds to us. Here's how to architect this.


