question

Hit avatar image
Hit asked

Access to Alexa Device Id

Hey! I need to access to my alexa device id, but I don't know how. I read a lot of forums but I didn't get the answer. Thanks!

alexa skills kitnode_jsnodejsask sdk
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

Rokas avatar image
Rokas answered

It depends on what programming language your are using. If you are using node js with alexa sdk v2, then there is a helper method: getDeviceId, which you can use.

Also you can access it straight from request object: context.System.device.deviceId

10 |5000

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