Set up postbacks to receive notification whenever text messages are sent, received, or updated. The SMS API will automatically post information to a URL that you specify.
We recommend that you store the postback data in a database, so that you can refer to them later.
Set Up a Postback URL
To use postbacks you will need to set up and host your own URL or URLs to handle them. Use the following API methods.
- Specify a postback URL with the SetPostbackUrlForLicenseKey or SetPostbackUrlForPhoneNumber method.
- Enable/disable postbacks with the SetPostbackEnabledForLicenseKey or SetPostbackEnabledForPhoneNumber method.
- Specify a postback URL when sending a message with SendMessage.
Types of Postbacks
Esendex sends three types of postbacks.
- Outgoing postbacks: SMS Sent and MMS Sent
- Incoming postbacks: SMS Response and MMS Response
- Delivery postbacks: SMS Delivery Receipt and MMS Delivery Receipt