Skip to main content
Question

How do we access sharedPlugin Data from the rest API

  • December 9, 2022
  • 2 replies
  • 659 views

Ty13
  • New Member
  • 1 reply

I’ve got a plugin that lets the user mark nodes with certain attributes, and the plan was to use those attributes while processing the file with the rest API.

Unfortunately it seems that sharedPluginData is not included by default when grabbing the file.

Is there anyway to access that data?

2 replies

tank666
  • 4863 replies
  • December 9, 2022

Are you using “GET file” endpoint?

https://api.figma.com/v1/files/:file_key?plugin_data=shared

Ty13
  • Author
  • New Member
  • 1 reply
  • December 9, 2022

Ah, that was it.
Thanks!


Reply


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