- Add TWILIO SID and AUTH TOKEN to demo.env
- Do you want to do
Line Type Intelligence
,Caller Name
, orValidation
Lookups?- Put in the appropriate value.
- Execute npm install
source demo.env
- Put source phone numbers into a csv file (e.g. input.csv). 1 column of numbers. (e.g. +12024561111)
- Execute the script with the input file
node bulkLookup.js input.csv
Found information: output-[type].csv
Error information (invalid numbers): error-[type].csv
The error output will include the error response for each particular number. You can find a list of all Twilio error codes, here;