SMS API

SimpleSMSsendWithPostback

This method sends an SMS message to one recipient. The API will automatically post information to the specified URL when text messages are sent or received. This method is deprecated: use SendMessage instead.

Endpoint

GET:
https://messaging.esendex.us/messaging.svc/SimpleSMSsendWithPostback?PhoneNumber={PHONENUMBER}&Message={MESSAGE}&LicenseKey={LICENSEKEY}&StatusPostBackURL={STATUSPOSTBACKURL}

Syntax

SimpleSMSsendWithPostback(PhoneNumber, Message, LicenseKey, StatusPostBackURL)

Request Parameters

Parameter NameDescriptionData TypeRequiredSample Value
PhoneNumberRecipient number.StringTrue7575550000
LicenseKeyYour license key.GUIDTrue00000000-0000-0000-0000-000000000000
MessageText content for the message.StringTrueThis is a sample message.
StatusPostBackURLURL to send postbacks to.StringTruehttp://example.com/postback.aspx

Response

Returns: SMSResponse object

Let’s start sending, together.