SMS API
SMSResponsePostback
Esendex will send you an SMS Response postback whenever we receive an incoming SMS message.
Type Properties
Property Name | Description | Data Type | Sample |
---|---|---|---|
SMSResponse | Look for this value to identify an SMS Response postback. If present, the value is always 1 . | 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 | b1aa2a38-d0f8-407f-b76d-635ea818b62d |
ReferenceID | This is populated if the response matches a previous message and you set the ReferenceID field in your outgoing SMS. | String | 123 |
FromPhoneNumber | The number that sent the response text message. | String | 7575550000 |
ToPhoneNumber | The number belonging to you that received the text message. | String | 7575449511 |
ResponseReceiveDate | The UTC date when the message came in. | String | 5%2f8%2f2023+2%3a42%3a36+AM |
Message | The response text message body. | String | Hello. |
Let’s start sending, together.