question

Gayathri Viswanathan avatar image
Gayathri Viswanathan asked

Account identity in ASK

Hi, Is there a way to find the name of the amazon account in lambda (or any other unique identifier for Alexa user) to store the responses persistently ? Thanks Gayathri
alexa skills kitdebugging
10 |5000

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

1 Answer

jjaquinta avatar image
jjaquinta answered
You are passed in the account ID as session.user.userId. This is a safe value to persist data against.
10 |5000

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