Skip to content

Delivery Report Sms

We allow you request for delivery report of text message you sent using the following interface:

$sms->deliveryReport(['messageId' => '45785173']);

Expected Response:

Report on a single text message.

[
  "results" => [
    [
      "messageId" => "35668631241437213825",
      "sentAt" => "2022-07-01 17:38:34",
      "doneAt" => "2022-07-01 17:38:34",
      "to" => "255765975152",
      "smsCount" => 1,
      "status" => [
        "groupId" => 3,
        "groupName" => "DELIVERED",
        "id" => 5,
        "name" => "DELIVERED_TO_HANDSET",
        "description" => "Message delivered to handset",
      ],
      "error" => [
        "groupId" => 0,
        "groupName" => "OK",
        "id" => 0,
        "name" => "NO_ERROR",
        "description" => "No Error",
        "permanent" => false,
      ],
    ],
  ],
]

Released under the MIT License.