v1

latestOpenAPI 3.1.02026-07-1744202324.0 KB
Files

Get image fills

Returns download links for all images present in image fills in a document. Image fills are how Figma represents any user supplied images. When you drag an image into Figma, we create a rectangle with a single fill that represents the image, and the user is able to transform the rectangle (and properties on the fill) as they wish.

This endpoint returns a mapping from image references to the URLs at which the images may be download. Image URLs will expire after no more than 14 days. Image references are located in the output of the GET files endpoint under the imageRef attribute in a Paint.

get/v1/files/{file_key}/images

Path parameters

file_keystring required

File to get image URLs from. This can be a file key or branch key. Use GET /v1/files/:key with the branch_data query param to get the branch key.

Response

Response from the GET /v1/files/{file_key}/images endpoint.

errorfalse required

For successful requests, this value is always false.

status200 required

Status code