Skip to main content
Solved

How to get Figma user email?

  • February 1, 2022
  • 4 replies
  • 2673 views

Saifylis

I’m creating a Figma plugin in which I want to recommend the email by which the user is currently logged in with on Figma for further usage of the plugin.

I’ve tried using figma.currentUser but what it gives back is an object with the user’s id, name, color, photoUrl and sessionId. How can I get the email by which the user is logged in with?

Best answer by tank666

As you may have noticed, this is the REST API documentation. To get a user’s email via the REST API, the user must create and share their Personal access token with you.

View original
This topic has been closed for comments

4 replies

tank666
  • 4863 replies
  • February 1, 2022

This cannot currently be achieved with the Plugin API.


Saifylis
  • Author
  • 11 replies
  • February 1, 2022

Is there any other possible way?
Source: (Figma)

This source says something about a “User” object that has the email. I couldn’t fully understand this tough, any explanation would be much appreciated! 🙂


tank666
  • 4863 replies
  • Answer
  • February 1, 2022

As you may have noticed, this is the REST API documentation. To get a user’s email via the REST API, the user must create and share their Personal access token with you.


Can I integrate Figma and Postcards email builder?


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