If your phone is compatible with AT&T Messages Backup & Sync; and the message logs were synced before being deleted, you would be able to visit AT&T Messages Login page and use the Access ID for your phone line to see the records.
More information about this feature can be found by visiting this handy resource, AT&T Messages.
Another method for retrieving deleted messages would if they had been included in a backup method pertinent for your device. If the backup was done after the message has been deleted, it would not be included in that record.
Fiona, AT&T Community Specialist
Need help? Ask a question to get help from the AT&T Community or support from AT&T specialists. If this reply helped you please use Accept solution to mark it as an Accepted Solution.
*I am an AT&T employee and the postings on this site are my own and don't necessarily represent AT&T's position, strategies or opinions.