Skip to main content
Awais_Iqbal
January 25, 2023
Question

Not getting frame images separately

Hi
I’ve written Rest API for images using
https://api.figma.com/v1/images/myfilekey
https://api.figma.com/v1/images/myfilekey?ids=123456
it has multiple frames but it is returning all frames in one image in response
{
“err”: null,
“images”: {
“node-id”: “image-path”
}
}
The image path that is returning , it is correct path but I can’t get all frames separately
But when I change the https://api.figma.com/v1/images/myfilekey to https://api.figma.com/v1/files/myfilekey then I get all frames separately.
How to resolve this issue?

This topic has been closed for replies.

12 replies

January 24, 2024

Do you know if there is a similar way to pass multiple ids to the comments API endpoint?

Gleb
Power Member
January 24, 2024

You can only get all comments from a file, not specific ones.

https://www.figma.com/developers/api#get-comments-endpoint