How to get page url by UUID

Hi,
When we receive a uuid (In the Angular frontend) for a mirror instead of a reference (because of reference depth), I want to be able to use that uuid to find out what the URL is to that page so that we can assign it to the href of the anchor.
Is there a possibility for that?

Thanks!

@jochem yes, it’s possible. You can get the document from that UUID and get the URL from it.