Linking with External APIs

While some Alexa skills are self-contained, many are actually just a front-end user interface to a larger backend application. This is similar to how many React or Angular applications are just front-ends that integrate with a backend application.

The Star Port 75 Travel skill may provide a lot of functionality on its own, but ultimately it is a user interface to what could be a much larger backend travel planning system. Therefore, we will need to connect our skill to the API of a backend system that handles the actual booking.

Account linking is a means by which an Alexa skill can connect to an API on behalf of a user, using OAuth 2[23] for security between the skill and the API. It involves registering the skill ...

Get Build Talking Apps for Alexa now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.