Last active
January 4, 2021 22:39
-
-
Save cweems/675df81a2a023530ae2ae036b88ea525 to your computer and use it in GitHub Desktop.
Use the Twilio CLI to write all message logs to a .csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twilio api:core:messages:list --properties="sid,from,to,body,status,direction" \ | |
| while read -r row ; do | |
echo "$row" >> data.tsv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment