provider oEmbed GET
/v1/oembed @utdk/figma
/v1/oembed Get oEmbed data
Returns oEmbed data for a Figma file or published Make site URL, following the [oEmbed specification](https://oembed.com/).
- url query required
- The URL of the Figma file or published Make site to retrieve oEmbed data for.
- string
- maxwidth query
- Maximum width of the embed in pixels. Defaults to 800. The response width will be adjusted to maintain a 16:9 aspect ratio with maxheight.
- integer
- maxheight query
- Maximum height of the embed in pixels. Defaults to 450. The response height will be adjusted to maintain a 16:9 aspect ratio with maxwidth.
- integer
Try it
Authentication
Configure credentials for Figma API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import figma from '@utdk/figma';
await figma.getoembed({
"maxwidth": 800,
"maxheight": 450
})