To receive delivery receipts to your platform, simply provide us with a URL you wish to receive them to. We will POST the following parameters to you:

Parameters Type Information
JSON String A string JSON array. For more details, please see the information below.

Here is an example of the JSON parameter:

[
	1,
	"447123456789",
	"640ab2bae07bedc4c163f679a746f7ab7fb5d1fa",
	"Delivered"
]

You can use the json_decode() function in PHP to convert this string into a PHP variable.

The delivery receipt format is currently JSON. You will receive an JSON array in which the first element is either integer 0 (fail) or integer 1 (success). The second element is a string MSISDN and the third element is the string submission reference you received when the message was sent. The fourth element is a string reason.

You may receive one or more delivery receipts for each MSISDN and submission reference combination but generally speaking, you will have received all of these delivery receipts within 72 hours of the message being sent.

Reasons

Buffered The message is currently in a retry process.
Not Delivered The message could not be delivered.
Delivered The message has been delivered successfully.
Stopped This message was stopped before it was dispatched for delivery. This will only be returned on route 9 where a HLR lookup confirms that a number is inactive and no longer in use. You will not be charged for the message - only the HLR lookup.

Sample code

<?php
    
if (isset($_POST['JSON']))
    {
        
$JSON $_POST['JSON'];

        if (
get_magic_quotes_gpc())
        {
            
$JSON stripslashes($JSON);
        }

        
$JSON json_decode($JSON);

        if ( ! empty(
$JSON) && is_array($JSON) && count($JSON) == 4)
        {
            list(
$result$to$submission_reference$reason) = $JSON;
        }
    }
?>

You now have the following PHP variables available: $result, $to, $submission_reference and $reason.

Speak to a real person

(01323) 800 160

One direct number for all enquiries - sales and support.

Monday - Friday, 10am to 6pm.

Clear SMS pricing

SMS text messages from just 2.99p. Lower prices available for an agreeable monthly quota.

Pricing

Get started by visiting the store.

POA for 100,000+ SMS text messages.

Screenshot 2 Screenshot 3