Get Started with Alexa Smart Properties APIs


Before you can use Alexa Smart Properties, you must create a local Amazon Business account, and then register it with Alexa Smart Properties.

Register with Alexa Smart Properties

Step 1: Create an Amazon Business account

  • To create an Amazon Business account, go to Amazon Business.

Step 2: Register with Alexa Smart Properties

  • If you're already working with a member of the Alexa Smart Properties Business Development team, inform them that you've completed the previous steps, and they'll complete your setup.
  • If you're not working with a member of the Business Development team, see Get Started with Alexa Smart Properties. A member of the Business Development team will contact you to:
    • Register your company's Amazon Business account email or customer ID and business ID
    • Finalize pricing
    • Finish setting up your subscription

Step 3a: Access the management console

You can use the Alexa Smart Properties management console to add organization and unit administrator users, and to manage your organization's properties, rooms, devices, skills, and contacts. See Use the Alexa Smart Properties Management Console

Step 3b: Access the Alexa Smart Properties REST APIs

To use the Alexa Smart Properties REST APIs, you must create a Login with Amazon (LWA) security profile by using the same Amazon Business account that you registered with Alexa Smart Properties. Finally, you must register your LWA security profile with Alexa Smart Properties and use the security profile to generate an API access token.

Create an LWA security profile

Create a security profile by following the steps in the LWA console, using the same Amazon Business account and email address that you registered with Alexa Smart Properties. For future reference, make sure to note the client ID for your application. After creating your security profile, add your website to the security profile.

Register your LWA security profile and obtain your Organization ID

Log into the Alexa Smart Properties Console and go to Administration. Click Grant API Access, enter your LWA Client ID, and then click Submit to register your LWA security profile and obtain your Alexa Smart Properties organization (amzn1.alexa.unit.did.{id}) identifier.

Integrate with LWA to get an API access token

To integrate LWA into your application to obtain an API access token, follow the instructions in Integrate LWA with your app. These instructions show you how to integrate LWA into your application and obtain an LWA API access token. For more details, see Authorization Code Grant.

To integrate with LWA to get an API access token for Alexa Smart Properties

  1. Choose Auth Code Grant as your auth grant type.
  2. Request the "alexa::enterprise:management", "credential_locker::wifi_management", and "profile:user_id" scopes.

After you can successfully log in with LWA by using your Amazon Business account, you can call Alexa Smart Properties APIs.

To refresh your access token, follow the instructions in Using Refresh Tokens.

Use the LWA access token

To call the APIs, you must include your API access token as part of the Authorization request header of each API call.

The following example is a CURL request that uses the access token to call the endpoint enumeration API. To use it, change $ACCESS_TOKEN to your real access token, and then change the URL to the correct one for the API you're calling.

   curl -i -v -X GET -H "Authorization: Bearer $ACCESS_TOKEN" https://api.amazonalexa.com/v2/endpoints

Now that you've registered with Alexa Smart Properties, you're ready to use its APIs.


Was this page helpful?

Last updated: Nov 28, 2023