Import a shortcut using a URL scheme
You can import .shortcut
files into the Shortcuts app and add them to your collection. This is useful, for example, if you want to share a shortcut online and provide a link for others to quickly add it to their library.
Import a shortcut from a URL
Open a URL with the following structure:
shortcuts://import-shortcut?url=[url]&name=[name]
Use the following parameters in the URL:
url: A URL pointing to the
.shortcut
file you want to import.name (optional): A title for the new shortcut. If you don’t provide a name, the shortcut filename is used.
silent (optional): By default, the imported shortcut is opened and displayed to the user. Set this parameter to
true
to import without opening the shortcut.
Note: Before a shortcut imported from another app is run for the first time, you’ll be asked for permission to run it.