Receive Delivery Receipt via HTTP (DR)

Learn how to receive delivery receipts to your endpoint.

GET /yoursite.com.au/

When a DR (Delivery receipt) arrives at our SMS Gateway, it will send the following request to your application.

Example

http://www.yoursite.com.au/DeliveryReciept?ORIGINATOR=61412345678&RECIPIENT=1987654&PROVIDER=telstra&VALUE=<value>&MESSAGE_TEXT=Hello%20There&ID=939ec52e333fbf124a87845d3a5d72e1&REFERENCE=ABC123&RESULT=SUCCESS

Body

Parameter
Type
Example
Description

originator

integer

12345

The associated shortcode for your service.

recipient

integer

XX7432104492

The recipient you want to send this message to.

provider

string

Telstra

The network you plan to send the SMS message via.

value

integer

20

The cost of the message.

message_text

string

Hello%20There

Your URL encoded message.

id

string

939ec52e333fbf124a87845d3a5d72e1

Your unique message ID.

reference

string

ABC123

Your own message reference.

result

string

SUCCESS

Indicates the result of the message.

Output

{
 "ORIGINATOR": "61412345678",
 "RECIPIENT": "1987654",
 "PROVIDER": "telstra",
 "VALUE": "20",
 "MESSAGE_TEXT": "Hello%20There",
 "ID": "939ec52e333fbf124a87845d3a5d72e1",
 "REFERENCE": "ABC123",
 "RESULT": "SUCCESS"
}

If you would like to receive Delivery Receipts, you need to provide us with the Delivery Receipt destination (URL). Please contact your account manager.

Last updated