Skip to main content
Asad_Khan
November 9, 2021
Question

Getting the original image file name from the API

  • November 9, 2021
  • 2 replies
  • 4108 views

Figma doesn’t keep the original file names for image fills in the UI. However, there used to be a workaround for by getting the file name in Inspect > CSS code in background property.

As recently, Figma stopped showing original image filenames even in the generated CSS code, I was looking into API to see if the original image names are preserved anywhere. I couldn’t find the original filename on any of the endpoint JSON.

Perhaps I’m missing something or is this info isn’t anywhere in the API?

This topic has been closed for replies.

2 replies

Scout_Digital
April 26, 2022

Super helpful. Thank you.

Josh.C
June 19, 2024

Looks like you can still grab the original file in Dev mode - no idea how this translates into the API though: