Can I get images using imageRef?

I read the following under the documentation

imageRef String
A reference to an image embedded in this node. To download the image using this reference, use the GET file images endpoint to retrieve the mapping from image references to image URLs

But when I try to use a imageRef to download an image, it just tell me that imageRef is not a ID.
Was imageRef deprecated to be downloaded through the API?

Thanks in advance!

You are probably using GET images endpoint which accepts node IDs to export as stated in the docs. It doesn’t give you original images, it exports the nodes as images. Instead you need to use the GET image fills endpoint which accepts the file key and gives you links to all images in the file. Then you need to find the image with the imageRef that you need in that list.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.