Skip to main content
Question

Any update figma to URL structure?

  • May 14, 2024
  • 6 replies
  • 1034 views

Eli_Berger

Hello everyone!

I use the API endpoint “www.api.figma.com/v1/images” to pull images from Figma frames, the way I know what file and what node to pull, is by copying a link to the frame in Figma and then parsing the info, yesterday the link would look like this “www.figma.com/file/…”, today it looks like this “Free Design Tool for Websites, Product Design & More | Figma…”.
Was there any change in the URL structure, or is there any other reason why this might happen?

This topic has been closed for replies.

6 replies

Eli_Berger
  • Author
  • May 14, 2024

Sorry the link today is the same as yesterday but instead of /files it says /design


tank666
  • May 14, 2024

Yes, Figma has made changes to the file URLs. Now they look like this:

figma.com/design/{file_key}/{file_name} # Figma Design files
figma.com/board/{file_key}/{file_name} # FigJam files
figma.com/{file_type}/{file_key}/{file_name} # other types in the future

You can find out more here:
https://www.figma.com/developers/embed


Eli_Berger
  • Author
  • May 14, 2024

Thanks @tank666
Did they announce these changes anywhere?


tank666
  • May 14, 2024

This was announced in an email newsletter for developers and on the Discord channel.


Eli_Berger
  • Author
  • May 14, 2024

Thanks @tank666


Al14
  • September 17, 2024

Well, it’s broken all of my angular - storybook - Figma links. Opening code today and spinning up storybook, I can see the Figma designs for links formatted as /file/xxxxxx, but if I try to generate new elements and copy the links, they have the new format /design/ and they don’t seem to work. I just get a big “www.figma.com refused to connect.” in the panel. Not sure how to proceed? …