Add APL Support to Your Skill

To add Alexa Presentation Language (APL) to your skill, you configure your skill with the APL interface, then add code to return APL directives.

Configure your skill with the APL interface

Your skill must support the Alexa.Presentation.APL interface to use the APL directives and requests. After you enable the interface, you can determine whether a request sent to your skill came from a device that supports APL.

For details, see Configure Your Skill with the APL Interface.

The APL interface is required for devices with screens and devices with character displays. The APL interface isn't required for APL for audio.

Add APL support to your skill code

APL provides interfaces with directives and requests. You use the APL directives to send the APL content to the device. Your skill gets APL requests in response to events. APL includes interfaces with directives and requests:

To learn more about how to work with these interfaces in your code, see Add APL Support to Your Skill Code.

Test your skill as you build

Use the simulator in the developer console to test your Alexa Presentation Language (APL) skills with different screen sizes. For details, see Test APL Skills in the Developer Console Simulator.