SMS API
SMSDeliveryReceiptPostback
Esendex will send you a Delivery Receipt postback whenever the status of a message changes.
Type Properties
Property Name | Description | Data Type | Sample |
---|---|---|---|
DeliveryReceipt | Look for this value to identify a Delivery Receipt postback. If present, the value is always 1 . | Int | 1 |
MessageID | The initial MessageID from your outgoing MMS. | String | f880e00b-3a14-484c-80e7-ca6aa29a2f7a |
ReferenceID | The ReferenceID from your outgoing request, if you specified one. | String | |
FromPhoneNumber | The number that sent your outgoing message. | String | 55555 |
ToPhoneNumber | The number you sent the message to. | String | 7572373369 |
DeliveryReceiptMessage | The delivery receipt. The format will vary depending on the carrier. | String | id:1111111111 sub:001 dlvrd:001 submit date:2306132307 done date:2306132307 stat:enroute err:000 text:short message |
Code | The status code of the delivery receipt. | DeliveryReceiptCode | 003 |
BackupMessageID | This is the new MessageID of a backup DID message being sent when a short code message fails. This parameter is only present when a short code message is being sent via a DID as a backup. | String |
Let’s start sending, together.