Plivo will forward incoming messages to the
message_url configured for the
application associated with the phone number on which the message was received.
This is the unique identifier for the message.
This is the source number of the incoming message. This will be the phone number from which the message originated.
This is the Plivo number on which the message was received.
This is the content of the message. Note that Plivo automatically concatenates multi-part long messages before forwarding them to your message_url.
This will always be set to sms.
This is the number of parts in which the incoming message was received. This would > 1 for multi-part long messages.
This is the charge applicable per incoming SMS unit.
Total charge for receiving the SMS (TotalRate * No. of Units)
Set to optout if the incoming message matches with one of the standard Opt-Out keywords. Set to optin if the incoming message matches with one of the standard Opt-In keywords. Set to help if the incoming message matches with one of the standard Help keywords. Is left blank in all other cases.
The UUID of the Powerpack associated with the To phone number. If the phone number does not belong to a Powerpack, this field will be empty.
It is possible to reply to an incoming message by returning a Plivo Message XML element in the response to the incoming request.
Make sure to set the response
application/xml in this case.