SMS API Error Messages
Restricted send time

Restricted send time

This occurs when you attempt sending messages to Safaricom recipients using a PROMOTIONAL sender ID past the allowed time. Safaricom has put in place a send time restriction on promotional messages. They can only be sent between 8AM and 6PM every day.

Status restricted_send_time

{
  "success": false,
  "message": "no valid recipients",
  "recipients": [
    {
      "id": "",
      "cost": 0,
      "number": "+254712345678",
      "status": "restricted_send_time"
    }
  ]
}