rest - Plivo: get SMS message content with pull api -
based on plivo docs messages (e.g. https://www.plivo.com/docs/api/message/#get-details-of-all-messages ) appears response rest api retrieving sms messages not include actual content of message.
i want functionality testing purposes, curious why case -- if own number , plivo storing metadata texts, why can't contents of messages post-facto plivo's servers? privacy feature? or there way around short of piping own server , pulling myself?
the api retrieving message details has meta-data of messages. matter of internal policy, content of sms or calls (unless explicitly recorded) not stored.
if it's inbound message, text sent "message_url" , can stored there. if it's outbound message, can see contents of sent messages in debug logs found in plivo dashboard (https://manage.plivo.com/logs/debug/?type=all). 1 other way of storing content of outbound message, store details in db before sending message , update status of message later on. status of message sent "url" parameter (delivery report) of outbound message api.
for reference :
message api - https://www.plivo.com/docs/api/message/#send-a-message
handling delivery reports - https://www.plivo.com/docs/getting-started/sms-delivery-reports/
Comments
Post a Comment