Authorize an AVS Device
To access the Alexa Voice Service (AVS), your device must obtain a Login with Amazon (LWA) access token. The device includes this token with each request to AVS to authorize the Amazon account for the device user.
Select one of the following options to implement user authorization on your AVS-enabled device:
- Authorize an AVS Device Through a Companion App – An app on a mobile device obtains and transfers the user authorization code to the AVS-enabled device.
- Authorize an AVS Device Through a Web Service – A web service on your website obtains and transfers the user authorization code to the device. The device uses this authorization code to obtain access and refresh tokens from LWA, which make the calls to AVS.
- Authorize an AVS Device Through Code-Based Linking (CBL) – During product registration, send the user a short alphanumeric code and a URL. On a separate device with access to a browser, the user visits the URL, logs in with their Amazon credentials, and enters the code to link the product with their Amazon account.