Skip to main content
Solved

Images API: Authentication


Chris_Miller

Is it possible to add a query parameter to load an image inline?

Pseudo-code, so bear with me:

<img src={`https://figma.com/api/v1/images/${KEY}?token=${FIGMA_TOKEN}` />

Or is it recommended to fetch img src asynchronously using the API?

Thanks!

Best answer by Gleb

It is not possible and I wouldn’t recommend sharing your personal token on the web publicly.

View original
This topic has been closed for replies.

2 replies

Gleb
  • Power Member
  • 4710 replies
  • Answer
  • March 18, 2021

It is not possible and I wouldn’t recommend sharing your personal token on the web publicly.


Carol_Ovens

No, you can’t add a query parameter to load an image online. It’s impossible.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings