emailing-and-texting-script icon indicating copy to clipboard operation
emailing-and-texting-script copied to clipboard

Add webhook to track delivery status of twilio messages

Open oyekanmiayo opened this issue 4 years ago • 0 comments

The goal here is to be able to provide realtime statistics based on this status. The big picture is transparency. This will be relevant for the people who donate to ensure messages can be sent to government officials every day until they #EndSARS

Here are the steps I think you'd need to follow:

  • Create an endpoint in this project (don't worry, it works because of multi-threading)
  • Add the endpoint as a callback in the Twilio integration
  • Save the statistics in a JSON file. We don't need a DB for this (yet)
  • Modify the home endpoint to display these statistics in an understandable way

oyekanmiayo avatar Oct 11 '20 07:10 oyekanmiayo