sms – backup messages for the web?

The screen of my phone was turned off, and neither was I rooted or enabled USB debugging, so I can not back up my SMS messages in the traditional way.

However, I have messages for the web (messages.android.com) configured and I can see all my messages there. Is there a way to support this? If not, is there an API that I can use to scrape all my messages?