Shortcuts User Guide
- Welcome
-
- Intro to Shortcuts
- Discover shortcuts in the Gallery
-
- Run a shortcut from the app
- Run shortcuts with Siri
- Run suggested shortcuts
- Run shortcuts from the Home Screen widget
- Run shortcuts from the Search screen
- Add a shortcut to the Home Screen
- Run shortcuts when Sleep Focus is active
- Launch a shortcut from another app
- Run shortcuts from Apple Watch
- Run shortcuts by tapping the back of your iPhone
- Adjust privacy settings
Intro to web APIs in Shortcuts on iPhone or iPad
You can take your shortcuts to another level by taking advantage of the power of web APIs (application programming interfaces).
Although most Shortcuts actions fill potential gaps between apps, you may find a gap between one of your apps and the web service that powers that app. For example, you may want to retrieve and work with more raw data than an app discloses. Or you may want to automate saving or posting of information to a service (or perhaps a service doesn’t offer a mobile app but does offer an API). In such cases (and many more), you can use Shortcuts to perform an API request.
The following two sections, “Get started with web APIs” and “Work with JSON,” discuss obtaining and modifying a Typicode API to build a shortcut that creates contacts from an API request.