You can easily view, filter, and retrieve logs relating to your Verify Service using Twilio Console. This approach requires no code and allows you to inspect and troubleshoot specific Verifications, including unblocking phone numbers manually.
To view your logs, go to Twilio Console and navigate to Monitor > Logs > Verify which will open the Verify logs page on the Verifications tab.
On the Verifications tab, you can search for Verifications by their Verification ID, send to phone number, prefix, or email ID and filter logs by specific criteria, including:
Select a Verification ID to open its Verification details page and view more comprehensive information such as different actions and outcomes that happened during the Verification's lifecycle and any related error codes, if applicable.
On the Blocked Verifications tab, you can view all Verifications that have been blocked due to Verify Fraud Guard or Geo permissions prefix blocking. It has all of the same functionality as the Verifications tab with the addition of being able to manually unblock the phone number.
Unblocking a phone number will automatically add it to the Safe List so it will not be blocked in the future. We strongly recommend only unblocking user phone numbers that are verified and known to you as trustworthy.
Verify offers the option for bulking exporting of Verify logs via the Console, which lets you export up to a maximum of 9,000 logs. The Export CSV option is available for exporting the logs from both Verifications and Blocked Verifications tab as well.
To export the logs, simply click on the Export CSV button on the top right of the Verify Logs page. The logs would be exported for the duration of the date/time range specified. You would be notified once the download is in process and completed by the pop-up on the Verify Logs page.