I am unsing Twilio Rest Api for SMS functionality. My SMS is send sucessfully problem is when user response to SMS, I have to capture that response in my application and send confirmation email to user
I am unable to capture response from application URL.Please give me some idea.
Thanks in advance
The example app here in PHP shows how to build keyword response based upon the body of the incoming text message.
The important thing to note is to fetch the Body
request parameter of the message which is simply:
/* Read the contents of the `'Body'` field of the Request. */
$body = $_REQUEST['Body'];
Instead of 'fromBody'.