question

newuser-ff98f3fe-3d3d-4bd2-a709-c2140ebf3fc4 avatar image

Getting user's email id from the Calendar they have linked in their Alexa app

Hi everyone, We have a requirement where a custom skill needs to get the user's email id from the Calendar they have linked in their Alexa app. Is there a way to do so by using the lambda function to get the email id?. If not, then is there any alternative way to do so? Thanks in advance.

alexa skills kitlambdacalendar
1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I don't know from what calendar are you getting data, or what authorization provider are you using, but if the account linking was successful, in the request you should have access token with which you should be able to call authorization service and request user info. How to do it, depends on the authorization provider. So if you would clarify how do you authorize users and what login do you use, I might be able to help you.

0 Likes 0 ·

1 Answer

Jason@Amazon avatar image
Jason@Amazon answered

It isn't possibly to grab the information within third party accounts that users have linked, but you can use the Customer Profile API to retrieve the email address of the users Amazon account.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.