How to get Device ID/User email address in Alexa/Google


#1

Hi is there a way to get user email address or device id or something like that in jovo for both alexa/google. Actually I have my users stored in my database and want to identify them using their email address or even their specific echo/home device in order to use their other information.
For example once I have identified them, by making api calls I can greet them their name and use other information registered with me.


#2

For UserID:

For email, you must request permission from the user:
https://developer.amazon.com/docs/custom-skills/request-customer-contact-information-for-use-in-your-skill.html

After you’ve done this, incoming requests that start a session will have an access key, where you can call Amazon’s API to get customer profile details. The entire flow is detailed pretty well in the link above


#3

Thank you for this. Going through the document now.


#4

This is for Amazon, can anything like this be done for google without account linking


#5

Account Linking is the recommended way for things like this


#6

Yes I am going for it. Thanks