alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
682 stars 336 forks source link

How to get user's email and connect to device cloud server #97

Closed abhitheawesomecoder closed 10 months ago

abhitheawesomecoder commented 5 years ago

To find users specific device during discovery I need users email, so, how can I find that.

I can't find any examples of connection between lambda and device cloud server and communication between them.

thangta commented 5 years ago

Hi, are you resolve it?

aszk commented 10 months ago

There is no way to retrieve user's email address with Smart Home Skill Type. Usually retrieving email address is not necessary for SH skills. Your cloud and Alexa has to be linked with account linking. However it is possible if your skill is Multi-capability Skill. You can use https://developer.amazon.com/en-US/docs/alexa/custom-skills/request-customer-contact-information-for-use-in-your-skill.html to retrieve user's email address.