SMS Message Received Postback

From CDYNE Wiki
Jump to navigation Jump to search

SMS Received POST

If you assign a PostbackURL to your account DIDs, the PostBack will allow you to capture the data in the fields listed below. Please note that data is posted to the headers.

PostBackURL data is posted behind the scenes, and is not visible on your webpage. Code samples are provided below on how to grab this data to store in a database. CDYNE recommends that the data returned to be stored within your systems for reporting and reference information.



Always set to "1." SMSResponse=1 is posted when an incoming message arrives.


A unique identifier for the incoming message. This will come as a GUID.


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


This is the number that sent the incoming text message.


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


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


This is the incoming SMS Text Message body.

Example Packet

POST /cdynepostback.aspx HTTP/1.1
User-Agent: CDYNE SMSv2
Content-Type: application/x-www-form-urlencoded
Content-Length: 242
Expect: 100-continue
Connection: Keep-Alive