Alexa Interface 3

The Alexa interface is the top-level interface for Alexa skills that defines the Alexa foundational messages that all skills use. These APIs include general Alexa directives, response events, discovery, state reporting, change reporting, and error reporting. For details, see Alexa Message Reference.

For the full list of Alexa capability interfaces, see List of Alexa Interfaces. For the definitions of the message properties, see Alexa Interface Message and Property Reference.

Support the Alexa interface in all skills

You must explicitly identify your support for the Alexa interface in the Discover.Response and AddOrUpdateReport event messages. For more details about the discovery interface, see the Alexa.Discovery interface.

The following example shows a discovery response for an endpoint that supports the Alexa.PowerController . You explicitly identify your support for the Alexa interface. For more discovery examples, see the documentation for each interface.

Copy code Copied to clipboard.

 "event":  "header":  "namespace": "Alexa.Discovery", "name": "Discover.Response", "payloadVersion": "3", "messageId": "Unique identifier, preferably a version 4 UUID" >, "payload":  "endpoints":[  "endpointId": "Unique ID of the endpoint", "manufacturerName": "Manufacturer of the endpoint", "description": "Description to be shown in the Alexa app", "friendlyName": "Device name, displayed in the Alexa app", "displayCategories": ["LIGHT"], "cookie": <>, "capabilities": [  "type": "AlexaInterface", "interface": "Alexa.PowerController", "version": "3", "properties":  "supported": [  "name": "powerState" > ], "proactivelyReported": true, "retrievable": true > >,  "type": "AlexaInterface", "interface": "Alexa", "version": "3" > ] > ] > > > 

Directives and responses

Along with the directives and events defined for each capability interface, the Alexa interface defines the following foundational directives and events:

Related topics