Any way to get phone call history in shortcuts?

Is anybody aware of a way in Shortcuts (or some ancillary app like Toolbox Pro, Scriptable, etc.) to get the list of recent phone calls on an iPhone?

My use case: I’d like to automatically add a section to my daily note in Obsidian that has the calls I made or received (ideally with time and duration). The Phone app does a good job of consolidating the calls wether received on the iPhone or via Teams. But I don’t see any way to access this programatically.

I’m betting it’s not possible, but would love to find out I’m wrong.

1 Like

A long time ago, I used “iMazing” to download my iPhone log, and I wrote an AppleScript and Perl script (yeah, I know!) to parse it into a list that I appended to my daily notes in Evernote. I even did that with messages, and that was amazing.

Alas, I don’t know how to do that with any of the current tools. So add me as a very interested party to find out if it’s possible!

Thanks @cpac for posing the question. I hope it has a solution!