Sidebar Menu

SMSResponsePostback

SMS Response postbacks are sent when Esendex receives an incoming message.

Type Properties

Property Name Description Data Type Sample
SMSResponse

This is posted with a value of 1 when we receive an incoming message.

Int 1
MessageID

A unique identifier for this response.

String 9a35e913-ded0-7574-4642-5f60c550c706
MatchedMessageID

A unique identifier that is populated when the response matches a previous message. An empty identifier (00000000-0000-0000-0000-00000000000) indicates that no previous message was matched.

String 11111111-2222-1111-2222-000000000004
ReferenceID

This is populated if the response matches a previous message and you set the ReferenceID field in your outgoing SMS.

String 123
FromPhoneNumber

This is the number that sent the response text message.

String 7575550000
ToPhoneNumber

This will be your assigned DID that the response text message was sent to.

String 7575449511
ResponseReceiveDate

UTC date when the message came in. Usually within a few seconds of the current time.

String 5%2f8%2f2023+2%3a42%3a36+AM
Message

The response SMS text message body.

String Hello.