Call: 01244 573240   Support: 0845 0093182
Follow Us:
Sign Up Free
Full Access - Free Credits
Takes 60 Seconds

Our price promise

We will match or beat any similar price offer.

Find out more

Our Latest Reviews

View all

View our Tutorials

See our latest Messenger video tutorials for help and advice on how to get started

Watch Now

Success stories

Testimonials from clients in your sector

View Testimonials

SMS API Delivery Receipts

Get message delivery confirmation via API

You can configure your Textlocal account to have delivery receipt notifications sent to a URL as POST parameters. Simply select Settings->Delivery Receipts within Messenger and enter your script URL.

Overview

Once you've configured your Textlocal settings to forward to your URL, the following variables will be sent as POST variables:

number The recipient's mobile phone number
status The delivery status of the message. This will either be:
  • 'D' for delivered
  • 'U' for undelivered
  • 'I' for when the phone number is invalid.
  • '?' for messages which we haven't received a delivery receipt after 4 days
customID If applicable, the custom ID associated with the message.

Code Examples

As all we are doing is sending you variables, it's quite difficult to show code examples, however the following might help - including, in some languages, examples of writing the variables to a database and/or file:

								<?php
								$number = $_REQUEST['number'];
								$status = $_REQUEST['status'];
								$customID = $_REQUEST['customID'];
								?>
							

Create Your Free Account - 60 Second Signup - Free Expert Support

"Easy to use and very effective form of communicating with our customers." - Nur Haji

Read more reviews >

Our website uses cookies, mmm.... These are small files that make our website work better. If you're unhappy with this you will need to change your cookie settings.
Click here to view our privacy policy Or Click the x button to close.