Get SVG of typography style with custom text

In Figma project I see some text with Text style. I see that it uses font-family, which I don’t have on my PC, so I can’t copy this text as TEXT or edit it as TEXT. But I see an SVG and I can copy this SVG.

I want to create web-page with previews of my text styles. Is that possible using, for example, Figma REST API request an SVG with concrete text style and text, for example, ‘The quick brown fox jumps over the lazy dog’?

Having this ability I’ll be able to show preview of text style even if I don’t have this font-family