An example Turn.io data export Replit. This shows how to export data from the Turn Data Export API and apply scrubbing rules if desired.
This Replit assumes the following:
- You have gone through earlier examples (like perhaps the webhooks example) and are comfortable with how to get an authentication token for Turn and set it up as a secret in Repl.it
- Click the
Run on Repl.it
button above and install this example into your Repl.it workspace. - Get a Turn token and add it as a secret called
TOKEN
in Repl.it - Send and receive some messages on your Turn.io number
- Hit
Run
in your replit and see the messages from the last 24 hours listed in your Repl.it console with the scrubbing rules applied.