Figma
Export Figma Images
Render frames or layers from a Figma file as PNG, JPG, SVG or PDF and return their links.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| fileKeystring · required | string | required | Paste a Figma file link or the file key from the URL. Example: |
| nodeIdsstring · required | string | required | Node IDs to render, comma-separated, or links to the layers. Example: |
| formatstring · optional | string | optional | What to render the nodes as. One of: Default: |
| scalenumber · optional | number | optional | Scale factor, 0.01 to 4. Default 1. Ignored for SVG and PDF. |
| useAbsoluteBoundsboolean · optional | boolean | optional | Export the node at its full size even when cropped — needed to export a text layer without clipping it. |
| contentsOnlyboolean · optional | boolean | optional | On (default) renders only what is inside the node. Off also draws content from outside that overlaps it, which is slower. Default: |
| versionstring · optional | string | optional | A version ID from List Figma File Versions. Leave blank for the current version. |
Response schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Open in Figma"
},
"format": {
"type": "string"
},
"images": {
"type": "array",
"description": "One per rendered node: nodeId, url (expires after 30 days), figmaUrl"
},
"fileKey": {
"type": "string"
},
"failedNodeIds": {
"type": "array",
"description": "Nodes Figma could not render"
},
"totalRendered": {
"type": "number"
}
}
}